EJB 2.0 Approved

2001-09-10 Thread Solinsky, Jason



I haven't seen 
anything here about this:

http://www.jcp.org/jsr/results/19-15-1.jsp

The EJB 2.0 Standard 
was approved by the Java Community Process on Wednesday the 4th. Now that the 
orion developers can be sure that the standard will not change, what sort of 
timeline can we expect for implementation? The most critical component for me is 
the Local Interface.

It 
isinteresting that at Java One Larry Ellison bragged about how Oracle 
would be the first to implement EJB 2.0 using their brand new platform (Orion 
didn't get any direct mention). If Orion (or Oracle) is truly is to beat 
Weblogic in this race, then there must already be some developed code that 
hasn't been released.

JWS



 This e-mail communication and any attachments are confidential and intended only for the use of the designated recipients named above.  If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, or distribution of it or its contents is prohibited.  If you have received this communication in error, please notify USPowerSolutions Corporation immediately by telephone at (617)547-3800 or via e-mail at [EMAIL PROTECTED] and destroy all copies of this communication and any attachments. 




RE: EJB 2.0 Approved

2001-09-10 Thread The elephantwalker



If 
anybody is at JAOO this week, please ask Karl about this.

Regards,

the 
elephantwalker


  -Original Message-From: 
  [EMAIL PROTECTED] 
  [mailto:[EMAIL PROTECTED]]On Behalf Of Solinsky, 
  JasonSent: Monday, September 10, 2001 12:01 AMTo: 
  Orion-InterestSubject: EJB 2.0 Approved
  I haven't seen 
  anything here about this:
  
  http://www.jcp.org/jsr/results/19-15-1.jsp
  
  The EJB 2.0 
  Standard was approved by the Java Community Process on Wednesday the 4th. Now 
  that the orion developers can be sure that the standard will not change, what 
  sort of timeline can we expect for implementation? The most critical component 
  for me is the Local Interface.
  
  It 
  isinteresting that at Java One Larry Ellison bragged about how Oracle 
  would be the first to implement EJB 2.0 using their brand new platform (Orion 
  didn't get any direct mention). If Orion (or Oracle) is truly is to beat 
  Weblogic in this race, then there must already be some developed code that 
  hasn't been released.
  
  JWS
  This e-mail communication and any attachments are 
  confidential and intended only for the use of the designated recipients named 
  above. If you are not the intended recipient, you are hereby notified that you 
  have received this communication in error and that any review, disclosure, 
  dissemination, or distribution of it or its contents is prohibited. If you 
  have received this communication in error, please notify USPowerSolutions 
  Corporation immediately by telephone at (617)547-3800 or via e-mail at 
  [EMAIL PROTECTED] and destroy all copies of this communication and any 
  attachments. 


Re: Changing the RMI Port

2001-09-10 Thread Kesav Kumar



In orion config directory there will be a file 
named rmi.xml. In rmi.xml you can give different port number.

  - Original Message - 
  From: 
  Rajiv R 
  
  To: Orion-Interest 
  Sent: Sunday, September 09, 2001 10:22 
  PM
  Subject: Changing the RMI Port
  
  
  Hi...
  
  I am Rajiv from India. Can I run to instances of orion, in the same machine. I have 
  created a copy of orion and changed the HTTP port. I guess, i have to change 
  the default rmi port too? isnt it? Where do I change the rmi port? Please 
  help.
  
  thanx
  With Regards,Rajiv. 
R


Orion on Macintosh

2001-09-10 Thread Johan Fredriksson



Anyone tried to run Orion on a Mac OS X 
machine?

And if anyone have, I'd like to know about problems 
you had. Any porting problems from Microsoft development to production 
Mac...?

Thanks in advance



Johan


Re: Orion and properties (Anyone used a CORBA client within Orion?)

2001-09-10 Thread Johan Fredriksson

Have you tried the

-Xms64m -Xmx128m

options to java?

Type

java -X

for help

Johan
- Original Message -
From: Adam Cassar [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Monday, September 10, 2001 5:54 AM
Subject: Orion and properties (Anyone used a CORBA client within Orion?)


 Guys!

 I hope some of you can shed some light on this problem.

 I am (attempting) to use a stateless session bean as a corba client. I
 place (openORB or JacORB) inside orion/lib and set up its properties
 file.

 All I get when I attempt to use it in  a session bean (however it works in
 a plain class) is

 9/10/01 1:49 PM Error in bean SomeBean
 java.lang.StackOverflowError
 at java.util.Properties.getProperty(Properties.java:478)
 at com.evermind.server.ApplicationServerSystemProperties._grc(Unknown
Source)
 at com.evermind._ck._xpb(Unknown Source)
 at com.evermind._ck._xpb(Unknown Source)
 at
com.evermind.server.ApplicationServerSystemProperties.getProperty(Unknown
Source)
 at java.lang.System.getProperty(System.java:562)
 at com.evermind.server.ApplicationServer._xh(Unknown Source)
 at com.evermind._ck._xpb(Unknown Source)
 at com.evermind._ck._xpb(Unknown Source)
 at
com.evermind.server.ApplicationServerSystemProperties.getProperty(Unknown
Source)
 at java.lang.System.getProperty(System.java:562)
 at com.evermind.server.ApplicationServer._xh(Unknown Source)
 at com.evermind._ck._xpb(Unknown Source)
 at com.evermind._ck._xpb(Unknown Source)
 at
com.evermind.server.ApplicationServerSystemProperties.getProperty(Unknown
Source)

 this goes on and on and on.

 Obviously orion doesn't like this, the thing is, how can I make it work?

 Ideas, suggestions ANYTHING? :)

 TIA






Re: Orion on Macintosh

2001-09-10 Thread Hani Suleiman

Works perfectly, the only issue is that OSX's java impl does not seem to
honour shutdown hooks, so you can't get a clean shutdown with control-C,
but everything works fine if you shutdown/restart through admin.jar. Oh
and the console is absolutely beautiful with the aqua LAF

On Mon, 10 Sep 2001, Johan Fredriksson wrote:

 Anyone tried to run Orion on a Mac OS X machine?
 
 And if anyone have, I'd like to know about problems you had. Any porting problems 
from Microsoft development to production Mac...?
 
 Thanks in advance
 
 
 
 Johan
 





AW:RE: EJB 2.0 Approved

2001-09-10 Thread Markus . Meisterernst

Hi,

as far as I know there is no cluster support for EJBs with the current version of the 
Orion server.
Hence this means that the WebContainer and EJB Container are executed in the same 
virtual machine by default. 
This is ok, since RMI calls are expensive, so, if you don't have massive Front-End 
processing then you're not interested
in separating the Web- from the EJB container.
I guess Orion is doing the same as BEA WLS 5.1, this means, if the RMI call is going 
to the same virtual machine then it is resolved as a local call.
The specification of local references is just an effort to make this performance 
optimization explicit and binding. 

Cheers,

Markus Meisterernst


***
T-Systems CSM GmbH
Markus Meisterernst
IT Architekt
SyL Databases  Middleware 13
Landgrabenweg 151
53227 Bonn
Tel:  +49 228 936 3442
Fax:  +49 228 936 3476
E-Mail:   [EMAIL PROTECTED]
Internet: www.t-systems.de
***

If anybody is at JAOO this week, please ask Karl about this.
 
Regards,
 
the elephantwalker
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Solinsky,
Jason
Sent: Monday, September 10, 2001 12:01 AM
To: Orion-Interest
Subject: EJB 2.0 Approved


I haven't seen anything here about this:
 
http://www.jcp.org/jsr/results/19-15-1.jsp
http://www.jcp.org/jsr/results/19-15-1.jsp 
 
The EJB 2.0 Standard was approved by the Java Community Process on
Wednesday the 4th. Now that the orion developers can be sure that the
standard will not change, what sort of timeline can we expect for
implementation? The most critical component for me is the Local
Interface.
 
It is interesting that at Java One Larry Ellison bragged about how
Oracle would be the first to implement EJB 2.0 using their brand new
platform (Orion didn't get any direct mention). If Orion (or Oracle) is
truly is to beat Weblogic in this race, then there must already be some
developed code that hasn't been released.
 
JWS



This e-mail communication and any attachments are confidential and
intended only for the use of the designated recipients named above. If
you are not the intended recipient, you are hereby notified that you
have received this communication in error and that any review,
disclosure, dissemination, or distribution of it or its contents is
prohibited. If you have received this communication in error, please
notify USPowerSolutions Corporation immediately by telephone at
(617)547-3800 or via e-mail at [EMAIL PROTECTED] and destroy all
copies of this communication and any attachments. 




   
  







RE: RE: EJB 2.0 Approved

2001-09-10 Thread Solinsky, Jason

I have empirically observed a very high penalty on each call I make through
a remote interface in the same JVM in 1.5.2. I haven't attempted to figure
out how things are actually implemented, but something very expensive is
happening each time a same-VM call is made.

JWS

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 8:33 AM
To: Orion-Interest
Subject: AW:RE: EJB 2.0 Approved
Sensitivity: Confidential


Hi,

as far as I know there is no cluster support for EJBs with the current
version of the Orion server.
Hence this means that the WebContainer and EJB Container are executed in the
same virtual machine by default. 
This is ok, since RMI calls are expensive, so, if you don't have massive
Front-End processing then you're not interested
in separating the Web- from the EJB container.
I guess Orion is doing the same as BEA WLS 5.1, this means, if the RMI call
is going to the same virtual machine then it is resolved as a local call.
The specification of local references is just an effort to make this
performance optimization explicit and binding. 

Cheers,

Markus Meisterernst


***
T-Systems CSM GmbH
Markus Meisterernst
IT Architekt
SyL Databases  Middleware 13
Landgrabenweg 151
53227 Bonn
Tel:  +49 228 936 3442
Fax:  +49 228 936 3476
E-Mail:   [EMAIL PROTECTED]
Internet: www.t-systems.de
***

If anybody is at JAOO this week, please ask Karl about this.
 
Regards,
 
the elephantwalker
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Solinsky,
Jason
Sent: Monday, September 10, 2001 12:01 AM
To: Orion-Interest
Subject: EJB 2.0 Approved


I haven't seen anything here about this:
 
http://www.jcp.org/jsr/results/19-15-1.jsp
http://www.jcp.org/jsr/results/19-15-1.jsp 
 
The EJB 2.0 Standard was approved by the Java Community Process on
Wednesday the 4th. Now that the orion developers can be sure that the
standard will not change, what sort of timeline can we expect for
implementation? The most critical component for me is the Local
Interface.
 
It is interesting that at Java One Larry Ellison bragged about how
Oracle would be the first to implement EJB 2.0 using their brand new
platform (Orion didn't get any direct mention). If Orion (or Oracle) is
truly is to beat Weblogic in this race, then there must already be some
developed code that hasn't been released.
 
JWS



This e-mail communication and any attachments are confidential and
intended only for the use of the designated recipients named above. If
you are not the intended recipient, you are hereby notified that you
have received this communication in error and that any review,
disclosure, dissemination, or distribution of it or its contents is
prohibited. If you have received this communication in error, please
notify USPowerSolutions Corporation immediately by telephone at
(617)547-3800 or via e-mail at [EMAIL PROTECTED] and destroy all
copies of this communication and any attachments. 




   
  





 This e-mail communication and any attachments are confidential and intended
only for the use of the designated recipients named above.  If you are not
the intended recipient, you are hereby notified that you have received this
communication in error and that any review, disclosure, dissemination, or
distribution of it or its contents is prohibited.  If you have received this
communication in error, please notify USPowerSolutions Corporation
immediately by telephone at (617)547-3800 or via e-mail at
[EMAIL PROTECTED] and destroy all copies of this communication and
any attachments. 






RE: EJB 2.0 Approved

2001-09-10 Thread GUNDA, Satish / RSAIFS - IOM



Has it 
been declared approved formally? Or does the ballots suggest that it is going to 
be approved?

Has 
any of the app server vendors come out with plans in rolling out their EJB2.0 
servers?

Satish


-Original Message-From: Solinsky, Jason 
[mailto:[EMAIL PROTECTED]]Sent: Monday, September 10, 
2001 8:01 AMTo: Orion-InterestSubject: EJB 2.0 
ApprovedTHIS MESSAGE ORIGINATED ON THE 
INTERNET - Please read the detailed disclaimer 
below.--
I haven't seen 
anything here about this:

http://www.jcp.org/jsr/results/19-15-1.jsp

The EJB 2.0 Standard 
was approved by the Java Community Process on Wednesday the 4th. Now that the 
orion developers can be sure that the standard will not change, what sort of 
timeline can we expect for implementation? The most critical component for me is 
the Local Interface.

It 
isinteresting that at Java One Larry Ellison bragged about how Oraclew 
ould be the first to implement EJB 2.0 using their brand new platform (Orion 
didn't get any direct mention). If Orion (or Oracle) is truly is to beat 
Weblogic in this race, then there must already be some developed code thath 
asn't been released.

JWS--The 
following message has been automatically added by the mail gateway to comply 
with a Royal  Sun Alliance IT Security requirement:As this email 
arrived via the Internet you should be cautious about its origin and content. 
Replies which contain sensitive information or legal/contractual obligations are 
particularly vulnerable. In these cases you should not reply unless you are 
authorised to do so, and adequate encryption is employed.If you have any 
questions, please speak to your local desktop support team or IT security 
contact.--
This e-mail communication and any attachments are 
confidential and intended only for the use of the designated recipients named 
above. If you are not the intended recipient, you are hereby notified that you 
have received this communication in error and that any review, disclosure, 
dissemination, or distribution of it or its contents is prohibited. If you have 
received this communication in error, please notify USPowerSolutions Corporation 
immediately by telephone at (617)547-3800 or via e-mail at 
[EMAIL PROTECTED] and destroy all copies of this communication and any 
attachments. 


Re: Changing the RMI Port

2001-09-10 Thread Dmitriy Serebryakov



?xml 
version="1.0" ? 
 !DOCTYPE 
rmi-server (View Source for full doctype...) 

- 
rmi-server 
host="[ALL]" port="23791"

!-- A remote server connection example --

 
!-- server host="the.remote.server.com" username="adminUser" 
password="123abc" / --

 
!-- path to the log-file where RMI-events/errors are stored --

 

- 
 log


 
  file path="../log/rmi.log" 
/ 
 /log
/rmi-server

  - Original Message - 
  From: 
  Kesav Kumar 
  
  To: Orion-Interest 
  Sent: Monday, September 10, 2001 3:58 
  AM
  Subject: Re: Changing the RMI Port
  
  In orion config directory there will be a file 
  named rmi.xml. In rmi.xml you can give different port 
  number.
  
- Original Message - 
From: 
Rajiv R 

To: Orion-Interest 
Sent: Sunday, September 09, 2001 10:22 
PM
Subject: Changing the RMI Port


Hi...

I am Rajiv from India. Can I run to instances of orion, in the same machine. I have 
created a copy of orion and changed the HTTP port. I guess, i have to change 
the default rmi port too? isnt it? Where do I change the rmi port? Please 
help.

thanx
With Regards,Rajiv. 
  R


RE: EJB 2.0 Approved

2001-09-10 Thread Solinsky, Jason



The 
referenced web page contains the following statement:

"The Executive 
Commitee for SE/EE has approved this ballot."

JWS

  -Original Message-From: GUNDA, Satish / RSAIFS - IOM 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, September 10, 2001 
  9:44 AMTo: Orion-InterestSubject: RE: EJB 2.0 
  Approved
  Has 
  it been declared approved formally? Or does the ballots suggest that it is 
  going to be approved?
  
  Has 
  any of the app server vendors come out with plans in rolling out their EJB2.0 
  servers?
  
  Satish
  
  
  -Original Message-From: Solinsky, Jason 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, September 10, 
  2001 8:01 AMTo: Orion-InterestSubject: EJB 2.0 
  ApprovedTHIS MESSAGE ORIGINATED ON THE 
  INTERNET - Please read the detailed disclaimer 
  below.--
  I haven't seen 
  anything here about this:
  
  http://www.jcp.org/jsr/results/19-15-1.jsp
  
  The EJB 2.0 
  Standard was approved by the Java Community Process on Wednesday the 4th. Now 
  that the orion developers can be sure that the standard will not change, what 
  sort of timeline can we expect for implementation? The most critical component 
  for me is the Local Interface.
  
  It 
  isinteresting that at Java One Larry Ellison bragged about how Oraclew 
  ould be the first to implement EJB 2.0 using their brand new platform (Orion 
  didn't get any direct mention). If Orion (or Oracle) is truly is to beat 
  Weblogic in this race, then there must already be some developed code thath 
  asn't been released.
  
  JWS--The 
  following message has been automatically added by the mail gateway to comply 
  with a Royal  Sun Alliance IT Security requirement:As this email 
  arrived via the Internet you should be cautious about its origin and content. 
  Replies which contain sensitive information or legal/contractual obligations 
  are particularly vulnerable. In these cases you should not reply unless you 
  are authorised to do so, and adequate encryption is employed.If you 
  have any questions, please speak to your local desktop support team or IT 
  security 
  contact.--
  This e-mail communication and any attachments are 
  confidential and intended only for the use of the designated recipients named 
  above. If you are not the intended recipient, you are hereby notified that you 
  have received this communication in error and that any review, disclosure, 
  dissemination, or distribution of it or its contents is prohibited. If you 
  have received this communication in error, please notify USPowerSolutions 
  Corporation immediately by telephone at (617)547-3800 or via e-mail at 
  [EMAIL PROTECTED] and destroy all copies of this communication and any 
  attachments. 



 This e-mail communication and any attachments are confidential and intended only for the use of the designated recipients named above.  If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, or distribution of it or its contents is prohibited.  If you have received this communication in error, please notify USPowerSolutions Corporation immediately by telephone at (617)547-3800 or via e-mail at [EMAIL PROTECTED] and destroy all copies of this communication and any attachments. 




RE: ORacle db string over 4000 chars

2001-09-10 Thread Nusairat, Joseph F.
Title: RE: ORacle db string over 4000 chars





Ok  so i use a Clob ... then i save it with a setAsciiStream and get it with a getClob?


Does anyone have a quick example i could seee


thanks


Joseph Faisal Nusairat, Sr. Project Manager
WorldCom
tel: 614-723-4232
pager: 888-452-0399
textmsg: [EMAIL PROTECTED]



-Original Message-
From: Stephen Davidson [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 5:14 PM
To: Orion-Interest
Subject: Re: ORacle db string over 4000 chars



Hi Joseph.


Yes, we have seen this.


We found two solutions/workarounds.


Solution 1:
Set the field type to long varchar, and used the oracle 816classes12.zip
file for the drivers (the later ones have a bug in them that won't
handle strings over 2K).


Solution 2:
Set the field type to BLOB or CLOB (Binary/Character Large Object), and
read/write the data as a Stream.


Which solution to use (or whether they will apply for you) depends on
your needs. For the application I am working on, we are using both
solutions.


-Steve


 Nusairat, Joseph F. wrote:
 
 Does anyone know how to handle this oracle 8.x u can have a varchar
 set to 4k ... sooo to do more than that i tried using a long and a
 long raw  and inserting it that way ... however whenver i go over
 4000 chars it bombs  any one come across this problem?
 
 Joseph Faisal Nusairat, Sr. Project Manager
 WorldCom
 tel: 614-723-4232
 pager: 888-452-0399
 textmsg: [EMAIL PROTECTED]


-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208





RE: EJB 2.0 Approved

2001-09-10 Thread Ray Harrison

It's still officially in PFD status but will be approved with the release of J2EE 1.3 
coming out,
as I understand it. I believe BEA rolled it out with WebLogic 6.1. Pramati has it too. 
Others will
roll it out in the upcoming months - I assume Orion will be one of them. 
--- GUNDA, Satish / RSAIFS - IOM [EMAIL PROTECTED] wrote:
 Has it been declared approved formally? Or does the ballots suggest that it
 is going to be approved?
  
 Has any of the app server vendors come out with plans in rolling out their
 EJB2.0 servers?
  
 Satish
  
  
 -Original Message-
 From: Solinsky, Jason [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 10, 2001 8:01 AM
 To: Orion-Interest
 Subject: EJB 2.0 Approved
 
 
 THIS MESSAGE ORIGINATED ON THE INTERNET - Please read the detailed
 disclaimer below.
 --
 
 
 I haven't seen anything here about this:
  
 http://www.jcp.org/jsr/results/19-15-1.jsp
 http://www.jcp.org/jsr/results/19-15-1.jsp 
  
 The EJB 2.0 Standard was approved by the Java Community Process on Wednesday
 the 4th. Now that the orion developers can be sure that the standard will
 not change, what sort of timeline can we expect for implementation? The most
 critical component for me is the Local Interface.
  
 It is interesting that at Java One Larry Ellison bragged about how Oraclew
 ould be the first to implement EJB 2.0 using their brand new platform (Orion
 didn't get any direct mention). If Orion (or Oracle) is truly is to beat
 Weblogic in this race, then there must already be some developed code thath
 asn't been released.
  
 JWS
 
 
 --
 The following message has been automatically added by the mail gateway to
 comply with a Royal  Sun Alliance IT Security requirement:
 
 As this email arrived via the Internet you should be cautious about its
 origin and content. Replies which contain sensitive information or
 legal/contractual obligations are particularly vulnerable. In these cases
 you should not reply unless you are authorised to do so, and adequate
 encryption is employed.
 
 If you have any questions, please speak to your local desktop support team
 or IT security contact.
 --
 
 
 
 
 This e-mail communication and any attachments are confidential and intended
 only for the use of the designated recipients named above. If you are not
 the intended recipient, you are hereby notified that you have received this
 communication in error and that any review, disclosure, dissemination, or
 distribution of it or its contents is prohibited. If you have received this
 communication in error, please notify USPowerSolutions Corporation
 immediately by telephone at (617)547-3800 or via e-mail at
 [EMAIL PROTECTED] and destroy all copies of this communication and
 any attachments. 
 
 
 
 


__
Do You Yahoo!?
Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com




RE: RE: EJB 2.0 Approved

2001-09-10 Thread Trujillo, Kris



I'm pretty sure Orion does not perform their version of EJBLocal without
setting orion-ejb-jar copy-by-value=false in the orion-ejb-jar of the
EJB.  Setting this attribute will stop objects from being serialized passed
between the EJB and the client.  I am 99.9% sure that Orion does not perform
this function without the attribute being set...not even if the client to
the EJB is in the same VM.

Orion provides as much support for clustering of EJBs as does WL5.1..

Clustering stateless session beans..
Clustering of entity beans that aren't cached..

(Pretty weak!)


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 6:33 AM
To: Orion-Interest
Subject: AW:RE: EJB 2.0 Approved
Sensitivity: Confidential


Hi,

as far as I know there is no cluster support for EJBs with the current
version of the Orion server.
Hence this means that the WebContainer and EJB Container are executed in the
same virtual machine by default. 
This is ok, since RMI calls are expensive, so, if you don't have massive
Front-End processing then you're not interested
in separating the Web- from the EJB container.
I guess Orion is doing the same as BEA WLS 5.1, this means, if the RMI call
is going to the same virtual machine then it is resolved as a local call.
The specification of local references is just an effort to make this
performance optimization explicit and binding. 

Cheers,

Markus Meisterernst


***
T-Systems CSM GmbH
Markus Meisterernst
IT Architekt
SyL Databases  Middleware 13
Landgrabenweg 151
53227 Bonn
Tel:  +49 228 936 3442
Fax:  +49 228 936 3476
E-Mail:   [EMAIL PROTECTED]
Internet: www.t-systems.de
***

If anybody is at JAOO this week, please ask Karl about this.
 
Regards,
 
the elephantwalker
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Solinsky,
Jason
Sent: Monday, September 10, 2001 12:01 AM
To: Orion-Interest
Subject: EJB 2.0 Approved


I haven't seen anything here about this:
 
http://www.jcp.org/jsr/results/19-15-1.jsp
http://www.jcp.org/jsr/results/19-15-1.jsp 
 
The EJB 2.0 Standard was approved by the Java Community Process on
Wednesday the 4th. Now that the orion developers can be sure that the
standard will not change, what sort of timeline can we expect for
implementation? The most critical component for me is the Local
Interface.
 
It is interesting that at Java One Larry Ellison bragged about how
Oracle would be the first to implement EJB 2.0 using their brand new
platform (Orion didn't get any direct mention). If Orion (or Oracle) is
truly is to beat Weblogic in this race, then there must already be some
developed code that hasn't been released.
 
JWS



This e-mail communication and any attachments are confidential and
intended only for the use of the designated recipients named above. If
you are not the intended recipient, you are hereby notified that you
have received this communication in error and that any review,
disclosure, dissemination, or distribution of it or its contents is
prohibited. If you have received this communication in error, please
notify USPowerSolutions Corporation immediately by telephone at
(617)547-3800 or via e-mail at [EMAIL PROTECTED] and destroy all
copies of this communication and any attachments. 




   
  







RE: ORacle db string over 4000 chars

2001-09-10 Thread Komal Kandi (Contractor)

here is sample link for Clob datatype
http://technet.oracle.com/doc/java.815/a64685/samapp2.htm
http://technet.oracle.com/doc/java.815/a64685/samapp2.htm

-Original Message-
From: Nusairat, Joseph F. [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 8:49 AM
To: Orion-Interest
Subject: RE: ORacle db string over 4000 chars



Ok  so i use a Clob ... then i save it with a setAsciiStream and get
it with a getClob? 

Does anyone have a quick example i could seee 

thanks 

Joseph Faisal Nusairat, Sr. Project Manager 
WorldCom 
tel: 614-723-4232 
pager: 888-452-0399 
textmsg: [EMAIL PROTECTED] 


-Original Message- 
From: Stephen Davidson [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ] 
Sent: Friday, September 07, 2001 5:14 PM 
To: Orion-Interest 
Subject: Re: ORacle db string over 4000 chars 


Hi Joseph. 

Yes, we have seen this. 

We found two solutions/workarounds. 

Solution 1: 
Set the field type to long varchar, and used the oracle 816classes12.zip

file for the drivers (the later ones have a bug in them that won't 
handle strings over 2K). 

Solution 2: 
Set the field type to BLOB or CLOB (Binary/Character Large Object), and 
read/write the data as a Stream. 

Which solution to use (or whether they will apply for you) depends on 
your needs.  For the application I am working on, we are using both 
solutions. 

-Steve 

 Nusairat, Joseph F. wrote: 
 
 Does anyone know how to handle this oracle 8.x u can have a varchar 
 set to 4k ... sooo to do more than that i tried using a long and a 
 long raw  and inserting it that way ... however whenver i go over 
 4000 chars it bombs  any one come across this problem? 
 
 Joseph Faisal Nusairat, Sr. Project Manager 
 WorldCom 
 tel: 614-723-4232 
 pager: 888-452-0399 
 textmsg: [EMAIL PROTECTED] 

-- 
Stephen Davidson 
Java Consultant 
Delphi Consultants, LLC 
http://www.delphis.com http://www.delphis.com  
Phone: 214-696-6224 x208 






RE: ORacle db string over 4000 chars

2001-09-10 Thread The elephantwalker

Take care with these instructions from Oracle...they will work for about a
day, and then your server will chokewith an arghhh!

The instructions leave out the need for the finally block around all
blob/clob work that makes sure that all read/writes are closed, that
statements are closed, and that the sql connection is closed.


regards,

the elephantwalker





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Komal Kandi
(Contractor)
Sent: Monday, September 10, 2001 9:31 AM
To: Orion-Interest
Cc: Nusairat, Joseph F.
Subject: RE: ORacle db string over 4000 chars


here is sample link for Clob datatype
http://technet.oracle.com/doc/java.815/a64685/samapp2.htm
http://technet.oracle.com/doc/java.815/a64685/samapp2.htm

-Original Message-
From: Nusairat, Joseph F. [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 8:49 AM
To: Orion-Interest
Subject: RE: ORacle db string over 4000 chars



Ok  so i use a Clob ... then i save it with a setAsciiStream and get
it with a getClob?

Does anyone have a quick example i could seee

thanks

Joseph Faisal Nusairat, Sr. Project Manager
WorldCom
tel: 614-723-4232
pager: 888-452-0399
textmsg: [EMAIL PROTECTED]


-Original Message-
From: Stephen Davidson [ mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] ]
Sent: Friday, September 07, 2001 5:14 PM
To: Orion-Interest
Subject: Re: ORacle db string over 4000 chars


Hi Joseph.

Yes, we have seen this.

We found two solutions/workarounds.

Solution 1:
Set the field type to long varchar, and used the oracle 816classes12.zip

file for the drivers (the later ones have a bug in them that won't
handle strings over 2K).

Solution 2:
Set the field type to BLOB or CLOB (Binary/Character Large Object), and
read/write the data as a Stream.

Which solution to use (or whether they will apply for you) depends on
your needs.  For the application I am working on, we are using both
solutions.

-Steve

 Nusairat, Joseph F. wrote:

 Does anyone know how to handle this oracle 8.x u can have a varchar
 set to 4k ... sooo to do more than that i tried using a long and a
 long raw  and inserting it that way ... however whenver i go over
 4000 chars it bombs  any one come across this problem?

 Joseph Faisal Nusairat, Sr. Project Manager
 WorldCom
 tel: 614-723-4232
 pager: 888-452-0399
 textmsg: [EMAIL PROTECTED]

--
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com http://www.delphis.com
Phone: 214-696-6224 x208







Limiting Privileges in principals.xml

2001-09-10 Thread Doug Graesser

Hello

I would like to allow an external user to have access to some EJB methods.

I have successfully set all the security constraints, however
the only way I have found to get my client app to work is with the
following entry in principals.xml

principals
groups
group name=RemoteAccess
descriptionRemoteAccess/description
permission name=administration /
/group
/groups
users
user username=remote password=access
descriptionRemote Access Group/description
group-membership group=RemoteAccess /
/user
/users
/principals


The problem is that the line 

permission name=administration /

in the groups tag gives too much privilege to the remote user,
for example, the remote user can shutdown the server.

If I remove this line, there is a security exception thrown.

I have not found a setting that will allow the user to have access to 
an ejb method, but not access to server commands.

Does anyone know of other permission names?

Thank You

Doug Graesser




RE: EJB 2.0 Approved

2001-09-10 Thread steve . d . meacham

I understand that BEA will support it in version 6 which should be 
available real-soon-now.
 
Steven

-Original Message-
From: satish.gunda [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 8:44 AM
To: orion-interest
Subject: RE: EJB 2.0 Approved




Has it been declared approved formally? Or does the ballots suggest 
that it is going to be approved?
 
Has any of the app server vendors come out with plans in rolling out 
their EJB2.0 servers?
 
Satish
 
 
-Original Message-
From: Solinsky, Jason [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 8:01 AM
To: Orion-Interest
Subject: EJB 2.0 Approved


THIS MESSAGE ORIGINATED ON THE INTERNET - Please read the detailed 
disclaimer below.
--


I haven't seen anything here about this:
 
http://www.jcp.org/jsr/results/19-15-1.jsp
 
The EJB 2.0 Standard was approved by the Java Community Process on 
Wednesday the 4th. Now that the orion developers can be sure that the 
standard will not change, what sort of timeline can we expect for 
implementation? The most critical component for me is the Local 
Interface.
 
It is interesting that at Java One Larry Ellison bragged about how 
Oraclew ould be the first to implement EJB 2.0 using their brand new 
platform (Orion didn't get any direct mention). If Orion (or Oracle) is 
truly is to beat Weblogic in this race, then there must already be some 
developed code thath asn't been released.
 
JWS


--
The following message has been automatically added by the mail gateway 
to comply with a Royal  Sun Alliance IT Security requirement:

As this email arrived via the Internet you should be cautious about its 
origin and content. Replies which contain sensitive information or 
legal/contractual obligations are particularly vulnerable. In these 
cases you should not reply unless you are authorised to do so, and 
adequate encryption is employed.

If you have any questions, please speak to your local desktop support 
team or IT security contact.
--




This e-mail communication and any attachments are confidential and 
intended only for the use of the designated recipients named above. If 
you are not the intended recipient, you are hereby notified that you 
have received this communication in error and that any review, 
disclosure, dissemination, or distribution of it or its contents is 
prohibited. If you have received this communication in error, please 
notify USPowerSolutions Corporation immediately by telephone at 
(617)547-3800 or via e-mail at [EMAIL PROTECTED] and destroy all 
copies of this communication and any attachments. 










Cross Linking ejb's from different Applications?

2001-09-10 Thread Pavan Dinavahi

My ejb needs a ref for another ejb which is in a different application in
the same server.
I am having Lookup problems.
My ejb-jar.xml specifies the ejb-ref
My problem is i wanna know what i should specify in the orion-ejb-jar.xml
for
location for ejb-ref tag:ejb-ref-mapping location=??? name=name as in
ejb ref in ejb-jar.xml /

DO i need anything special in the orion-application.xml for namespaces ??.

I really appreciate anyone who can give me a step by step procedure for
enabling cross linking ejb's from different applications.

Thanks,
Pavan





Re: Orion and properties (Anyone used a CORBA client within Orion?)

2001-09-10 Thread Adam Cassar

Didn't help unfortunately. :(

On Mon, Sep 10, 2001 at 01:06:56PM +0200, Johan Fredriksson wrote:
 Have you tried the
 
 -Xms64m -Xmx128m
 
 options to java?
 
 Type
 
 java -X
 
 for help
 
 Johan
 - Original Message -
 From: Adam Cassar [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Monday, September 10, 2001 5:54 AM
 Subject: Orion and properties (Anyone used a CORBA client within Orion?)
 
 
  Guys!
 
  I hope some of you can shed some light on this problem.
 
  I am (attempting) to use a stateless session bean as a corba client. I
  place (openORB or JacORB) inside orion/lib and set up its properties
  file.
 
  All I get when I attempt to use it in  a session bean (however it works in
  a plain class) is
 
  9/10/01 1:49 PM Error in bean SomeBean
  java.lang.StackOverflowError
  at java.util.Properties.getProperty(Properties.java:478)
  at com.evermind.server.ApplicationServerSystemProperties._grc(Unknown
 Source)
  at com.evermind._ck._xpb(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at
 com.evermind.server.ApplicationServerSystemProperties.getProperty(Unknown
 Source)
  at java.lang.System.getProperty(System.java:562)
  at com.evermind.server.ApplicationServer._xh(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at
 com.evermind.server.ApplicationServerSystemProperties.getProperty(Unknown
 Source)
  at java.lang.System.getProperty(System.java:562)
  at com.evermind.server.ApplicationServer._xh(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at
 com.evermind.server.ApplicationServerSystemProperties.getProperty(Unknown
 Source)
 
  this goes on and on and on.
 
  Obviously orion doesn't like this, the thing is, how can I make it work?
 
  Ideas, suggestions ANYTHING? :)
 
  TIA
 
 
 
 
 

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.net
D: +61 2 9641 8609 | F: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia




RE: Cross Linking ejb's from different Applications?

2001-09-10 Thread Kesav Kumar
Title: RE: Cross Linking ejb's from different Applications?





Invoking ejb from different machine is same as invoking ejb from different application.


For invoking ejb which got deployed in another application you have to provide the PROVIDER_URL in getting the while creating the initial context.

Steps:


Hashtable env = new Hashtable();
env.put(Context.PROVIDER_URL, ormi://localhost/appname);
Context ctx = new InitialContext(env);


Now make a lookup for your EJB. No need to give any ejb-ref elements in the web.xml.


Kesav Kumar Kolla
Voquette Inc
650 356 3740(W)
510 889 6840(R)
VoquetteDelivering Sound Information




-Original Message-
From: Pavan Dinavahi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 1:39 PM
To: Orion-Interest
Subject: Cross Linking ejb's from different Applications?



My ejb needs a ref for another ejb which is in a different application in
the same server.
I am having Lookup problems.
My ejb-jar.xml specifies the ejb-ref
My problem is i wanna know what i should specify in the orion-ejb-jar.xml
for
location for ejb-ref tag:ejb-ref-mapping location=??? name=name as in
ejb ref in ejb-jar.xml /


DO i need anything special in the orion-application.xml for namespaces ??.


I really appreciate anyone who can give me a step by step procedure for
enabling cross linking ejb's from different applications.


Thanks,
Pavan





RE: Cross Linking ejb's from different Applications?

2001-09-10 Thread Doug Graesser

I use a method like the one shown below to call an ejb from the same
application,
where the call looks like

MyEJBHome home = (MyEJBHome ) getJNDIObject(ejb/MyEJB ,
MemberPartHome.class);

private Object getJNDIObject(String location, Class narrowClass) throws
NamingException
{
Context context;
Object obj;
try
{
context = new InitialContext();
System.out.println(Context Made);

obj = context.lookup( location );
System.out.println(Object retrieved   + obj);
}
catch(NamingException ne)
{
System.err.println(Unable to find named object:  + location );
ne.printStackTrace();
throw new NamingException( ne.getMessage() );
}

Object home = PortableRemoteObject.narrow(obj, narrowClass);
   
return home;
}

If you modify to context definition 

to  context = new InitialContext( env );

and env is ( input your data )

Properties env = new Properties();

env.put( Context.INITIAL_CONTEXT_FACTORY, javaNamingFactoryInitial
);
env.put( Context.PROVIDER_URL, javaNamingProviderUrl );
env.put( Context.SECURITY_PRINCIPAL, javaNamingSecurityPrincipal );
env.put( Context.SECURITY_CREDENTIALS, javaNamingSecurityCredentials
);

You should be able to define a different application on the same, or some
other machine.




-Original Message-
From: Pavan Dinavahi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 1:39 PM
To: Orion-Interest
Subject: Cross Linking ejb's from different Applications?


My ejb needs a ref for another ejb which is in a different application in
the same server.
I am having Lookup problems.
My ejb-jar.xml specifies the ejb-ref
My problem is i wanna know what i should specify in the orion-ejb-jar.xml
for
location for ejb-ref tag:ejb-ref-mapping location=??? name=name as in
ejb ref in ejb-jar.xml /

DO i need anything special in the orion-application.xml for namespaces ??.

I really appreciate anyone who can give me a step by step procedure for
enabling cross linking ejb's from different applications.

Thanks,
Pavan





RE: Orion and properties (Anyone used a CORBA client within Orion?)

2001-09-10 Thread Colin Jacobs

IME StackOverFlowError occurs when you have some accidental recursion. Look
at the stack - could this be the case?

COlin

-Original Message-
From: Adam Cassar [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 10, 2001 3:45 PM
To: Orion-Interest
Subject: Re: Orion and properties (Anyone used a CORBA client within
Orion?)


Didn't help unfortunately. :(

On Mon, Sep 10, 2001 at 01:06:56PM +0200, Johan Fredriksson wrote:
 Have you tried the
 
 -Xms64m -Xmx128m
 
 options to java?
 
 Type
 
 java -X
 
 for help
 
 Johan
 - Original Message -
 From: Adam Cassar [EMAIL PROTECTED]
 To: Orion-Interest [EMAIL PROTECTED]
 Sent: Monday, September 10, 2001 5:54 AM
 Subject: Orion and properties (Anyone used a CORBA client within Orion?)
 
 
  Guys!
 
  I hope some of you can shed some light on this problem.
 
  I am (attempting) to use a stateless session bean as a corba client. I
  place (openORB or JacORB) inside orion/lib and set up its properties
  file.
 
  All I get when I attempt to use it in  a session bean (however it works
in
  a plain class) is
 
  9/10/01 1:49 PM Error in bean SomeBean
  java.lang.StackOverflowError
  at java.util.Properties.getProperty(Properties.java:478)
  at com.evermind.server.ApplicationServerSystemProperties._grc(Unknown
 Source)
  at com.evermind._ck._xpb(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at
 com.evermind.server.ApplicationServerSystemProperties.getProperty(Unknown
 Source)
  at java.lang.System.getProperty(System.java:562)
  at com.evermind.server.ApplicationServer._xh(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at
 com.evermind.server.ApplicationServerSystemProperties.getProperty(Unknown
 Source)
  at java.lang.System.getProperty(System.java:562)
  at com.evermind.server.ApplicationServer._xh(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at com.evermind._ck._xpb(Unknown Source)
  at
 com.evermind.server.ApplicationServerSystemProperties.getProperty(Unknown
 Source)
 
  this goes on and on and on.
 
  Obviously orion doesn't like this, the thing is, how can I make it work?
 
  Ideas, suggestions ANYTHING? :)
 
  TIA
 
 
 
 
 

-- 

Adam Cassar
Technical Development Manager
___  
NetRegistry http://www.netregistry.net
D: +61 2 9641 8609 | F: +61 2 9699 6088
PO Box 270 Broadway NSW 2007 Australia




Message Driven Bean destination-location

2001-09-10 Thread Darryl Dieckman

I'm trying to setup a message driven bean and am getting an error
during deployment that I don't understand.  Here is the error the
I am getting:

Auto-deploying jmsdemoEjb.jar (ejb-jar.xml had been touched since the
previous deployment)... done.
Error deploying
file:/C:/utils/oc4j/j2ee/home/applications/jmsdemo/jmsdemoEjb.jar homes: No
javax.jms.Destination found at the specified destination-location
(java:comp/env/jms/theQueue) for MessageDrivenBean cache/CacheMDBean

This seems to be telling me that 'theQueue' is not of the type
javax.jms.Destination, correct?

Here is my jms.xml:

jms-server port=9127

  queue-connection-factory
location=java:comp/env/jms/theQueueConnectionFactory /

  queue
name=The Queue
location=java:comp/env/jms/theQueue 
descriptionThe JMS Demo Queue/description
  /queue

  !-- path to the log-file where JMS-events/errors are stored --
  log
file path=../log/jms.log /
  /log
/jms-server

And here is my ejb-jar.xml:

message-driven
  ejb-namecache/CacheMDBean/ejb-name
  ejb-classcom.optimaxx.server.rms.CacheMDBean/ejb-class
  transaction-typeContainer/transaction-type
  acknowledge-modeauto-acknowledge/acknowledge-mode

  message-driven-destination
destination-typejavax.jms.Queue/destination-type
  /message-driven-destination

  resource-ref

res-ref-namejava:comp/env/jms/theQueueConnectionFactory/res-ref-name
res-typejavax.jms.QueueConnectionFactory/res-type
res-authContainer/res-auth
  /resource-ref

  resource-ref
res-ref-namejava:comp/env/jms/theQueue/res-ref-name
res-typejavax.jms.Queue/res-type
res-authContainer/res-auth
  /resource-ref

/message-driven

And finally here is my orion-ejb-jar.xml:

  message-driven-deployment name=cache/CacheMDBean

connection-factory-location=java:comp/env/jms/theQueueConnectionFactory
destination-location=java:comp/env/jms/theQueue 
   resource-ref-mapping name=java:comp/env/jms/theQueueConnectionFactory
/
  /message-driven-deployment

Any ideas?  When I pull up a JNDI browser and look at what's registered, my
browser
shows theQueueConnectionFactory being of type
com.evermind.server.jms.EvermindXAQueueConnectionFactory, and thQueue being
of
type com.evermind.server.jms.EvermindQueue.  So I think everything is setup
correctly,
but I must be missing one silly little thing.  help! ;)

Darryl Dieckman






RE: Cross Linking ejb's from different Applications?

2001-09-10 Thread Pavan Dinavahi

Thanks


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Doug Graesser
Sent: Monday, September 10, 2001 8:30 PM
To: Orion-Interest
Subject: RE: Cross Linking ejb's from different Applications?


I use a method like the one shown below to call an ejb from the same
application,
where the call looks like

MyEJBHome home = (MyEJBHome ) getJNDIObject(ejb/MyEJB ,
MemberPartHome.class);

private Object getJNDIObject(String location, Class narrowClass) throws
NamingException
{
Context context;
Object obj;
try
{
context = new InitialContext();
System.out.println(Context Made);

obj = context.lookup( location );
System.out.println(Object retrieved   + obj);
}
catch(NamingException ne)
{
System.err.println(Unable to find named object:  + location );
ne.printStackTrace();
throw new NamingException( ne.getMessage() );
}

Object home = PortableRemoteObject.narrow(obj, narrowClass);

return home;
}

If you modify to context definition

to  context = new InitialContext( env );

and env is ( input your data )

Properties env = new Properties();

env.put( Context.INITIAL_CONTEXT_FACTORY, javaNamingFactoryInitial
);
env.put( Context.PROVIDER_URL, javaNamingProviderUrl );
env.put( Context.SECURITY_PRINCIPAL, javaNamingSecurityPrincipal );
env.put( Context.SECURITY_CREDENTIALS, javaNamingSecurityCredentials
);

You should be able to define a different application on the same, or some
other machine.




-Original Message-
From: Pavan Dinavahi [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 10, 2001 1:39 PM
To: Orion-Interest
Subject: Cross Linking ejb's from different Applications?


My ejb needs a ref for another ejb which is in a different application in
the same server.
I am having Lookup problems.
My ejb-jar.xml specifies the ejb-ref
My problem is i wanna know what i should specify in the orion-ejb-jar.xml
for
location for ejb-ref tag:ejb-ref-mapping location=??? name=name as in
ejb ref in ejb-jar.xml /

DO i need anything special in the orion-application.xml for namespaces ??.

I really appreciate anyone who can give me a step by step procedure for
enabling cross linking ejb's from different applications.

Thanks,
Pavan