RE: ONCE AGAIN !!!! PK.class & CMP beans in ORION

2001-02-27 Thread Jeff Schnitzer
It's difficult to tell without seeing your deployment descriptor, but it sounds like you're trying to use the PK class as a . You should not be doing this. You should instead have s for each of the fields in the PK. The only mention of the PK class in the ejb-jar.xml should be the element. I'

RE: How do I map a .doc extension to a .jsp execution

2001-02-27 Thread Jeff Schnitzer
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 directory).

RE: jsp form-based authentication

2001-02-27 Thread Jeff Schnitzer
You should look in the Orion javadocs for DataSourceUserManager. Here's an example of what to put in the orion-application.xml: Note that you will also need to define your groups in principals.xml (either the deployment version or the global version). Good luck, Jeff

RE: Orion FORM based authentication Configuraton problem

2001-02-26 Thread Jeff Schnitzer
se, >it is Orion's >>developers who call the shots. >> >>--peter >> >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED]]On Behalf Of >Jeff Schnitzer >>Sent: Monday, February 26, 2001 8:06 AM >>To: Ori

RE: Orion FORM based authentication Configuraton problem

2001-02-26 Thread Jeff Schnitzer
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

RE: HELP!!! - Using UserManagers - Logging in users without asking for credentials

2001-02-25 Thread Jeff Schnitzer
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 Message-

RE: CMP 2.0

2001-02-24 Thread Jeff Schnitzer
>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

RE: deployment

2001-02-23 Thread Jeff Schnitzer
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

RE: CLASSPATH setup

2001-02-23 Thread Jeff Schnitzer
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 Message---

RE: CMP 2.0 OR mapping problem

2001-02-22 Thread Jeff Schnitzer
Bidirectional relationships do not yet work. There are two workarounds that have worked for me: Manually add (and remove!) both sides of the relationship. So your Marketplace.addStorefront() method would look like this: void addStorefront(Storefront front) { this.getStorefronts().add(f

RE: EJB Clustering -- ANYONE? [Urgent!]

2001-02-22 Thread Jeff Schnitzer
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 FAQ-O

RE: Any way to "forward" to j_security_check?

2001-02-22 Thread Jeff Schnitzer
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_che

RE: Application clients

2001-02-22 Thread Jeff Schnitzer
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 applicat

RE: EJB 2.0 CMP features of Orion

2001-02-22 Thread Jeff Schnitzer
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 s in the . pd2 and pdf say you shouldn't. This may have b

RE: No influence on CMP 2.0 getter setter methods - a feature or abug?

2001-02-21 Thread Jeff Schnitzer
I frequently hear this mantra repeated, and while it is largely a good idea, I have difficulty seeing why it should be adhered to dogmatically. There is value in being able to define side-effects of setters and getters or minimal bean-specific business logic. As a trivial example I offer my Memb

RE: Best practices: How to initialize state in EntityBean's superclass

2001-02-19 Thread Jeff Schnitzer
Why not just put the superclass initialization in ejbCreate() and require all the subclasses to call super.ejbCreate()? Jeff >-Original Message- >From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]] >Sent: Monday, February 19, 2001 4:18 PM >To: Orion-Interest >Subject: Best practices: H

RE: ms access & Orion?

2001-02-17 Thread Jeff Schnitzer
>From: Joseph B. Ottinger [mailto:[EMAIL PROTECTED]] > >Why do you say "pity?" (I'm assuming you don't mean "piety" here.) Why >should it be open source? Do you think you can apply patches >faster than >the Orion team? (I don't think I could, nor do I think you For me, the value of source is no

RE: How to deploy?

2001-02-16 Thread Jeff Schnitzer
I'm not sure the same lessons apply; while still a small company by BEA standards, Unify has a lot of mouths to feed. Other than 1999, it looks like all of their years have been unprofitable, and 2000 was dramatically so. They've been financing this with equity issues, but at the current valuati

RE: Orion doesn't work.

2001-02-16 Thread Jeff Schnitzer
Kaffe is the Open Source implementation of Java that is shipped with most flavors of Linux. It looks like the Kaffe version of the java command is higher up in the path than the Sun JDK java command, thus you are running the wrong JVM. I suggest "rpm --erase kaffe". That should solve your probl

RE: How does this effect Orion?

2001-02-14 Thread Jeff Schnitzer
That's an interesting question. The investor story is not good - they recently terminated their CEO/President and CFO, restated a year of earnings (which put them in the red), and reduced their heacount from 132 to 106. Their stock, which was trading ~$20 this time last year, is now at $0.31. N

RE: RE: Any news from Orion yet??

2001-02-14 Thread Jeff Schnitzer
>Dude, do you really think a Swedish company with a handful of employees >is going to be able to field a worldwide army of training >professionals? It just occurred to me that this sounds rather bad... I was trying to imply that it would be unlikely for such training professionals to be sent al

RE: RE: Any news from Orion yet??

2001-02-14 Thread Jeff Schnitzer
Dude, do you really think a Swedish company with a handful of employees is going to be able to field a worldwide army of training professionals? My guess is that the entire world population of Orion experts is reading this right now; depending on where you are, a nicely phrased request and an offe

RE: Orion-console in 1.4.7 supports DataSource properly... now what!!!

2001-02-10 Thread Jeff Schnitzer
: OpenEJB is the brainchild of Richard Monson-Haefel, author of Enterprise JavaBeans, 2nd Edition (O'Reilly 2000). The core development team for OpenEJB is Mr. Monson-Haefel and David Blevins. -Original Message- From: Jeff Schnitzer [ mailto:[EMAIL PROT

New example ant buildfiles

2001-02-07 Thread Jeff Schnitzer
lso attached a much more complicted buildfile ("similarity"), which shows one ejb-jar, a main web-war, a test web-war, two application clients, and a lot of rmi compiling (some using IIOP, which requires a nightly build version of ant). Enjoy :-) Jeff Schnitzer [EMAIL PROTECTED] ServerTest.zip

RE: Orion-console in 1.4.7 supports DataSource properly... now what!!!

2001-02-07 Thread Jeff Schnitzer
JVM (through packaging or http) so that the client can make "native" database calls into the database? This would require making the database publicly accessable and potentially adds complexity to the client packaging, but it would be the best-performing solution. Does the applicati

RE: Orion-console in 1.4.7 supports DataSource properly... now what!!!

2001-02-06 Thread Jeff Schnitzer
Are you sure that the JDBC driver isn't finding its way into the classpath? Did you try the console remotely from a machine that you know doesn't have the JDBC driver? You may already know this, but just in case: Almost all of the orion tools (including orionconsole.jar) are simply empty jar fi

RE: Re[2]: R: R: frustrated - jdbc: No suitable driver

2001-02-05 Thread Jeff Schnitzer
I'm fully prepared to believe that my understanding of how this works is wrong, but if so it raises quite a few questions for me. Connection, Statement, ResultSet, etc are just interfaces; something must implement them. Normally they are implemented by the JDBC driver, thus allowing the client t

RE: When using autonumber for the primarykey...

2001-02-01 Thread Jeff Schnitzer
>From looking at the source, counter.jar only writes to the database for every ten keys generated. With pessimistic concurrency, loads do not occur for each use. Here's the relevant code from CounterEJB.java: public String ejbCreate(String name) throws CreateException {

RE: Session EJB Accessibility

2001-01-31 Thread Jeff Schnitzer
t;Orion-Interest" <[EMAIL PROTECTED]> >Sent: Wednesday, January 31, 2001 7:52 AM >Subject: Re: Session EJB Accessibility > > >> I believe Orion uses pessimistic concurrency control. >However, I don't >> think optimistic concurrency control would allow dirty re

RE: Session EJB Accessibility

2001-01-30 Thread Jeff Schnitzer
>From: Mark Bernardinis [mailto:[EMAIL PROTECTED]] > >> It seems like what you want is either a SLSB which never >times out and >> is guaranteed to only have one instance in the pool, or a BMP entity >> bean with a guarantee of serialized transactions. >> > >This is exactly what I want to do. Th

RE: Session EJB Accessibility

2001-01-30 Thread Jeff Schnitzer
>From: Gary Shea [mailto:[EMAIL PROTECTED]] > >I could use a little help here. My limited understanding of entity >beans suggests that if I create an EB using a particular >key value, as long as I refer only to that same key value there >would only be one instance of the EB. Is that not true bec

RE: R: R: frustrated - jdbc: No suitable driver

2001-01-30 Thread Jeff Schnitzer
he list - if you would like to continue >the discussion, please reply to my personal address. > >Thanks for your thoughts. > >I appreciate your point of view, I just disagree with it. > >Jeff Schnitzer wrote: >> >> If the client is going to use the JDBC driver, it must b

RE: Session EJB Accessibility

2001-01-30 Thread Jeff Schnitzer
I'm confused by your comments; does it need to manage state, or doesn't it? I'm assuming it does, otherwise you would just use a stateless session bean. Here's some fodder for conversation: I don't think there is an EJB facility which will help you. SLSBs are pooled and can timeout, SFSBs have

RE: R: R: frustrated - jdbc: No suitable driver

2001-01-30 Thread Jeff Schnitzer
If the client is going to use the JDBC driver, it must be able to load the class(es). This means you need to package the driver with the client application. I'm puzzled by your comments about clients not needing to care about drivers - are these classes just going to materialize out of thin air?

1.4.5 auto-deployment troubles

2001-01-26 Thread Jeff Schnitzer
Has anyone else noticed that 1.4.5 seems to neglect changes made to the ejb-jar? It unpacks the ear and deploys changed war files just fine, and if I change the ejb-jar.xml, it will unpack the ejb jar. But if I change only the ejb class files, Orion just upacks the ear and sits. Even restarting

RE: interbase database schema

2001-01-26 Thread Jeff Schnitzer
I've found that it's pretty hard to beat Hypersonic for development. The only caveat is that you need to run it in "server mode" in order to get concurrent access to the database; otherwise the database files are locked by Orion and you can't see what's going on. As far as Interbase goes, there i

RE: E_Roman e-commerce application(Mastering Java Beans)Wiley

2001-01-23 Thread Jeff Schnitzer
ncing something like this, I'm sure the added comments would be helpful :-) Jeff Schnitzer [EMAIL PROTECTED] >-Original Message- >From: Daniel Cardin [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, January 23, 2001 4:44 AM >To: Orion-Interest >Subject: RE: E_Roman e-commer

RE: O/R mapping

2001-01-23 Thread Jeff Schnitzer
Me too. Not only are the joins expensive, but it's a lot of extra data, too. My database is already key-heavy without the extra tables. Jeff -Original Message- From: Dumitru Sbenghe [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 8:04 AM To: Orion-Interest Subject: RE: O/R

RE: O/R Mapping

2001-01-23 Thread Jeff Schnitzer
The extra table is definately unnecessary, and hopefully it will go away in a future version of Orion. Take a look at bug #209 in Bugzilla. Jeff Schnitzer [EMAIL PROTECTED] >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, January 23, 2001

Compiling, packaging, and directory structure

2001-01-22 Thread Jeff Schnitzer
l with with a dependency graph this incestuous before. My build process has always looked like the way you would set up a C++ project, mostly out of habit. I'd like to know if I'm pointed in the right direction before I wreck my CVS tree :-) Thanks, Jeff Schnitzer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

RE: Writing user managers

2001-01-19 Thread Jeff Schnitzer
Is it really necessary to have your own user manager? I model my users as entity EJBs. I use the vanilla DataSourceUserManager mapped to the same table that the entities are written to. All manipulation of user data is done through the entity beans. The only trick is that you need to set:

RE: Getting back to the previous jsp

2001-01-19 Thread Jeff Schnitzer
I believe some browsers don't issue a referrer header. You could always store the page history in the http session. At the top of every JSP (using an @include or custom tag) you could have code like this: <% String lastPage = session.getAttribute("lastPage"); String currURL;

RE: Best way to redirect root "/" URL to servlet with parameters

2001-01-19 Thread Jeff Schnitzer
You could put in the default.jsp. Jeff >-Original Message- >From: Johnson, Robert [mailto:[EMAIL PROTECTED]] >Sent: Thursday, January 18, 2001 8:52 PM >To: Orion-Interest >Subject: Best way to redirect root "/" URL to servlet with parameters > > >Is there an easy way with orion to redir

RE: JSP/Bean not reloading after re-deploy

2001-01-18 Thread Jeff Schnitzer
Just a thought, but have you checked the system clocks on the various machines involved? Maybe the timestamps are fouled. "reloading" of JSPs works fine for me; my deployment process just copies the new .ear over the old one. Jeff >-Original Message- >From: Ozzie Gurkan [mailto:[EMAIL

RE: Is combining Orion and PostgreSQL a good choice

2001-01-17 Thread Jeff Schnitzer
at crap this is (yes I'm a little bitter). My modifications are labeled with my name (Jeff Schnitzer). This modification may or may not be necessary for you; it's obvious from reading the mailing list (and the code) that nobody working on the JDBC driver has any clue what PostgreSQL is

RE: Servlet Mapping and Access

2001-01-17 Thread Jeff Schnitzer
Have you successfully installed the sample junitee test in the JUnitEE tutorial? You shouldn't need to modify the global application.xml. Here's how my system is set up, given that my ear contains two wars, "similarity-web" and "similarity-test-web" (which contains my TestServlet and JUnit tests

RE: Complex O/R and EJB 2.0 CMP

2001-01-08 Thread Jeff Schnitzer
>From: Darren Pamatat [mailto:[EMAIL PROTECTED]] > >I like the layout of the complex-or example more so >than the orion-cmp primer, because it is not required >to jar it up, and classes can just be recompiled, and >run (if only I could run something against it). Also, >what is the difference in th

RE: Question about automated testing with Orion

2001-01-05 Thread Jeff Schnitzer
Out of curiosity, why do you have so much logic in servlets that you need to test them? Is your page transition logic that complicated? I have found that by keeping all my business logic in session beans (which are tested with JUnitEE, http://www.infohazard.org/junitee), my servlets/JSPs stay pr

PosgreSQL (was RE: EJB Error Message in Orion Log File)

2001-01-04 Thread Jeff Schnitzer
o look like they weren't captured from VHS tape. There is also an AWT replacement called Pure Java AWT from www.eteks.com, but I'm scared of it. That their website is in French only amplifies my terror. Has anyone succesfully used it with JDK1.3? Gr. I feel better now. At least,

RE: Offtopic:Ant Build scripts

2000-12-28 Thread Jeff Schnitzer
I've attached a buildfile (not the orion-primer buildfile). I wanted the source to mirror the jar file structure (I think this is less confusing) and I didn't like the proliferation of dependencies in the orion-primer example. This is the result. Jeff Schnitzer [EMAIL

RE: CMP-findBy method

2000-12-21 Thread Jeff Schnitzer
ing nevertheless. Has anyone else experienced anything like this? Since the problem shows up intermittently, hunting it down is a real pain. I don't know if it's a bug with partial-false, CMR fields as keys, compound keys, or only when all three are put together :-) Jeff Schnitzer [EMAIL PROTE

RE: setting radio buttons in JSP with database values

2000-12-15 Thread Jeff Schnitzer
I'm not sure I'm reading your message correctly. Do you want to know how to initialize a radio button value? You use the "checked" attribute in the tag: /> Jeff Schnitzer [EMAIL PROTECTED] >-Original Message- >From: Kemp Randy-W1

RE: When CMP fails...

2000-12-15 Thread Jeff Schnitzer
re the scene: somebody mistakenly deploys a mangled deployment descriptor, and the app server promptly sees fit to drop half the tables in the production database. Hey, it worked in the test system! :-) Jeff Schnitzer [EMAIL PROTECTED]

RE: www.orionserver.com down again

2000-12-13 Thread Jeff Schnitzer
An interesting graph can be found here: http://uptime.netcraft.com/graph?display=uptime&site=www.orionserver.com (sorry about the previous chopped message) Jeff Schnitzer [EMAIL PROTECTED] >-Original Message- >From: Scott Stirling [mailto:[EMAIL PROTECTED]] >Sent: Wednes

RE: www.orionserver.com down again

2000-12-13 Thread Jeff Schnitzer
An interesting graph can be found here: >-Original Message- >From: Scott Stirling [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, December 13, 2000 9:02 PM >To: Orion-Interest >Subject: RE: www.orionserver.com down again > > >That's because it was put back up in the interim. I've noticed t

RE: Orion JSP form validation and redisplay...

2000-12-12 Thread Jeff Schnitzer
e bean instance. Jeff Schnitzer [EMAIL PROTECTED] >-Original Message- >From: Keith Kwiatek [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, December 12, 2000 4:15 PM >To: Orion-Interest >Subject: Orion JSP form validation and redisplay... > > >Hello, > >Does orion have

RE: SV: Off topic: development tools

2000-12-12 Thread Jeff Schnitzer
tc to the test case - although why that would be useful is somewhat of a mystery to me, since IMHO important logic should all be in EJBs :-) Jeff Schnitzer [EMAIL PROTECTED] >-Original Message- >From: Jason Rimmer [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, December 12, 2000 12:13

RE: EJB2.0 Generated class uncompilable

2000-12-11 Thread Jeff Schnitzer
o((Foo)ejbContext.getEJBObject()); } catch (java.rmi.RemoteException ex) { throw new EJBException(ex); } } Of course you get data duplication in the database, but it works :-) Jeff Schnitzer [EMAIL PROTECTED] >-Original Message- >From: Tim D

Re: Anyone heard from evermind?

2000-12-11 Thread Jeff Schnitzer
Does this mean that all the java packages will be renamed from com.evermind.* to com.ironflare.* ? :-) Jeff >From: Karl Avedal >Subject: Re: Anyone heard from evermind? >Date: Thu, 07 Dec 2000 04:15:49 -0800 > >Hello, >I thought it was time for some explanation on our silence. > >Alot of thi

RE: Has anyone ever solved the ClassCastException problem?

2000-12-08 Thread Jeff Schnitzer
I have generally found that a ClassCastException (usually nested three-layers deep in ominous sounding Orion exceptions) usually indicates a wrong bean (or class) specified in the deployment descriptor. For instance, I was tearing my hair out over a ClassCastException I was getting every time I t

RE: Changing Orion Generated SQL

2000-12-08 Thread Jeff Schnitzer
Jeff >-Original Message- >From: James Manning [mailto:[EMAIL PROTECTED]] >Sent: Friday, December 08, 2000 7:08 AM >To: Orion-Interest >Subject: Re: Changing Orion Generated SQL > > >[Jeff Schnitzer] >> Take a look at the documentation for orion-ejb-jar.xml. It's a

RE: EJB2.0 Generated class uncompilable

2000-12-08 Thread Jeff Schnitzer
e server. More than likely, though, you have something misspecified in your deployment descriptor. Make sure you read the comments in Sun's EJB2.0 DTD thoroughly. If this doesn't help, you can try posting your deployment descriptor. Good luck, Jeff Schnitzer [EMAIL PROTECTED] >

RE: Changing Orion Generated SQL

2000-12-08 Thread Jeff Schnitzer
Take a look at the documentation for orion-ejb-jar.xml. It's a lot easier if you have a few samples to look at alongside. http://www.orionserver.com/docs/orion-ejb-jar.xml.html What changes you have in mind? Jeff Schnitzer [EMAIL PROTECTED] >-Original Message- >From:

RE: Stateful Session timeout, JSPs

2000-11-05 Thread Jeff Schnitzer
of the stateful session bean would pretty much follow the HttpSession (eliminating the problem anyways). Another approach might be to do no extra checking and just simply recreate the stateful session in the error page (if the error is java.rmi.NoSuchObjectException). H that would be annoyi

RE: sessions, inheritance and authorization

2000-11-05 Thread Jeff Schnitzer
a good discussion of one other approach; you can also implement your own UserManager if you choose. I don't use the principals.xml; my users are defined by "Member" entity beans and I simply layer the DataSourceUserManager over the appropriate entity table. There are many other ways of addressing this issue as well. Good luck! Jeff Schnitzer [EMAIL PROTECTED]

TheServerSide forgot Orion

2000-10-25 Thread Jeff Schnitzer
to happen if they get many more comments. Jeff Schnitzer [EMAIL PROTECTED]

RE: Ok. I feel dumb. Data Sources and MS SQL.

2000-10-25 Thread Jeff Schnitzer
Hey, there is nothing wrong with MS SQL Server and Win2K. As someone who is not a professional DBA and has no desire to become one (I like building things, not maintaining tempermenal third-party software systems), I find that SQL Server is by far the most pleasant of the big relational databases

RE: EJB 2.0 Dependent bidirectional relationships not working

2000-10-25 Thread Jeff Schnitzer
d rather we enter this kind of stuff in Bugzilla or just leave it alone and wait. Maybe a separate category should be set up for EJB2.0 bugs? Jeff Schnitzer [EMAIL PROTECTED] > -Original Message- > From: John D'Ausilio [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 24, 200

RE: EJB 2.0 Dependent Object problem - NPE on deploy

2000-10-21 Thread Jeff Schnitzer
says that the primary key must be set by the end of ejbCreate(), but that CMR fields must not be modified until ejbPostCreate(). If a CMR field is the primary key, we seem to have a catch-22 problem... Jeff Schnitzer [EMAIL PROTECTED] > -Original Message- > From: Jim Archer [m

Container Managed Relationships (was RE: EJB Help..)

2000-10-21 Thread Jeff Schnitzer
ed in EJB2.0 CMR has got to be pretty obscure. I've got some pretty wacky relationships and it all works reasonably well. Jeff Schnitzer [EMAIL PROTECTED] > -Original Message- > From: Cory Adams [mailto:[EMAIL PROTECTED]] > Sent: Saturday, October 21, 2000 12:11 AM

I hate "guest"

2000-10-19 Thread Jeff Schnitzer
to the system, but the web-application tag doesn't seem to be implemented yet. So I want to give a limited security role to "guest". Heeelp! Thanks, Jeff Schnitzer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

RE: support EJB2.0 or not?

2000-10-18 Thread Jeff Schnitzer
No, you don't need to specify the new DOCTYPE. I haven't, and I'm making extensive use of EJB2.0 beans. Tim, you probably are missing something important in the deployment descriptor. It's hard to say what without seeing it. Do you have 2.x in your block? You should post your descriptor

RE: 2 many messages - News Server needed. - Or we could split the list

2000-10-18 Thread Jeff Schnitzer
David Kenzik [mailto:[EMAIL PROTECTED]] said: > > IMO, the mailing list is just fine. If there are too many > messages for your > inbox, then you should filter it away. All the popular mail > clients will > handle this. > > [...] I would like to add another voice to this opinion; I don't thin

ejbtags.jar createBean is broken

2000-10-18 Thread Jeff Schnitzer
agnus for the taglibs tutorial, it's *much* more useful than the chapter in the Wrox JSP book. Jeff Schnitzer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

ejbtags.jar createBean is broken

2000-10-18 Thread Jeff Schnitzer
agnus for the taglibs tutorial, it's *much* more useful than the chapter in the Wrox JSP book. Jeff Schnitzer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

RE: Please help! I get null pointer exception after calling createonan EB with EJB 2.0 CMP Orion 1.3.8...

2000-10-18 Thread Jeff Schnitzer
zilla :-) Good luck, Jeff > -Original Message- > From: Jim Archer [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 17, 2000 1:54 PM > To: Orion-Interest > Cc: Jeff Schnitzer > Subject: RE: Please help! I get null pointer exception after calling > createonan EB wi

RE: custom user management

2000-10-17 Thread Jeff Schnitzer
Unless you have some especially complicated logic for authenticating users, you might want to simply use the DataSourceUserManager. Search the list archive for "DataSourceUserManager" and you'll find a pretty good discussion of UserManagers. I set this up last weekend. Users in my system are re

RE: Please help! I get null pointer exception after calling create onan EB with EJB 2.0 CMP Orion 1.3.8...

2000-10-17 Thread Jeff Schnitzer
I have had no problems creating CMP entity beans from session beans with EJB2.0. Seems to work as advertsied :-) I suggest posting your code and descriptors; I'll take a look, and the more examples of EJB2.0 beans floating around the better :-) Jeff > -Original Message- > From: Jim Arc

RE: userThreads + calling EJBs from outside orion.

2000-10-17 Thread Jeff Schnitzer
the zipfile. Jeff Schnitzer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -Original Message- From: Greg Matthews [mailto:[EMAIL PROTECTED]] Sent: Monday, October 16, 2000 11:11 PM To: Orion-Interest Subject: userThreads + calling EJBs from outside orion. i'm trying to create a do

RE: Deployment Descriptor

2000-10-13 Thread Jeff Schnitzer
It's in Chapter 21 of the EJB2.0 Public Draft. Sun has not released the DTD in any other form, and isn't planning to until the final version of the spec. At least, that's what the two architects who are writing the spec said in the (way too short) chat Sun hosted a couple weeks ago. Has a

JUnit with J2EE tutorial

2000-10-09 Thread Jeff Schnitzer
/junitee> The tutorial may be a little rough; comments and suggestions are always welcome. Jeff Schnitzer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

EJB QL and container managed relationships

2000-09-30 Thread Jeff Schnitzer
a or just assume that the authors are busily working on this very problem and don't need yet another monkey on their backs? :-) Is anyone else working with EJB2.0 beans? Thanks, Jeff Schnitzer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

RE: EJBException.printStackTrace()

2000-09-30 Thread Jeff Schnitzer
World article). For anyone else interested, here's a link to the JavaWorld article: http://www.javaworld.com/javaworld/javatips/jw-javatip91.html Thanks, Jeff Schnitzer [EMAIL PROTECTED] > -Original Message- > From: wim veninga [mailto:[EMAIL PROTECTED]] > Sent: Saturday, Septemb

EJBException.printStackTrace()

2000-09-30 Thread Jeff Schnitzer
is it something that Sun needs to take care of? For the moment I suppose I can rip the class file out of ejb.jar and add my own EJBException. Jeff Schnitzer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

RE: JUnit with Orion, source included

2000-09-29 Thread Jeff Schnitzer
ests?), and the output is a lot more attractive :-) I would also like to enhance it with any features that anyone thinks might be useful for unit testing EJBs, so I'm open to any suggestions! Later, Jeff Schnitzer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

RE: JUnit with Orion, source included

2000-09-28 Thread Jeff Schnitzer
azard.org/junitee >< http://www.infohazard.org/junitee> great, but the link seems to be wrong. could you check? robert > >Enjoy :-) > >Jeff Schnitzer >[EMAIL PROTECTED] <

JUnit with Orion, source included

2000-09-28 Thread Jeff Schnitzer
es a small Ant buildfile for anyone that is interested. You can find it at http://www.infohazard.org/junitee <http://www.infohazard.org/junitee> Enjoy :-) Jeff Schnitzer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> I apologize if anyone is receiving this twice. It looks

RE: How to use EJB2.0 on Orion

2000-09-20 Thread Jeff Schnitzer
Doesn't the use of the Address dependent object in the Person remote interface violate section 9.4.11 of the EJB2.0 spec? Specifically: - The Bean Provider must not expose the dependent object classes or the persistent Collection classes that are used in container managed relationships throu

Re: guest, principals.xml, and security roles - FIXED!

2000-09-13 Thread Jeff Schnitzer
nonexistant? I can't seem to find anything in the EJB spec which says one way or another. What defines the user/group of the unauthenticated client? The stock principals.xml implies that it is a user named "anonymous", but this doesn't seem to work. Is this a bug? Do I

guest, prinicipals.xml, and security roles

2000-09-10 Thread Jeff Schnitzer
of role "users" to group "users". The master principals.xml has both "anonymous" and "guest" as users which belong to the "users" group. Both the atm and news demos work fine. I presume it is because they explicitly authenticate somewhere in code, but I haven't been able to figure out how or why. Help? :-) Thanks, Jeff Schnitzer [EMAIL PROTECTED]

<    1   2