RE: Unsubscribe

2001-12-28 Thread Gary Shea
Yeah. Likewise. I've been trying to get off this list for 6 months. Sending mail to Magnus didn't work either. [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Me too. The unsubscribe doesn't seem to work :( Quoting Dan Hoyal [EMAIL PROTECTED]: Please remove me as well. I've also tried

Re: Synchronized session bean?

2001-10-10 Thread Gary Shea
El Jeffo ([EMAIL PROTECTED]) wrote: Hi everyone... I thought there was a way to synchonize a session bean such that I suppose you could say that only one user or servlet could use it at a time. Simply put if there's $5 left in the bank, you wouldn't want to have a user withdraw $5 with

RE: Ant to compile and deploy one file

2001-08-23 Thread Gary Shea
Another possibility might be file location. If the .java file containing class Z in package x.y is located in com/x/Z.java, it will always be recompiled. If it is located in com/x/y/Z.java, it will only be re-compiled when there are changes. Gary Nusairat, Joseph F. ([EMAIL

Re: Simple Java Doubts

2001-05-08 Thread Gary Shea
These questions look like... a test. The question is, who is being tested? Gary p.s. The word 'doubt' implies suspicion or disagreement; you probably want to use 'question' instead. On Today, Santosh Kumar ([EMAIL PROTECTED]) wrote: Question 1: How does an elementary Singleton

RE: javax.crypto

2001-04-11 Thread Gary Shea
Dean Parker ([EMAIL PROTECTED]) wrote: SV: servlet-TagThat consists of 4 jars known collectively as JCE (Java Cryptography Extension). The current version is 1.2.1. jce1_2_1.jar local_policy.jar sunjce_provider.jar US_export_policy.jar jce1_2_1.jar is the actual API. sunjce_provider.jar

RE: persistance

2001-03-25 Thread Gary Shea
I haven't tried solving this problem myself, so am really just guessing. I wonder if the thing to do is stash your serialized class in JNDI, and then do a lookup and grab it when your session bean is instantiated? I'm assuming you need acess to the information in an EJB as opposed to a servlet;

RE: Performance problems...

2001-03-25 Thread Gary Shea
And from totally out in left field, how about conflicting database transaction/table locks. I doubt it, because those tend to be indefinite, but it's a thought anyway! I suspect that the running-out-of- connections idea is more likely to be correct, though... Gary -Original

Re: communication link failure

2001-03-20 Thread Gary Shea
Geoff Marshall ([EMAIL PROTECTED]) wrote: Hello all! I've got an application-level object that grabs a pool of database connections (MySQL using the mm.mysql JDBC driver). All works well until there is not activity for some extended period of time (overnight) and then all attempts to

RE: REFERENCE WAR CLASSES FROM EJB-JAR FILES

2001-03-18 Thread Gary Shea
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Gary Shea Sent: Sunday, March 18, 2001 6:00 AM To: Orion-Interest Subject: RE: REFERENCE WAR CLASSES FROM EJB-JAR FILES Mike Cannon-Brookes ([EMAIL PROTECTED]) wrote: Yes, put your common classes in the EJB

RE: REFERENCE WAR CLASSES FROM EJB-JAR FILES

2001-03-17 Thread Gary Shea
Mike Cannon-Brookes ([EMAIL PROTECTED]) wrote: Yes, put your common classes in the EJB JAR. EJB JAR's can't see classes in your WAR. WAR's can see classes in your EJB JAR. -mike I didn't know that... cool! Is that a J2EE-defined behaviour, or is it orion-specific? Yet another solution is

Re: Customizing CMP deployment

2001-03-12 Thread Gary Shea
Today, Sergei Batiuk ([EMAIL PROTECTED]) wrote: Is there any way to customize deployment of CMP bean - to indicate the table name in the database to which the entity bean should map its persistence (in case the name of the table is different from the bean name) or the data source to connect

referring to a jar from an ejb-jar file/directory?

2001-02-28 Thread Gary Shea
I have an ejb application running under orion. I want to restructure the code so that some common code is put into a jar. The problem is that I can't figure out a way, short of putting the jar in the orion/lib directory, to make the contents of the jar available to the ejb side of the

RE: Error Page

2001-02-22 Thread Gary Shea
Isn't web.xml described in an appendix of the Servlets spec? Gary Today, Randahl Fink Isaksen ([EMAIL PROTECTED]) wrote: Could anyone tell me where this syntax from web.xml is defined (could not find it in the JSP 1.2 spec - there is no complete documentation on web.xml):

Re: Session EJB Accessibility

2001-01-30 Thread Gary Shea
Today, Mark Bernardinis ([EMAIL PROTECTED]) wrote: I don't want to do any database activity. I just want this Java Object to be accessible as an EJB accessible by many different clients hosted by an Application Server. The object doesn't have to be stateful either. I suspect the problem with

RE: Session EJB Accessibility

2001-01-30 Thread Gary Shea
Today, Jeff Schnitzer ([EMAIL PROTECTED]) wrote: 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

Re: Pooled Data Source

2001-01-29 Thread Gary Shea
It's probably only part of the problem, but the first thing I note is that you're not using "com.evermind.sql.ConnectionDataSource". That's what you use when your jdbc driver is jdbc2 compliant (if my understanding is correct...). Other than that I don't see anything glaringly wrong...

Re: Session EJB Accessibility

2001-01-29 Thread Gary Shea
It sounds like you're describing an entity bean more than a session bean. An entity bean can be called by many clients although access is serialized. And certainly the role of an entity bean is to encapsulate data in a apparently-storage-mechanism-independent manner, from the client's

Re: How to configure Orion to use Oracle

2001-01-17 Thread Gary Shea
I believe you will need to copy the oracle jar classes111.zip or (if you have it) classes12.zip to the orion lib dir. That at least is how I did it. I'm not sure if you can use the CLASSPATH to accomplish the same thing, but frankly I'm not clear on how orion decides where to find things!

Re: Distributed EJB's

2000-12-13 Thread Gary Shea
On Today, Christian Sell ([EMAIL PROTECTED]) wrote: Karsten, no offense do they offer english courses at informatik.fh-ge.de? If so, I *seriously* recommend taking one. You will benefit all your life. And we will, too ;-) /no offense I think we're seeing a bit of intra-school rivalry

Re: Traversing JNDI namespace

2000-12-04 Thread Gary Shea
On Today, Nick Newman ([EMAIL PROTECTED]) wrote: Hi, How can I find what's in an entity bean's java:comp/env namespace? If I ask the InitialContext for a list of what is in it (using initialcontext.list("") ) I get a list of things (mainly home interfaces) plus entries for "java:comp"

Re: Client hits STOP button..is there a way to detect this beforesen ding a response?

2000-11-15 Thread Gary Shea
Interesting question. My instincts say you can't win as long as your data integrity is determined by your ability to determine the exact status when the situation is inherently a race condition. That may be overly pessimistic given that it takes the client a finite amount of time to stop one

Re: Problems with CMP PrimKey...

2000-11-08 Thread Gary Shea
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

Re: answer (maybe) RE: writing to application.log from EJB

2000-11-07 Thread Gary Shea
On Today, Mark ([EMAIL PROTECTED]) wrote: Finally got smart and wrote a serlvet to map the Orion JNDI space. Doesn't look like there's a logger in there, unless it's bound to some subcontext not below "". Here's the output from the mapper: Cool. I wrote one but it didn't work the way I

Re: Adding a site?

2000-11-05 Thread Gary Shea
Do you have the application defined in config/server.xml? For instance, application name="chat" path="/home/shea/work/rsrch/chat/test/stage/" / defines the application 'chat' so that when you use that name in the web-app element, it is associated with an

RE: writing to application.log from EJB

2000-11-05 Thread Gary Shea
On Today, Mark ([EMAIL PROTECTED]) wrote: Mike, many thanks for the tip. I found an Interface called com.evermind.util.Logger, and a Class called com.evermind.util.LogEvent, which seems hopeful. But after some experimentation, I haven't found the right JNDI lookup for returning a Logger

Re: Data Sources Help

2000-10-24 Thread Gary Shea
Congratulations Mark, and thanks for the summary! I hadn't looked at how to do that very last line of code yet, I'm happy to see it is so straight-forward. Gary On Yesterday, Mark ([EMAIL PROTECTED]) wrote: Fixed it! Yay! Gary, I tried it again per the suggestion you forwarded

RE: Orion in production

2000-10-24 Thread Gary Shea
(sorry, forgot their name). Hence my expectations of decent support. I guess if I'd dealt with the ones you have I might not be so shocked! Gary -Original Message- From: Gary Shea [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 22, 2000 8:34 PM To: Orion-Interest

Re: Orion in production

2000-10-24 Thread Gary Shea
On Today, Kyle Cordes ([EMAIL PROTECTED]) wrote: often the ones asked, and so on. That just isn't the case in any vendor that I have bought software from. I feel bad for you that your not getting responses, but I doubt you'll get much better support with the $15K per cpu WebLogic or

Re: Data Sources Help

2000-10-23 Thread Gary Shea
On Today, David Kenzik ([EMAIL PROTECTED]) wrote: Yes, Greg Matthews sent me a note shortly after receiving my inquiry with that same answer-- this is the case, "java:comp/env/jdbc..." won't work, you must shorten it to simply "jdbc/SOURCENAME". Now that is out of the way, and it __was__

Re: Data Sources Help

2000-10-23 Thread Gary Shea
On Today, Mark ([EMAIL PROTECTED]) wrote: Dunno if this is any help, but I found through experimentation that, if you're using the deployment approach suggested by Deepak Goel in the thread "ANSWER: how to use pooled connections in Orion", the parameter to pass to InitialContext.lookup() is,

RE: Orion in production - Let's sell support!

2000-10-23 Thread Gary Shea
server. Ah well, Gary Shea iTransact.com, Inc.

RE: Orion in production

2000-10-22 Thread Gary Shea
given up on the support address. And I'm a paying customer! Not too excited about buying any more licenses at this point. Gary Shea iTransact.com, Inc.

Re: Data Sources Help

2000-10-22 Thread Gary Shea
On Today, David Kenzik ([EMAIL PROTECTED]) wrote: ds = (DataSource) ctx.lookup("java:comp/env/jdbc/d123DS"); Well, it took me a couple weeks (not full time!) to figure out that even though they tell you to use java:comp/env/jdbc... it doesn't actually work. Instead do

Orion JNDI implementation

2000-10-11 Thread Gary Shea
Hey, has anyone tried traversing the JNDI tree from within an Orion application? I am unable to use the list() method to traverse down into the env subtree, either that or there's nothing in the env subtree. The env subtree is an object of the com.evermind.naming.jv class, which implements

Orion JNDI implementation

2000-10-11 Thread Gary Shea
Hey, has anyone tried traversing the JNDI tree from within an Orion application? I am unable to use the list() method to traverse down into the env subtree, either that or there's nothing in the env subtree. The env subtree is an object of the com.evermind.naming.jv class, which implements

Oracle pooled connections?

2000-10-06 Thread Gary Shea
I have set up the data-sources.xml file using Oracle, following the advice of Magnus R. at orion, the result looks like: ?xml version="1.0"? !DOCTYPE data-sources PUBLIC "Orion data-sources" "http://www.orionserver.com/dtds/data-sources.dtd" data-sources data-source

Re: Oracle pooled connections?

2000-10-06 Thread Gary Shea
On Today, Nick Newman ([EMAIL PROTECTED]) wrote: Hi Gary, The JNDI name should be "java:comp/env/jdbc/OracleEJBDS" - you missed the "env". Odd thing about the com.evermind.sql.ConnectionDataSource class. I assumed it would be in the orion.jar, but I don't see it there. Perhaps

orion CGI/Perl examples?

2000-08-19 Thread Gary Shea
Hey folks, Has anyone got/seen a simple example of setting up Orion to serve both CGI/Perl and servlets? The latter is blissfully easy, but I have no idea how to get CGI/Perl working, well, some ideas but they seem to be all wrong! Thanks, Gary

orion and perl/cgi -- got it working!

2000-08-19 Thread Gary Shea
Figured out how to do perl/cgi in orion, and wow was it easy. In the web.xml for my application I added the lines: servlet servlet-namecgi/servlet-name servlet-classcom.evermind.server.http.CGIServlet/servlet-class /servlet servlet-mapping

support email-address problem

2000-08-10 Thread Gary Shea
I attempted to send mail to [EMAIL PROTECTED], and got back the following error. Notice from the transacript that the address has been rewritten to be sent to '[EMAIL PROTECTED]', so with any luck he's just one of several recipients to which the mail is being forwarded... Sorry to send this to

RE: admin -shutdown

2000-06-29 Thread Gary Shea
On Wed, 28 Jun 2000, Kirk Kalvar wrote: Works on my setup: Win98 Orion 1.0rc2 set JAVA_HOME=c:\java\jdk1.2.2 set J2EE_HOME=c:\java\j2sdkee1.2.1 set ClassPath=.; set Path=%PATH%;c:\java\j2sdkee1.2.1\bin;c:\java\jdk1.2.2\bin; c: cd \orion java -jar admin.jar ormi://localhost/ admin

RE: Latest versions?

2000-06-28 Thread Gary Shea
Oh, that is soo slick! Wow! But ain't this typical, I thought I'd read every single bit of text on the orion site, and I don't remember seeing this ultra-cool feature mentioned anywhere. These folks have an awesome product, but I guess selling it (as opposed to their core business of using

RE: admin -shutdown

2000-06-28 Thread Gary Shea
On Wed, 28 Jun 2000, Kit Cragin wrote: We are experiencing the same problem. It may be that this is isolated ONLY to Windows based platforms as I've heard it works fine on Linux. Does anyone know of a reasonable way to affect a shutdown from within Java by locating the process ID and killing

Re: java.naming.factory.initial value for Orion?

2000-06-26 Thread Gary Shea
retty well hidden, I'll add an FAQ entry about it immediately. Regards, Karl Avedal Gary Shea wrote: Hi -- This is one of those newbie questions, I know, but I can't find any reference to what the java.naming.factory.initial value should be for Orion! TIA Gary

java.naming.factory.initial value for Orion?

2000-06-24 Thread Gary Shea
Hi -- This is one of those newbie questions, I know, but I can't find any reference to what the java.naming.factory.initial value should be for Orion! TIA Gary

Re: java.naming.factory.initial value for Orion?

2000-06-24 Thread Gary Shea
that class for the initial naming factory, if I put in a valid rmi name like "rmi://localhost/" I get a message about "invalid username/password". Yikes, why is it so hard to get these things to work!? Back to the random-poke method... Gary On Sat, 24 Jun 2000,