RE: Creating tables in Hypersonic

2000-09-18 Thread dan . jacob
Hi Peter, I tried using the database manager tool that comes with the Hypersonic package, but I couldn't connect to the instance of Hypersonic that I was using with Orion. I instead wrote a "quick and dirty" JSP page using simple JDBC to do the same job. Just place it in the document root of

Re: Benchmarks

2000-09-18 Thread Christof Baumgaertner
I know that there a completely different technologies evaluated as well. I was referring to the different performance numbers between Resin and Orionserver. Lawrence Fry wrote: Christof, I read this article, and the comparison in this benchmark is between php, perl and java. The benchmark

Postgres + Transaction Levels?

2000-09-18 Thread Mike Cannon-Brookes
When trying to use 1.3.6 with Postgres 7.0.2 I get this error on EJB deployment: Auto-deploying ejb (New server version detected)... Error compiling file:/C:/scr atch/DOMAINNOTES/ejb/: Error finding a suitable DataSource: SQL Error opening Da taSource: Transaction isolation level 1 is not

No Subject

2000-09-18 Thread z2211829
Hi all, I have a urgent problem regarding EJB and servlet, I cannot find the home interface of the bean from the servlet (whereas a standalone client works very well)...Can anyone pls give me some hint as to what maybe be wrong here? Below is the background info, sorry, it is kind of

Re: Orion Hosting Service

2000-09-18 Thread Robert Krueger
At 14:49 18.09.00 , you wrote: Try www.netpike.com If you see no info on the site about orion, just email them and ask. I am hosting my web site there at the moment using orion. Alex. how do they handle the System.exit(0) problem? can you call that from a jsp? maybe I missed that but I once

RE: HELP: Cannot understand DeadLock

2000-09-18 Thread Byron du Preez
Title: RE: HELP: Cannot understand DeadLock We have encountered database deadlocks using CMT and CMP and a SINGLE transaction, where for some reason some of the database calls generated by the CMP code get called in different process IDs on the database (even though they all occur on the same

SV:

2000-09-18 Thread Klaus . Myrseth
Your client xml has an error, you have to use the same jndi name as you set up in your ejb-jar.xml, see under. ejb-ref ejb-ref-nameStamp/ejb-ref-name ejb-ref-typeEntity/ejb-ref-type homestamp.ejb.StampHome/home remotestamp.ejb.Stamp/remote /ejb-ref If this dont work, you have to

how to generate orion specific code first without deploying

2000-09-18 Thread Peter Delahunty
Hi i want to be able to generate orion classes and xml files without deploying my application on orion first. Currently i create my (ejb/xml stuff) etc then give it to orion. orion then generates all it's classes then deploys the application. well i just want to do the generating first. This

ejb 2.0 examples

2000-09-18 Thread Peter Delahunty
is there any ejb2.0 examples available, i want to see examples of CMP entity beans with many to many relationships with dependent objects.

Calling EJBs from another server

2000-09-18 Thread Richard Goh
Hi all, I'm new to EJB and Orion Application Server. Currently, I'm using NES as my webserver and JRun as the servlet container. I'm writng my application/business logic using helper classes and then let the servlet communicate with this classes. And, now I see the benefits of EJB. My question

RE: how to generate orion specific code first without deploying

2000-09-18 Thread Mike Cannon-Brookes
You could also set 'autocreate-tables="false"' flag and it will not create the tables for you (so you can change the datasource first). Mike __ | | Director - The BookmarkBox P/L | | http://www.bookmarkbox.com http://www.bookmarkbox.com/ |/\| Manage and share your bookmarks online! Do you

FW: Where is latest version?

2000-09-18 Thread Mike Cannon-Brookes
-Original Message- From: Meo Van Le [mailto:[EMAIL PROTECTED]] Sent: Monday, 18 September 2000 6:44 To: Mike Cannon-Brookes Subject: Where is latest version? Dear Mike, I am using Orion Server 1.2.9, it's latest version that I known on www.orionserver.com. But I have heard

Orion Sybase

2000-09-18 Thread Sven van 't Veer
I just installed sybase and after updating the data-sources.xml I redeployed what I'm currently developing. While deployng, orion started autocreating tables, which is ok with me, except for th fact that it is autocreating in the wrong database. Here's the relevant part of my database xml

Security Role-Group/user mapping

2000-09-18 Thread Denis Jaccard
Hello, After many time spent in trying to implement a demo J2EE application with security, I discovered a bug in the mapping between role and user/group process. My demo app is composed of 2 HTML pages (index.html/login.html), 1 servlet and 1 session EJB. Only one role (adsoft) is used and

Re: FW: Where is latest version?

2000-09-18 Thread Chris Evans
Run this command java -jar autoupdate.jar Mike Cannon-Brookes wrote: -Original Message- From: Meo Van Le [mailto:[EMAIL PROTECTED]] Sent: Monday, 18 September 2000 6:44 To: Mike Cannon-Brookes Subject: Where is latest version? Dear Mike, I am using Orion Server 1.2.9, it's latest

SV: Orion Sybase

2000-09-18 Thread Klaus . Myrseth
Put the datasource of the database you want the tables to autodeploy in first in the datasources-xml. Or remove autocreatetable support and deploy, then edit orion-ejb.jar.xml to point to the right datasource, then enable autocreate option and redeploy again. Should work just fine :) Klaus

RE: Orion Sybase

2000-09-18 Thread Rick Bos
We used Orion with Sybase ASE 11.9.2 This was our data-source: data-source name="appurvey" class="com.evermind.sql.ConnectionDataSource" location="jdbc/appsurvey" pooled-location="jdbc/appsurve y" xa-location="jdbc/xa/appsurvey" ejb-location="jdbc/appsurvey"

How to use third-party java package ??

2000-09-18 Thread ³¯§Ê¹Å
Hello: If I have a third-party java package like Jacob.jar, I want use it with my servlet in the Orion Server. What ???.xml do I need setup in the Orion Server ? I try to add compiler classpath="../lib/jacob.jar" executable="javac" / in the orion\config\server.xml. But it doesn't work

Security Role-Group/user mapping

2000-09-18 Thread help
--[This is an automatically generated email notification.]-- M A I L W A T C H A L E R T ! Allegro MailWatch Phone: 1-937-264-7000 Email: [EMAIL

RE: Creating tables in Hypersonic

2000-09-18 Thread Peter Delahunty
cheers the jsp I did manage to get hypersonic datamanager to work though. when you start it up you need to select standalone mode then then further down in the menu put the path to your database. if you put a new name in here then the tool will create a new database for you. -Original

Re: Orion Hosting Service

2000-09-18 Thread Jason von Nieda
System.exit() is a SecurityManager protected method. If a security manager is installed it will be checked before exit is allowed. - Original Message - From: "Robert Krueger" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Monday, September 18, 2000 3:05 AM Subject: Re:

Database mistake

2000-09-18 Thread Jennifer Grechuk
Hello everyone, In an attempt to learn Orion, I have been working on orion-cmp-primer (from http://www.jollem.com/orion-cmp-primer/ ) , but I can't get it to work. When I start up Orion I get the following message: Auto-deploying Orion CMP Primer Web Application (Assembly has been updated)...

Standalone client

2000-09-18 Thread Martin Andersson
I would like to know how to use a standalone client to access EJB in Orion. I have no problem using these beans from a JSP-page within Orion but trying to access them from outside Orion doesn't work. It has something to do with the JNDI-context.It would save me a lot of time if somewhone

Re: SV: Orion Sybase

2000-09-18 Thread Sven van 't Veer
[EMAIL PROTECTED] wrote: Put the datasource of the database you want the tables to autodeploy in first in the datasources-xml. Or remove autocreatetable support and deploy, then edit orion-ejb.jar.xml to point to the right datasource, then enable autocreate option and redeploy again.

Re:

2000-09-18 Thread Nick Newman
Hi, 1) I think the EJB and the servlet will have to be two modules in the same application. 2) The ejb-ref should NOT be commented out. 3) The lookup string should be "java:comp/env/Stamp", not "Stamp" 4) The context should be set calling just new InitialContext() without args (the

Re: create a web-app not through a .ear ??

2000-09-18 Thread Derek Akers
How do you stop Orion Server ? Just close the DOS window (in Windows sys) ? Do you know any another safer and nice way to do this ? === Hey Bubble. if you start Orion using the console (promptjava -jar orion.jar -console2) then you can stop

Re: Orion Hosting Service

2000-09-18 Thread alexchud
Robert, To be honest, this is something that i havent tried :).. And probably wont for the time being heh.. As far as I know, your absolutly right it will take down the server but there again, perhaps the latest versions of orion have new functionality in this regard. Alex Try

autocreating tables

2000-09-18 Thread Sven van 't Veer
When orion autocreates tables, string fields are always represented as char(255). How do i change this behavior so it will create for example: String name as char(25) String firstname as char(20) String zipcode as char(8) etc. Sven --

HttpSessions timeout too early

2000-09-18 Thread Mattias Arbin
Hi. I (still) have problems with HttpSessions that timeout too early in a secure web-site. We have a registration servlet that works in two stages: 1. Verify a one-time-password needed to enable registration. If correct, put an object into the session by using setAttribute("myObject",new

Re: Benchmarks

2000-09-18 Thread Karl Avedal
Hello Christof, Scott Ferguson (the Caucho guy) tested a later version on Orion (and a newer Resin) in April and got these results for a simple Hello world JSP: 1 client/no keepalive (in ops per second), IBM JDK 1.2: Orion: 428 Resin: 234 4 clients/ 4 keepalives Orion: 717 Resin: 311 Scott

Re: Security Role-Group/user mapping

2000-09-18 Thread Nick Newman
Hi Denis, Yes! Thank you! I have reported this problem several times myself (before bugzilla). I found that if you change your ejb-jar.xml file to (incorrectly) use the GROUP name instead of the ROLE name, then access is granted. However, the behaviour also depends on where you specify the

Re: autocreating tables

2000-09-18 Thread Robert Krueger
At 12:21 18.09.00 , you wrote: When orion autocreates tables, string fields are always represented as char(255). How do i change this behavior so it will create for example: String name as char(25) String firstname as char(20) String zipcode as char(8) look at the dtd for orion-ejb-jar.xml

Re[2]: XSL Parser Error

2000-09-18 Thread Dylan Parker
Friday, September 15, 2000, 11:37:18 AM, you wrote: I believe this is a problem with Xalan, not orion. I replaced the default xsl servlet with the xsl servlet available fro www.orionsupport.com using saxon, and it works like a beauty. Excellent! Thanks for the tip... I just did the same

User/Group manager guide

2000-09-18 Thread Guilherme Ceschiatti
Hi! I'm almost leaving Orion because the lack of documentation, mainly about how to manage User/Groups. As many people have lots of doubts related to it too, I'm asking the Orion team or anybody else to write a tutorial about it. I really don't want to leave Orion, because I've made good things

How to use EJB2.0 on Orion

2000-09-18 Thread Vimal Kansal
Can somebody point to me in the right direction on how to use EJB2.0 on Orion? I did update my Orion to 1.3.6 but still my ATM application is EJB1.1 stuff.Where is the EJB2.0 version? TIA Vimal Kansal __ Do You Yahoo!? Yahoo! Mail - Free email

Re: CMP java.util.Date property on Postgres

2000-09-18 Thread Vlad Petric
[EMAIL PROTECTED] wrote: I have an entity bean that contains a java.util.Date property. Creating works fine, but when I using a finder method, I get the following error: com.evermind.server.rmi.OrionRemoteException: Database error: Bad Timestamp Format at 19 in 2000-09-18 14:08:47.86-04;

RE: User/Group manager guide

2000-09-18 Thread Lawrence Fry
Guilherme, Here Here! I'm glad somebody said it. But without documentation, you should look at the archives to this list, because many of these problems have already been worked out. For example...it isn't said anywhere in the documentation, but the EJBUserManager is the most useful device for

Changing data outside orion doesn't reflect in orion calls.

2000-09-18 Thread Claudio Miranda
Dears, I am using Orion 1.3.6, with Oracle 8i as rdbms, with an app with some entity, sessions, web-app, all working fine and quickly (congratulations orion team, your product is very good, and easy to understand), so, when orion is up, and someone change data from any sql tool

xml validation

2000-09-18 Thread Derek Akers
I am building an application that received xml from various sources and does various things with it... I am currently trying to figure out how to validate an xml string/source against a given dtd (ie - does xml "x" conform to dtd "y")... does anyone have any suggestions as to how I can go

Entity bean locking in transactions

2000-09-18 Thread Joel Shellman
I heard that an entity bean is always locked whenever it's involved (not sure what "involved" means, anyone know?) in a transaction. So if one transaction calls into an entity bean, it's locked until that transaction completes. So if any other transaction tries to access it, it blocks until the

Re: CMP java.util.Date property on Postgres

2000-09-18 Thread Lorin Kobashigawa-Bates
I got this also, The problem is with the implementation of getDate() in the PostGres Drivers. It is a very big hassle to fix. It throws a parse exception when trying to do a SimpleDateFormat on the String coming from the Database. Once i fixed that, I also ran into a problem where it seems

Re: User/Group manager guide

2000-09-18 Thread Karl Avedal
Hello, There's already a guide about this being written. Regards, Karl Avedal Guilherme Ceschiatti wrote: Hi! I'm almost leaving Orion because the lack of documentation, mainly about how to manage User/Groups. As many people have lots of doubts related to it too, I'm asking the Orion

Re: Changing data outside orion doesn't reflect in orion calls.

2000-09-18 Thread Karl Avedal
Hello Claudio, Set exclusive-write-access="false" in entity-deployment in orion-ejb-jar.xml. We just corrected some bugs related to this however, so I recommend getting a new version tomorrow. Regards, Karl Avedal Claudio Miranda wrote: Dears, I am using Orion 1.3.6, with

No Subject

2000-09-18 Thread chenbin
karlhello karl: I see your clustering howto .It's great docs! but when i try to clustered two orion server ,i have some problem. three computers run's orion and loadbalancer also is: 1) nts 4 + sp6a ,IE 5.01 2)sun jdk1.3 + hotspot 2.0 server version, 3)orion version 1.3.3 and 1.3.5 4)in my lan

Re: Changing data outside orion doesn't reflect in orion calls.

2000-09-18 Thread Joel Shellman
It's because the entity beans are cached. So they don't resync from the database because they think they are the only things that touch that data. Try setting exclusive-write-access="false" in your orion-ejb-jar.xml file. This will make it so it will not cache like that, but will resync from the

RE: xml validation

2000-09-18 Thread Lawrence Fry
Derek, Go to xml.apache.org, this is where the xerces parser project is located. I use this parser. Here is a bit of code to parse a document...it uses sun's javax extensions for "pluggable" parser, so it will work with any parser. If you download the xerces stuff and put it in the orion

HELP: Continuing problems under heavy concurrent load!!!

2000-09-18 Thread Simon Harris
I have two clients accessing a stateless session bean (TX_REQUIRED). We are running Orion 1.2.9and DB2 on the same machine under Win/NT SP5. Doesn't seem to matter what transaction attributes we use, we always get these errors. Under heavy load, I get the following exception onone client:

RE: User/Group manager guide

2000-09-18 Thread Michael Mok
Karl Where is this guide found? Any URL to the Orion Website or .HTML folder in the installed Orion directory? TIA Michael Mok -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Karl Avedal Sent: Tuesday, 19 September 2000 9:45 To: Orion-Interest

Re: User/Group manager guide

2000-09-18 Thread Jason Rimmer
I think the operative phrase here is "being written", e.g. in process. When it's done I'm sure we'll hear about it first on this list. Michael Mok wrote: Karl Where is this guide found? Any URL to the Orion Website or .HTML folder in the installed Orion directory? TIA