JNDI Properties for Orion and EJB?

2000-11-15 Thread Kevin Duffey
Hi there, I read in my EJB book that CTM's require vendor specific JDNI properties. I thought EJB was platform/vendor independent? What are these JNDI properties for? More importantly..when/why are they used? I see in the example EJB's with Orion that they all have a jndi.properties file, yet I

RE: EJB Basics

2000-11-15 Thread Kevin Duffey
Hmm..something I think I can answer..at least to some degree. WEB-INF is a dir usually below each Web Apps WWW dir. WEB-INF is where you would place your compiled classes (WEB-INF/classes) and any 3rd party libraries you would use (WEB-INF/lib). You also have a Servlet 2.2 standard web-app

Re[2]: 1.4.4 OR Collection classes

2000-11-15 Thread Thomas Hertz
Hallo Robert, RK did you file this as a bug report in bugzilla? I didn't find it there. I'll RK file it now (we just ran into it and it's a nasty one to find). if you RK already have please contact me so I can remove it. RK robert Vidur, This looks in same ways similar to the problem that I

RE: EJB Performance Question.

2000-11-15 Thread Robert Krueger
At 14:48 14.11.00 , you wrote: Thanks Robert. I think I'll try running some benchmarks this week and post the results. I wonder.. is there a way for and EJB-EJB to be _forced_ to go through RMI? i.e. can I turn this optimization off? I don't think there is a documented way to to this.

Re: security-constraint

2000-11-15 Thread David Smith
Try security-constraint> web-resource-collection> web-resource-name>programmer/web-resource-name> url-pattern>/index.jsp/url-pattern> url-pattern>/programmer.jsp/url-pattern> url-pattern>/parseRequestP.jsp/url-pattern> /web-resource-collection> auth-constraint> role-name>users/role-name>

1.4.4: findXY() returns NULL if one of the enties is removed

2000-11-15 Thread Thomas Hertz
Hello. i filed the following bug to bugzilla: --- The following problem occurs in 1.4.4 but not in 1.3.8: 1) one thread calls a findXY() (lets say findAll() ) on a home interface 2) this will take a while. while

Re: 1.4.4 OR Collection classes

2000-11-15 Thread Thomas Hertz
Hi guys, sorry for this mail in german, wrong recipient! It should go to Robert directly. (Hi robert!) for all how are not able to read german, I added a english translation as seperate mail..;) Greetings, /Thomas TH Ein weiteres hartes Problem, das hiermit zusammenhaengt, ist, TH dass ab der

RE: EJB Basics

2000-11-15 Thread Widmer, Karl
I am new to Orion but have experience of Java and have used thejar process several times to archive classes. However, has anyone got an example of using jar tocreate a Web Application war file that includes jsp and bean classes. Thanks for any help. -Original Message-From:

JDK1.3 and deb. linux

2000-11-15 Thread Jostein Martinsen
Help ! When i try to start orionserver i get this msg: "error in loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory" I'm running the newest version of Debian Linux and Sun:s jdk1.3 '''

Problems with MySQL and DataSourceUserManager

2000-11-15 Thread Juha Lehtonen
Hi Is anyone using DataSourceUserManager with MySQL database? We have been using it with PostgreSQL without any problems, but when we switched to MySQL, DataSourceUserManager throws an exception DataSourceUserManager.getUser 8.11.2000 14:29 ANALYYTIKKO-web: Error in UserManager

Macromedia Generator and Orion

2000-11-15 Thread Berny Woehrlin
Hi, does anybody have experiences how to run Macromedia Generator under Orion? I appreciate any hint... Regards Berny -- Berny Woehrlin system development - web consulting mail: [EMAIL PROTECTED] location: Hamburg, Germany

RE: orion server works with jdk 1.3???

2000-11-15 Thread Russ White
My test suite includes 15 CMPEBs controlled by one SLSB which is instantiated by a servlet. The test logs in to the app and then performs an insert, update, and delete on every entity. I am getting the high 200's in transactions per second on my 2 cpu box with RH7. I get over 2000 TPS on my 8 box

I have solved the security problem in Orion

2000-11-15 Thread Peter Delahunty
Although a lot of you do not seem to be using security yet as no one has answered my posts, Well i have not solved it, it is a Bug. The bug is that a two or more security roles cannot have access to the same methods. for example say i have a method on Mybean called. methodA() and i

RE: JDK1.3 and deb. linux

2000-11-15 Thread J.T. Wenting
there is an incompatibility between Debian and the JDK (any JDK I tried). The lib is there, but is not found for some reason. I installed Helix-gnome and the problem went away. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jostein Martinsen Sent:

RE: PHP servlet problems

2000-11-15 Thread Tim Squires
Thanks Sean. That's exactly the setup I'm running, I've tried swapping the CGIServlet for the php one but still the same result. Any more ideas would be appreciated. Tim. -Original Message- From: Sean Leach [mailto:[EMAIL PROTECTED]] Sent: 14 November 2000 16:02 To: Orion-Interest

RE: EJB Performance Question.

2000-11-15 Thread Tim Drury
The idea behind a bulk accessor is to return a single object that holds all the data of your EJB. (Forgive me for any syntax mistakes. I'm doing this from heart and I've done so much EJB2.0 stuff that my 1.1 is a little rusty.) If you have an EJB like this: public class FooEJB implements

RE: Any Open Source Java Object database

2000-11-15 Thread Mark Delanoy
Try http://www.xl2.net/ and/or http://www.ozone-db.org/ I've used neither so I can't say how good they are md -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Scott M Stark Sent: Tuesday, November 14, 2000 4:24 PM To: Orion-Interest Subject: Re: Any

Re: Problems with MySQL and DataSourceUserManager

2000-11-15 Thread Lars Hoss
hi! i had the same problem with the WebLogic Server. the problem is that MySQL does not support transactions as of version 2.22.x. there is beta quality transaction support in the current development branch (2.23.x) but i had very serious problems with the latest version (lost data). personally

EJB Assembler tool

2000-11-15 Thread Alexander Sparkowsky
Did somebody successfull use the EJB Assembler tool? When adding a bean the tool tells me that it is unable to find the bean class also if I add the classes to my classpath. Alexander Sparkowsky LambdaLogic Informationssysteme GmbH, Berlin, Germany Tel: +49-30-2936385-0, Fax: +49-30-2936385-0

RE: EJB Basics

2000-11-15 Thread Kevin Duffey
I think you simply do a jar myfile.WAR /path or something like that. A WAR and a EAR are a JAR with different extensions. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Widmer, KarlSent: Wednesday, November 15, 2000 3:39 AMTo:

RE: REPOST: Multiple websites on one server not found [NEED HELP]

2000-11-15 Thread Drew Kidder
Sorry about my lack of lucidity. I would like to have 3 web sites up and running under one Orion server. I want the default website (the one that Orion displays by default) to display when the user types http://myserver, I want my cs2k site to come up when the user enters

Re: Where is Orion's copy of ejb-jar dtd?

2000-11-15 Thread Rodolphe Godreul
Hi all ! I am just beginning to evaluate orion for our needs but i get stuck with the same error : Error loading package at file:[]/helloworld-ejb.jar, Error parsing META-INF/ejb-jar.xml in [...]/helloworld-ejb.jar: Fatal error at line 377: Character conversion error: "Unconvertible UTF-8

Re: JDK1.3 and deb. linux

2000-11-15 Thread Storm Linux User
I use Debian Potato 2.2 without problems. I' tried Sun JDK1.2.2, Sun JDK1.3 and IBM JDK1.3, all of then without problems on Debian Potato. Have you updated you system? I'd sugest you to do: apt-get update apt-get upgrade Doing this, you will get installed the latest versions of your packages,

Re: EJB Assembler tool

2000-11-15 Thread Gerald Gutierrez
I've found that you need to add the class files to the "files" section of the EJB assembler before it'll find anything. Right click and do the "import" on the "files" section displayed on the left of the screen. At 04:39 PM 11/15/2000 +0100, you wrote: Did somebody successfull use the EJB

EJB using core classes?

2000-11-15 Thread Kevin Duffey
Hi all, I am attempting (again) deploying EJB. While I think I have the pricipals down, (still trying to figure out JNDI properties..what they are for), I am confused about one thing. I have an application named ss. In Orion I have set the path to c:\ss. There is the META-INF dir, which I have

RE: EJB Performance Question.

2000-11-15 Thread Gerald Gutierrez
At 10:11 AM 11/15/2000 +0100, you wrote: At 14:48 14.11.00 , you wrote: Thanks Robert. I think I'll try running some benchmarks this week and post the results. I wonder.. is there a way for and EJB-EJB to be _forced_ to go through RMI? i.e. can I turn this optimization off? I don't think

RE: ClassCastException servletproblem

2000-11-15 Thread Patrik Andersson
Use the Java Reflections utilities. Issue myObject.getClass().getName() on the object that you are trying to cast to something and print it out... the variable you call statement... is that a JDBC statement? If it is you should not cast it to whatever the jdbc driver vendor has implemented

RE: REPOST: Multiple websites on one server not found [NEED HELP]

2000-11-15 Thread Robert Krueger
At 09:52 15.11.00 , you wrote: Sorry about my lack of lucidity. I would like to have 3 web sites up and running under one Orion server. I want the default website (the one that Orion displays by default) to display when the user types http://myserver, I want my cs2k site to come up when the

Re: EJB using core classes?

2000-11-15 Thread Robert Krueger
snip/ At any rate..my main question here is, the EJB class in the jar file is referencing the core class. I don't have the core package in the jar file. I thought if I deployed the jar file into the same web-app as the other classes were in, it would have access to these classes. I compile

specify datasource for entity bean

2000-11-15 Thread TDSlusser
Hi, I may have missed it in the docs but I can't figure out how to configure the datasource a CMP entity bean uses for persistence. I can change the orion-ejb-jar.xml file that is auto-created when the beans are deployed but how can I change it _before_ deploying the bean? Thanks, Ted Slusser

RE: specify datasource for entity bean

2000-11-15 Thread Rick Bos
Put orion-ejb-jar.xml in this directory: /ear/ejb/orion/orion-ejb-jar.xml .ie /ear/ejb/META-INF/ejb-jar.xml /ear/ejb/orion/orion-ejb-jar.xml Normally I deploy first, and then move the created orion-ejb-jar.xml from application-deployments to this location. I believe it is also possible to

Turning off Auto-create Tables

2000-11-15 Thread Marc Rabil
I am trying to deploy an app that uses CMP to connect to an Interbase server via the Interclient driver. On deploy, Orion starts auto-creating tables that I don't need (since the database already exists) and gives me the error below. How can I turn auto-create off or point it at the right DB?

Re: specify datasource for entity bean

2000-11-15 Thread Gerald Gutierrez
Put it inside the EAR file; I believe it goes into a special "orion" directory. I think that directory is called "orion" and is a sibling to META-INF. You can also do it on an application scope with orion-application.xml. At 11:52 AM 11/15/2000 -0600, you wrote: Hi, I may have missed it in

Re: EJB using core classes?

2000-11-15 Thread Gerald Gutierrez
Uhh ... isn't this unnecessarily vendor-specific? I've had utility classes used by both web and ejb layers and I just stick them with the EJB JAR file and things seem to work out fine. At 06:20 PM 11/15/2000 +0100, you wrote: snip/ At any rate..my main question here is, the EJB class in the

Custom Tags Bug? Please help...

2000-11-15 Thread Claudio Cordova
Hello, I have questions about custom tags, I don't know for sure they are bugs but they seem like it. BUG #1 I have a custom tag with a required attribute called "class". When I use it in a page the compiler displays an error like: 500 Internal Server Error Error parsing JSP page

Multiple threads and new InitialContext

2000-11-15 Thread KirkYarina
Is new InitialContext supposed to be thread safe? It doesn't seem to be... I have a client test program that creates multiple threads, each of which does a getInitialContext. This fails about 2 times out of three, usually with a: ObjectIdMgrTest:-- Getting Initial Context --

Re: Problems with MySQL and DataSourceUserManager

2000-11-15 Thread Louis
Hi, If I use EJB, can I use postgresql? I know that postgresql jdbc driver is still not jdbc2 complaint. Louis - Original Message - From: "Lars Hoss" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Wednesday, November 15, 2000 8:37 AM Subject: Re: Problems with MySQL

RE: EJB using core classes?

2000-11-15 Thread Duffey, Kevin
Thanks. That at least clears this up. What if I EAR the whole thing and deploy the EAR? Would the EJB then be able to see the classes..or at that wouldn't make any difference? -Original Message- From: Robert Krueger [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 15, 2000 9:20

counter.jar

2000-11-15 Thread Hani Suleiman
Would anyone be tremendously upset if I rewrote counter.jar based on info I get from decompiling it? I have two things in mind: 1) To make the changes needed to switch it to ejb 2.0 2) Minor optimisation in the generation of ID's (to create the initialContext once and hold onto it, rather than

RE: Custom Tags Bug? Please help...

2000-11-15 Thread Duffey, Kevin
I would think class is a reserved word in java. For example MyClass.class refers to the Class of the class. I would rename it from class to myClass or something. Same for your getter/setter methods. -Original Message- From: Claudio Cordova [mailto:[EMAIL PROTECTED]] Sent: Wednesday,

Re: counter.jar

2000-11-15 Thread Jason Rimmer
You shouldn't have to decompile it, as it's supposedly open source. Here's the message in May from Karl: http://www.mail-archive.com/orion-interest@orionserver.com/msg01478.html. Though I certainly would not mind the fixes you're proposing. -- Jason Rimmer [EMAIL PROTECTED] -

ORION and VAJ?

2000-11-15 Thread listhub
Briefly looking at the archives I saw this question with no real resolution so please forgive the bandwidth while I ask again. Has anyone succeeded in running Orion from within Visual Age Java? All comments welcome. john -- E-Mail: [EMAIL PROTECTED] Date:

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: Client hits STOP button..is there a way to detect this before sending a response?

2000-11-15 Thread Hani Suleiman
Here's another approach. Put a timestamp in your session to denote when a search request was started, and have the searcher object track this timestamp too. When you get the results back, check that the timestamps match before populating your bean. If another search had happened in the meantime,

RE: Client hits STOP button..is there a way to detect this before sending a response?

2000-11-15 Thread Duffey, Kevin
Thanks for the reply.. Your idea has some merit..the only problem is, we have so many different searches and profile updates that could be happening..I would need to keep track of each of those separately. Here is what I had in mind if there isn't any way to detect ahead of time that a

RE: Client hits STOP button..is there a way to detect this before sending a response?

2000-11-15 Thread Hani Suleiman
On Wed, 15 Nov 2000, Duffey, Kevin wrote: Thanks for the reply.. Your idea has some merit..the only problem is, we have so many different searches and profile updates that could be happening..I would need to keep track of each of those separately. Here is what I had in mind if there

RE: Custom Tags Bug? Please help...

2000-11-15 Thread Scott Stirling
It is. It's so obvious it can easily be overlooked: For example: public class Foo extends Object { } How do you get a class to compile that has a field named 'class'? I couldn't do it. The normal convention is to use the field name 'clazz' when you mean 'class' in Java. One thing to check

RE: Orion, JNDI Weblogic

2000-11-15 Thread Colin Jacobs
In case this helps anyone else desperately searching the archives one day hence: The jsp *works* under Tomcat (NT), Caucho Resin 1.1.5 (NT), WebLogic (NT), and Orion 1.3.8/JDK 1.3 on linux. The exception occurs under Orion 1.3.8 *and* Orion 1.4.0 on NT under jdk 1.2.2 *and* jdk 1.3. Once

Help with OR mapping

2000-11-15 Thread Vidur Dhanda
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

Correction: Help with OR mapping

2000-11-15 Thread Vidur Dhanda
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

RE: Client hits STOP button..is there a way to detect this before sending a response?

2000-11-15 Thread Kevin Duffey
Hi again, Actually..I hashed out your first idea with two other guys and it seems like it should work. Let me see if I got this straight. 1) When the action class is called..create a timestamp. 2) Create the stateless session class. 3) Get the javabean associated with the series of pages

RE: Client hits STOP button..is there a way to detect this before sending a response?

2000-11-15 Thread Kevin Duffey
Thats a good approach to take for things like a "list" of items, such as a search engine or a list of rows from a table. But what about when your building up a single transaction, and you need to keep the state of several pages across requests? While there is even less of a chance of what I am

RE: Client hits STOP button..is there a way to detect this before sending a response?

2000-11-15 Thread Hani Suleiman
On Wed, 15 Nov 2000, Kevin Duffey wrote: So in code it might look something like: { SomeSession ss = new SomeSession(); SomeBean bean = getBean(); // gets the javabean used by jsp page Date date = new Date(); ss.setDate(date); bean.setDate(date); ss.doLogic();

RE: Client hits STOP button..is there a way to detect this before sending a response?

2000-11-15 Thread Matt Krevs
How about you have one hidden form field which is a unique key that identifies the bean that should be used Basically a user's session would have some sort of hashtable in it containing a number of beans keyed by your hidden form field? Then you dont have to send heaps of data around when doing

Re: ClassCastException servletproblem

2000-11-15 Thread Erik Sundberg
- Original Message - From: Patrik Andersson To: Orion-Interest Sent: Wednesday, November 15, 2000 4:54 PM Subject: RE: ClassCastException servletproblem Use the Java Reflections utilities. Issue myObject.getClass().getName() on the object that you are