Reloading servlets, XSLT, AS/400 ?

2000-09-20 Thread Vitaly Lipovetsky


1. Does Orion support reloading servlets without restart server ?
2. Does Orion support XSLT ?
3. Has anyone tried to run Orion on AS/400 ?






SV: FORM based login ACTION

2000-09-20 Thread Klaus . Myrseth

Try clear your ACTION so the form starts like this:
form
  lots of html with a couple of fields for user and passwd...
/form

This works for me :)

Mvh
Klaus Myrseth
Telenor Mobil AS - PlanIT

-Opprinnelig melding-
Fra: Guilherme Ceschiatti [mailto:[EMAIL PROTECTED]]
Sendt: 20. september 2000 08:05
Til: Orion-Interest
Emne: FORM based login ACTION


Hi!

I'm having problems in loging into my application. I'm using FORM based
login,
with a form with the ACTION="j_security_check". When I submit the form,
Orion
just replies:

404 Not Found

Is it a bug? How do I fix it?

[]s
Guilherme Ceschiatti
[EMAIL PROTECTED]




Re: Reloading servlets, XSLT, AS/400 ?

2000-09-20 Thread Robert Krueger

At 10:59 20.09.00 , you wrote:

1. Does Orion support reloading servlets without restart server ?

yes

2. Does Orion support XSLT ?

yes

3. Has anyone tried to run Orion on AS/400 ?

no idea




(-) Robert Krüger
(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
(-) Tel: 06151 665401, Fax: 06151 665373
(-) [EMAIL PROTECTED], www.signal7.de





Re: SSL Slow and precompiled JSPs?

2000-09-20 Thread Sanjay

Hi Mike,
I too found the same problem but now i need to work out to set up properly
the Global server certificate.
Mike have worked on this or any 128 bit encryption certificate with Orion
I need to know what type of certificates Orion supports
it is not clear from Orion people too.
which certificate have you used ?
If you dont mind will you answer these questions please .
thank you
cheers
Sanjay
- Original Message -
From: "Mike Fontenot" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Tuesday, September 19, 2000 5:09 PM
Subject: SSL Slow and precompiled JSPs?


 Has anyone else noticed that when you first start executing SSL protected
 code, displaying that first page takes a long time?

 I know that SSL requires server/client key generation/handshaking but I'm
 wondering if a server installation such as Orion (JSSE?) would benefit
from
 hardware acceleration like CryptoSwift?  Anyone using hardware
acceleration
 like this in production with Orion, and do you notice any performance
 benefits?

 Second, is there a way to precompile all of your JSP pages before
 deployment, and deploy those compiled servlets?

 Thanks,
 Mike

 
 Mike Fontenot - Object Systems Architect
 BrandMatrix, Ltd.
 Golden, Colorado
 







Use of a external JNDI server with Orion

2000-09-20 Thread cuenot jerome


Hello all,

I'd like to use an external JNDI server with an Orion server, but I
don't know where I have to specify it in the Orion configuration.

Somebody can help ?


Many thanks,

Jerome.



begin:vcard 
n:Cuenot;Jerome
tel;fax:+33 (0)4.37.41.82.01
tel;work:+33 (0)4.37.41.82.63
x-mozilla-html:FALSE
url:http://www.stellarx.com
org:StellarX;R  D
adr:;;56 Avenue du 11 Novembre 1918;Lyon Tassin Le Bourg;Rhone-Alpes;69160;France
version:2.1
email;internet:[EMAIL PROTECTED]
title:Ingénieur Développeur
note:http://www.stellarx.com
fn:Jerome Cuenot
end:vcard



Re: Obscure JMSException

2000-09-20 Thread Vlad Petric


If I put a connection factory in jms.xml bound to
jms/topicConnectionFactory, it gives this error. If I don't put it,
everything works just fine. So I only have to specify the binding in
application-client.xml. But that raises another problem: it is mandatory to
use
ApplicationClientInitialContextFactory, and not RMIInitialContextFactory.

So why doesn't it work when the jndi binding is specified in jms.xml ?

Vlad



 I get a:

 java.lang.NullPointerException
 at java.io.DataOutputStream.writeUTF(DataOutputStream.java:317)
 at com.evermind.server.jms.b5.init(JAX)
 at com.evermind.server.jms.b0.start(JAX)
 at Subscriber.init(Subscriber.java:33)
 at Subscriber.main(Subscriber.java:75)

 when doing a topicConnection.start

 At the same time jmschat works just fine. Any idea what I'm doing wrong
 ?

 Thanks in advance

 Orion 1.2.7. jdk 1.3beta IBM/Linux

 The code:

   InitialContext ic = new InitialContext();
   TopicConnectionFactory tcf = (TopicConnectionFactory)
ic.lookup("java:comp/env/jms/topicConnectionFactory");

   topicConnection = tcf.createTopicConnection();

   topic = (Topic) ic.lookup("java:comp/env/jms/TheTopic");

   topicSession = topicConnection.createTopicSession(false,
TopicSession.AUTO_ACKNOWLEDGE);

   topicSubscriber = topicSession.createSubscriber(topic, null, true);

   topicPublisher = topicSession.createPublisher(topic);

   topicSubscriber.setMessageListener(this);

   topicConnection.start();
 ==
 application-client.xml:

 ?xml version="1.0"?
 !DOCTYPE application-client PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
 Application Client 1.2//EN"
 "http://java.sun.com/j2ee/dtds/application-client_1_2.dtd"
 application-client
  display-nameUnnamed/display-name
  resource-ref
   res-ref-namejms/topicConnectionFactory/res-ref-name
   res-typejavax.jms.TopicConnectionFactory/res-type
   res-authContainer/res-auth
  /resource-ref
  resource-ref
   res-ref-namejms/TheTopic/res-ref-name
   res-typejavax.jms.Topic/res-type
   res-authContainer/res-auth
  /resource-ref
 /application-client





Re: SV: FORM based login ACTION

2000-09-20 Thread Guilherme Ceschiatti

Hi..

It remains not working, with the same message:

404 Not Found

Anybody else have another idea?

[]s
Guilherme Ceschiatti
[EMAIL PROTECTED]

On Wed, 20 Sep 2000, you wrote:
 Try clear your ACTION so the form starts like this:
 form
   lots of html with a couple of fields for user and passwd...
 /form
 
 This works for me :)

 
 Hi!
 
 I'm having problems in loging into my application. I'm using FORM based
 login,
 with a form with the ACTION="j_security_check". When I submit the form,
 Orion
 just replies:
 
 404 Not Found
 
 Is it a bug? How do I fix it?
 
 []s
 Guilherme Ceschiatti
 [EMAIL PROTECTED]




Login System

2000-09-20 Thread Truong Di Ly

Hi,
first thanks to Magnus for one problem is fixed.
But still there is a bug with my login web component.
Try it!

cd $orionhome/applications

unzip login.zip

change server.xml by adding this line:
application name="login" path="../applications/login" /

change default-web-site.xml by adding this line:
web-app application="login" name="login-web" root="/login" /
 login.zip


JMS Persistance

2000-09-20 Thread Bernard Sauterel

Hello all,

Do you have a working *persistant* JMS example (or
any information) ?

Thanks,

Bernard Sauterel

On Mec, 20 sep 2000, Guilherme Ceschiatti [EMAIL PROTECTED] wrote:

Hi!

I'm having problems in loging into my application. I'm using FORM based
login,
with a form with the ACTION="j_security_check". When I submit the form, Orion
just replies:

404 Not Found

Is it a bug? How do I fix it?

[]s
Guilherme Ceschiatti
[EMAIL PROTECTED]


+--++
| Bernard Sauterel | sauterel.net   |
+--++
 email | [EMAIL PROTECTED]




Re: Reloading servlets, XSLT, AS/400 ?

2000-09-20 Thread DMoy


RE: question 3, I have read in the archives that people of run orion on the
AS400.  Check the archives.


   
 
"Vitaly Lipovetsky"
 
[EMAIL PROTECTED]To: Orion-Interest   
 
Sent by:  [EMAIL PROTECTED] 
 
owner-orion-interest@orioncc:  
 
server.comSubject: Reloading servlets, 
XSLT, AS/400 ?   
   
 
   
 
09/20/00 03:59 AM  
 
Please respond to  
 
Orion-Interest 
 
   
 
   
 




1. Does Orion support reloading servlets without restart server ?
2. Does Orion support XSLT ?
3. Has anyone tried to run Orion on AS/400 ?











Re: NULL/NOT NULL with autocreated tables

2000-09-20 Thread KirkYarina

Normally I'd agree, but we haven't quite made a final database 
decision.  We're also finding that it's very convenient to do initial unit 
test on the developer's PC with hypersonic, then move to our development 
server with a heavier-duty dbms.

Autogeneration means I can put off generating table definitions (which we 
do in xsl) and hopefully avoid generating different sql for different 
databases...

This seems like a pretty basic capability, and there's already provision in 
the individual database schema  (null=, not-null=) files, so I'm hoping 
it's there somewhere.

Kirk Yarina


At 07:46 PM 9/19/00 -0400, you wrote:
The best way not to use tables autogeneration at all
Make optimal schema, write table api beans for your schema, write
application beans


- Original Message -
From: "KirkYarina" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Tuesday, September 19, 2000 12:33 PM
Subject: NULL/NOT NULL with autocreated tables


  I'm using orion-ejb-jar.xml to define many of the characteristics of our
  applications database table fields, and am unable to determine how I can
  specify NULL/NOT NULL constraints for these fields.  I rtfm (such as it
  is) and looked at the orion-ejb-jar dtd, and couldn't find an answer.
 
  We're switching between several DBMS's during development, using different
  databases for different programmers and tasks, and still tweaking the
  schema a bit.  It's convenient to let Orion automatically create tables
  while all this is going on but I need to be able to control whether null
  fields are allowed, and have been unable to figure out how to do so.  Can
  anyone help?
 
  Thanks!


Kirk Yarina
[EMAIL PROTECTED]





RE: Reloading servlets, XSLT, AS/400 ?

2000-09-20 Thread Will Glozer

Yes, the company I work for runs Orion on the AS/400.  If you search the
archives
you might find some previous posts that will help.  The IBM VM is pretty
badly
broken so you have to avoid using some features like security and EAR
reloading.
Also you'll have to disable the JIT... but otherwise it works quite well and
we are
shipping production code that uses it.

Regards,
Will

-Original Message-
From: Vitaly Lipovetsky [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 20, 2000 12:59 AM
To: Orion-Interest
Subject: Reloading servlets, XSLT, AS/400 ?



1. Does Orion support reloading servlets without restart server ?
2. Does Orion support XSLT ?
3. Has anyone tried to run Orion on AS/400 ?






RE: Disable CMP

2000-09-20 Thread Arved Sandstrom

Hi, Roger

Hey, I was just cleaning up my email (I get way too much of it), and I
realized that a little Ant+Orion HTML tutorial that I started on lats week
(or the week before?) just wenbt completely by the wayside.

Sorry about that. D'you still need some examples I figure is the question.

Arved

P.S. I see you're just down in the Valley. Could've hand-carried an example
down there by now.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Roger Mosher
Sent: Friday, September 08, 2000 8:40 AM
To: Orion-Interest
Subject: Re: Disable CMP


Arved.
Would it be too much to ask for us to have a look at one of your ant
build scripts?  Being very new at this I am still awash with trying to
figure out how all the parts fit together.

Yes the J2EE deploy tool was easier to use... until the day it decided
to start generating null pointer exceptions on start up.  I knew I was going
to have to look around for a commercial application server someday anyway so
that seemed like a good day.

Orion could use a good tutorial taking someone through the set up
process, but that's a lot of work to put together.

Thanks
--
%%%
Roger Mosher   eMail:  [EMAIL PROTECTED]
Center of Geographic Sciences  phone:  (902)825-5230
50 Elliott Roadfax:
(902)825-6733
Lawrencetown, N.S.
Canadaweb: http://www.cogs.nscc.ns.ca/
B0S 1M0
%%%

- Original Message -
From: "Arved Sandstrom" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Thursday, September 07, 2000 7:57 PM
Subject: RE: Disable CMP


 Sometimes it's easy to forget exactly what it is that J2EE provides for
us.
 :-)

 In this case it's not an Orion issue. Declare the entity bean to be
 bean-managed persistence using the entitypersistence-type tag in the
EJB
 deployment descriptor. All straight J2EE spec.

 I haven't used earassembler but I've used ejbmaker and ejbassembler to
 generate stubs and then tailor the deployment descriptor, respectively and
 in that order, just for experiment. They worked quite well. I imagine
 earassembler is more of the same. In practise I've found a good Ant build
 script and manual D.D. editing to be the way to go.

 Arved Sandstrom

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of
 [EMAIL PROTECTED]
 Sent: Thursday, September 07, 2000 3:56 PM
 To: Orion-Interest
 Subject: Disable CMP


 Greeting

 I want to use Orion with my ejb without CMP.
 1.)How could I configure Orion in order to use ejb without CMP ?
 2.)How could I genarate
 3.)How could I use ejbassembler ?
 4.)How could I use earassembler ?

 Thank you very much







 ___
 Say Bye to Slow Internet!
 http://www.home.com/xinbox/signup.html











Re: cloudscape database

2000-09-20 Thread Claudio Miranda

Nirav Dani wrote:
 
 hi,
 
 I am using cloudscape database, where do i need to
 change/mention about it instead of HSQL default?
 

You just need to put the jdbc driver in $ORION_HOME/lib, and change the
$ORION_HOME/config/data-sources.xml.

Claudio Miranda




How to use EJB2.0 on Orion

2000-09-20 Thread Vimal Kansal

Please for God's sake some benevolent soul do reply to
this mail. I have been sending this mail for quite
some time but to no avail. Can somebody send me the
source code of EJB2.0 based ATM example or any other
example of how to use EJB2.0 on Orion.
I am running version 1.3.1 and the ATM that has come
with this is still EJB1.1 based.

TIA

Vimal

__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




orion hangs when out of connections

2000-09-20 Thread Lorin Kobashigawa-Bates

http://www.mail-archive.com/orion-interest@orionserver.com/msg03258.html

Has anyone else seen this behavior?  I found this email about it on the
list, with no responses. I am getting the same problem in our development
environment.  

Basically when we put any kind of load on orion that exceeds the max
connections it can open, it hangs.  It doesn't die or refuse connections,
it just never sends any responses.

I have sent several emails to orion-support, but have not gotten any
responses.  I am running:

Orion 1.2.9
Solaris 2.8
JDK 1.2.2

-Lkb





Re: Reloading servlets, XSLT, AS/400 ?

2000-09-20 Thread Claudio Miranda

Robert Krueger wrote:
 
 At 10:59 20.09.00 , you wrote:
 3. Has anyone tried to run Orion on AS/400 ?
 
 no idea

I think that whenever exists a jvm required by a product (this case
Orion) this platform will support this product.

I don't known if as/400 has a jvm required by Orion. 
try http://jguru.com, has a link to AS/400 faq.

my 0.05 cents


Claudio




Re: SV: FORM based login ACTION

2000-09-20 Thread Nick Newman

Hi,

I hope I'm not being too silly here, but one possible explanation is that
you are directly presenting the logon form from your code.  A security
login will work only if you let the server present the form.  You do this
by specifying the appropriate security in the web.xml, and then when you
try to reach a secured page, orion will pop up the password dialog.

Nick

At 09:59 AM 9/20/00 -0300, you wrote:
Hi..

It remains not working, with the same message:

404 Not Found

Anybody else have another idea?

[]s
Guilherme Ceschiatti
[EMAIL PROTECTED]

On Wed, 20 Sep 2000, you wrote:
 Try clear your ACTION so the form starts like this:
 form
   lots of html with a couple of fields for user and passwd...
 /form
 
 This works for me :)

 
 Hi!
 
 I'm having problems in loging into my application. I'm using FORM based
 login,
 with a form with the ACTION="j_security_check". When I submit the form,
 Orion
 just replies:
 
 404 Not Found
 
 Is it a bug? How do I fix it?
 
 []s
 Guilherme Ceschiatti
 [EMAIL PROTECTED]





Re: cloudscape database

2000-09-20 Thread Linda Chai

Hi,

In order to have Cloudscape embedded in the orion server, I found that I
had to amend the data-sources.xml to contain something like the
following:

data-sources
 data-source
  name="CloudscapeSource"
  class="com.evermind.sql.ConnectionDataSource"
  location="jdbc/CloudscapeSource"
  pooled-location="jdbc/DefaultPooledDS"
  xa-location="jdbc/xa/DefaultXADS"
  ejb-location="jdbc/DefaultEJBDS"
  url="jdbc:cloudscape:insert the location of your DB"
  connection-driver="COM.cloudscape.core.JDBCDriver"
  username=""
  password=""
 /

/data-sources

The location of your database can be something like...
E:\\Projects\\CloudscapeDB.

I am currently working on writing up a paper which will document how to
integrate the Cloudscape DB with a number of other application servers,
Orion being one of these.  The document will eventually be published on
the cloudscape website.  If you're interested I can let you know when
the document gets published :-)

Hope this helps,
- Linda.




Nirav Dani wrote:

 hi,

 I am using cloudscape database, where do i need to
 change/mention about it instead of HSQL default?

 __
 Do You Yahoo!?
 Send instant messages  get email alerts with Yahoo! Messenger.
 http://im.yahoo.com/





Re: How to use EJB2.0 on Orion

2000-09-20 Thread Nick Newman

Perhaps the EJB 2.0 spec on javasoft would be a place to start.  The whole
thing is quite long, but Chapter 9 explains the new persistence mechanism,
and that's probably all you need.  The main differences (but by no means
all the differences) are:

 1) you need to specify the appropriate dtd at the top of the ejb-jar.xml,
so that the first few lines look like:

?xml version="1.0"?
!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE
Application 1.2//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd"

2) the "bean" class is abstract, and has pairs of abstract get/set methods
instead of data fields for the persistent fields.

Nick

At 10:19 AM 9/20/00 -0700, you wrote:
Please for God's sake some benevolent soul do reply to
this mail. I have been sending this mail for quite
some time but to no avail. Can somebody send me the
source code of EJB2.0 based ATM example or any other
example of how to use EJB2.0 on Orion.
I am running version 1.3.1 and the ATM that has come
with this is still EJB1.1 based.

TIA

Vimal

__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/





RE: How to use EJB2.0 on Orion

2000-09-20 Thread Reddy Krishnan

Vimal,

1.3.1 supports ejb2.0 beans in the ejb-jar.xml use DOCTYPE as 
!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" 
"http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd"
instead of ejb-jar_1_1.dtd.

Follow the ejb2.0 specs on abstract get/set , abstract bean class etc., and you will 
all 
set.

Sorry dont have ready example of ATM to send alongwith. hope this helps

Cheer up,
Krishnan
-Original Message-
From: Vimal Kansal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 20, 2000 10:19 AM
To: Orion-Interest
Subject: How to use EJB2.0 on Orion


Please for God's sake some benevolent soul do reply to
this mail. I have been sending this mail for quite
some time but to no avail. Can somebody send me the
source code of EJB2.0 based ATM example or any other
example of how to use EJB2.0 on Orion.
I am running version 1.3.1 and the ATM that has come
with this is still EJB1.1 based.

TIA

Vimal

__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




Re: How to use EJB2.0 on Orion

2000-09-20 Thread Christian Sell

I have been sending this mail for quite
some time but to no avail.

well, maybe there IS no avail. Not many of us have done EJB 2.0 yet, and as
far as the orion core team goes, I hope (!!) they are busy writing
documentation for the basic stuff (and improving orion in their spare time).

regards





Re: How to use EJB2.0 on Orion

2000-09-20 Thread Vimal Kansal

Thanks a lot Nick. Can you also send me a sample code
or whatever and moreoever, have you yourself been able
to get this stuff working on Orion?

Vimal
--- Nick Newman [EMAIL PROTECTED] wrote:
 Perhaps the EJB 2.0 spec on javasoft would be a
 place to start.  The whole
 thing is quite long, but Chapter 9 explains the new
 persistence mechanism,
 and that's probably all you need.  The main
 differences (but by no means
 all the differences) are:
 
  1) you need to specify the appropriate dtd at the
 top of the ejb-jar.xml,
 so that the first few lines look like:
 
 ?xml version="1.0"?
 !DOCTYPE application PUBLIC "-//Sun Microsystems,
 Inc.//DTD J2EE
 Application 1.2//EN"
 "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd"
 
 2) the "bean" class is abstract, and has pairs of
 abstract get/set methods
 instead of data fields for the persistent fields.
 
 Nick
 
 At 10:19 AM 9/20/00 -0700, you wrote:
 Please for God's sake some benevolent soul do reply
 to
 this mail. I have been sending this mail for quite
 some time but to no avail. Can somebody send me the
 source code of EJB2.0 based ATM example or any
 other
 example of how to use EJB2.0 on Orion.
 I am running version 1.3.1 and the ATM that has
 come
 with this is still EJB1.1 based.
 
 TIA
 
 Vimal
 
 __
 Do You Yahoo!?
 Send instant messages  get email alerts with
 Yahoo! Messenger.
 http://im.yahoo.com/
 
 


__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




RE: How to use EJB2.0 on Orion

2000-09-20 Thread Vimal Kansal

Thanks a lot Krishnan
Vimal
--- Reddy Krishnan [EMAIL PROTECTED]
wrote:
 Vimal,
 
 1.3.1 supports ejb2.0 beans in the ejb-jar.xml use
 DOCTYPE as 
 !DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems,
 Inc.//DTD Enterprise JavaBeans 1.1//EN"
 "http://java.sun.com/j2ee/dtds/ejb-jar_2_0.dtd"
 instead of ejb-jar_1_1.dtd.
 
 Follow the ejb2.0 specs on abstract get/set ,
 abstract bean class etc., and you will all 
 set.
 
 Sorry dont have ready example of ATM to send
 alongwith. hope this helps
 
 Cheer up,
 Krishnan
 -Original Message-
 From: Vimal Kansal [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 20, 2000 10:19 AM
 To: Orion-Interest
 Subject: How to use EJB2.0 on Orion
 
 
 Please for God's sake some benevolent soul do reply
 to
 this mail. I have been sending this mail for quite
 some time but to no avail. Can somebody send me the
 source code of EJB2.0 based ATM example or any other
 example of how to use EJB2.0 on Orion.
 I am running version 1.3.1 and the ATM that has come
 with this is still EJB1.1 based.
 
 TIA
 
 Vimal
 
 __
 Do You Yahoo!?
 Send instant messages  get email alerts with Yahoo!
 Messenger.
 http://im.yahoo.com/
 


__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




Re: How to use EJB2.0 on Orion

2000-09-20 Thread Joseph B. Ottinger

Don't forget that EJB 2.0 isn't a standard yet. It's a draft. Personally,
I'm mucking about with it a bit, and the parts I'm most interested in -
the OR mapping - I've not really covered, so I'm in the same boat of
wanting more information, but let's be real about it. It's not there
unless we generate it ourselves; we can't expect the Orion team to do
everything for us (we *are* developers, right?) so instead of griping
about it, read the draft. Play with it. Try things out. Tell others about
it, so we can ALL learn. (If I see stuff on it that I think is useful, as
soon as the infrastructure is done for the new orionsupport, I'll put it
online.)

On Wed, 20 Sep 2000, Christian Sell wrote:

 I have been sending this mail for quite
 some time but to no avail.
 
 well, maybe there IS no avail. Not many of us have done EJB 2.0 yet, and as
 far as the orion core team goes, I hope (!!) they are busy writing
 documentation for the basic stuff (and improving orion in their spare time).
 
 regards
 
 
 

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo  HOMES.COM Developer





RE: How to use EJB2.0 on Orion

2000-09-20 Thread jiten patankar

have you looked at this site www.znerd.demon.nl/orion-primer/

-Original Message-
From: Vimal Kansal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 20, 2000 10:19 AM
To: Orion-Interest
Subject: How to use EJB2.0 on Orion


Please for God's sake some benevolent soul do reply to
this mail. I have been sending this mail for quite
some time but to no avail. Can somebody send me the
source code of EJB2.0 based ATM example or any other
example of how to use EJB2.0 on Orion.
I am running version 1.3.1 and the ATM that has come
with this is still EJB1.1 based.

TIA

Vimal

__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




Re: How to use EJB2.0 on Orion

2000-09-20 Thread Vimal Kansal

I jsu upgraded to Orion 1.3.8. And guess what ? :- it
has the EJB2.0 based ATM application :-)

Vimal
--- "Joseph B. Ottinger" [EMAIL PROTECTED] wrote:
 Don't forget that EJB 2.0 isn't a standard yet. It's
 a draft. Personally,
 I'm mucking about with it a bit, and the parts I'm
 most interested in -
 the OR mapping - I've not really covered, so I'm in
 the same boat of
 wanting more information, but let's be real about
 it. It's not there
 unless we generate it ourselves; we can't expect the
 Orion team to do
 everything for us (we *are* developers, right?) so
 instead of griping
 about it, read the draft. Play with it. Try things
 out. Tell others about
 it, so we can ALL learn. (If I see stuff on it that
 I think is useful, as
 soon as the infrastructure is done for the new
 orionsupport, I'll put it
 online.)
 
 On Wed, 20 Sep 2000, Christian Sell wrote:
 
  I have been sending this mail for quite
  some time but to no avail.
  
  well, maybe there IS no avail. Not many of us have
 done EJB 2.0 yet, and as
  far as the orion core team goes, I hope (!!) they
 are busy writing
  documentation for the basic stuff (and improving
 orion in their spare time).
  
  regards
  
  
  
 

---
 Joseph B. Ottinger  
 [EMAIL PROTECTED]
 http://cupid.suninternet.com/~joeo  HOMES.COM
 Developer
 
 


__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




Re: orion hangs when out of connections

2000-09-20 Thread Joel Shellman

I was the original poster of that message, so yes, I've seen it, too :)

I received an email from Orion mentioning that they're working on a
connection timeout thing to avoid that and asked if I wanted to be
notified when it was ready. I wrote back and said yes certainly, but I
haven't heard from them yet about them having it implemented.

-joel shellman
http://www.ants.com/

Lorin Kobashigawa-Bates wrote:
 
 http://www.mail-archive.com/orion-interest@orionserver.com/msg03258.html
 
 Has anyone else seen this behavior?  I found this email about it on the
 list, with no responses. I am getting the same problem in our development
 environment.
 
 Basically when we put any kind of load on orion that exceeds the max
 connections it can open, it hangs.  It doesn't die or refuse connections,
 it just never sends any responses.
 
 I have sent several emails to orion-support, but have not gotten any
 responses.  I am running:
 
 Orion 1.2.9
 Solaris 2.8
 JDK 1.2.2
 
 -Lkb




RE: EJB 2.0's Message Driven Beans in Orion 1.2.9 ?

2000-09-20 Thread James Nelson
Title: RE: EJB 2.0's Message Driven Beans in Orion 1.2.9 ?



Where 
does this code exist? I have downloaded the latest orion from the website 
and done an autoupdate. Please advise.

James

  -Original Message-From: Magnus Rydin 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, September 13, 2000 
  3:56 AMTo: Orion-InterestSubject: RE: EJB 2.0's Message 
  Driven Beans in Orion 1.2.9 ?
  Take a look at the EJB 2.0 version of ATM. It has an message driven bean. 
   -Original Message-  
  From: Olli Pöyry [mailto:[EMAIL PROTECTED]] 
   Sent: den 13 september 2000 09:38  To: Orion-Interest  Subject: EJB 2.0's 
  Message Driven Beans in Orion 1.2.9 ?  
Is there any example 
  or documentation about message driven  EJB's 
  (which  should be in Orion 1.2.9)? 
   Or is Sun's documentation about EJB 2.0 all there is to 
  it?   
  ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤¤º°`°º¤ø,¸¸,ø 
   Olli Pöyry 
  [EMAIL PROTECTED]  Essaim 
  Oy Tallberginkatu 2 A, FIN-00180 Helsinki, 
  Finland  
  GSM 358-40-5400743 puh 358-9-6948277 fax  358-9-6948287  
  ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤øø¤º°`°º¤¤º°`°º¤ø,¸¸,ø 




Re: How to use EJB2.0 on Orion

2000-09-20 Thread Nick Newman

I gather the ATM EJB 2.0 app is out now - but perhaps a very simple app
will still be useful.  See attached.

The only problem I have had with EJB 2.0 in Orion is trying to do a 1-1
mapping to a dependent class.

Nick

At 12:43 PM 9/20/00 -0700, you wrote:
Thanks a lot Nick. Can you also send me a sample code
or whatever and moreoever, have you yourself been able
to get this stuff working on Orion?

Vimal

snip
 ejb2.zip


RE: ATM example with PostgreSQL

2000-09-20 Thread Tim Drury

That error has been around forever.  The best I can tell
it doesn't hurt anything.

-tim

 -Original Message-
 From: Guilherme Ceschiatti [mailto:[EMAIL PROTECTED]]
 Sent: Tuesday, September 19, 2000 6:02 PM
 To: Orion-Interest
 Subject: RE: ATM example with PostgreSQL
 
 
 On Fri, 15 Sep 2000, Arved Sandstrom wrote:
  Hi, Guiga
 
 Hi!
 
 Thanks for your attention. I used to had the "null problem" 
 too, but I fix it
 changing null="null" to null="", as you said. Now, remains a 
 error message
 saying:
 
 ERROR: parser error at or near ")" .
 
 Any hint to fix it?
 
  What's the nature of the errors? I found that PostgreSQL 
 6.5.3, when I tried
  that with Orion and CMP, didn't like explicit NULL at all, 
 so I edited
  "config/database-schemas/postgresql.xml" to change null="" 
 rather than
  null="null". Then it worked fine. This strikes me as a bug 
 in PostgreSQL
  6.5.x, since the docs indicate that an explicit declaration 
 of NULL on a
  column is OK. Don't know about PostgreSQL 7.0.
 
 []s
 Guilherme Ceschiatti
 [EMAIL PROTECTED]
 




Re: How to use EJB2.0 on Orion

2000-09-20 Thread Vimal Kansal

EVen if you specify the multiplicity other than 1?

vimal
--- Nick Newman [EMAIL PROTECTED] wrote:
 I gather the ATM EJB 2.0 app is out now - but
 perhaps a very simple app
 will still be useful.  See attached.
 
 The only problem I have had with EJB 2.0 in Orion is
 trying to do a 1-1
 mapping to a dependent class.
 
 Nick
 
 At 12:43 PM 9/20/00 -0700, you wrote:
 Thanks a lot Nick. Can you also send me a sample
 code
 or whatever and moreoever, have you yourself been
 able
 to get this stuff working on Orion?
 
 Vimal
 
 snip

 ATTACHMENT part 2 application/zip name=ejb2.zip;
x-mac-type=705A4950; x-mac-creator=705A4950



__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




RE: How to use EJB2.0 on Orion

2000-09-20 Thread Reddy Krishnan

Hi,

have the same problem as nick. When i have an 1-1 relationship to a dependent orion
throws errors which arise due to the following.
(1) it creates its own dependent classes which should be concrete implementations
but they are also abstract so throws error when returning objects ( this is new 
problem in 1.3.8, 1.3.6 did not have this trouble.

(2) internally it tries to assign the the dependent class created by orion to the 
dependent class and throws classcastexception

i dont know whether this is a bug or a problem with mine. anybody has any idea?

plus can someone tell me how to refer to beans deployed in another ejb-jar file in
relationships?

thanks much,
Krishnan
-Original Message-
From: Vimal Kansal [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 20, 2000 4:04 PM
To: Orion-Interest
Subject: Re: How to use EJB2.0 on Orion


EVen if you specify the multiplicity other than 1?

vimal
--- Nick Newman [EMAIL PROTECTED] wrote:
 I gather the ATM EJB 2.0 app is out now - but
 perhaps a very simple app
 will still be useful.  See attached.
 
 The only problem I have had with EJB 2.0 in Orion is
 trying to do a 1-1
 mapping to a dependent class.
 
 Nick
 
 At 12:43 PM 9/20/00 -0700, you wrote:
 Thanks a lot Nick. Can you also send me a sample
 code
 or whatever and moreoever, have you yourself been
 able
 to get this stuff working on Orion?
 
 Vimal
 
 snip

 ATTACHMENT part 2 application/zip name=ejb2.zip;
x-mac-type=705A4950; x-mac-creator=705A4950



__
Do You Yahoo!?
Send instant messages  get email alerts with Yahoo! Messenger.
http://im.yahoo.com/




Help with deploying EJBs

2000-09-20 Thread Harley Rana

Hi i am new to orion server and need to deploy a simple ejb.  I have added a 
user and pass word to the pricipals.xml, assembled the bean with the 
ejb-jar.xml, put that in a .ear file, but when i try and run admin.jar -deploy 
i get this error:

Error: javax.naming.NamingException: Lookup error: 
java.io.StreamCorruptedExcept
ion: Caught EOFException while reading the stream header; nested exception is:
java.io.StreamCorruptedException: Caught EOFException while reading 
the
stream header

the exact command that i run is after starting the server :

java -jar admin.jar ormi://203.87.61.77:82 harley rana -deploy -file 
-deploymentName hey d:\ejb\hey.ear

Please help!!
Thanks Harley Rana

-
Powered by http://www.telstra.com





Re: How to use EJB2.0 on Orion

2000-09-20 Thread Joseph B. Ottinger

Yeah, I know - and the example apps are good, but they're more than I'd
like. (Incidentally, the ATM has been EJB 2.0 for a while now.) I like
Ernst de Haan's approach - he covers one area and tries not to dress it
too much. "Here I'll cover creating a simple app." "Here I'll create a CMP
bean and use it." The ATM is good, but it does *everything* - which makes
learning individual elements more difficult than it could be if you had,
for example, an OR-mapping application or a security model application.

On Wed, 20 Sep 2000, Vimal Kansal wrote:

 I jsu upgraded to Orion 1.3.8. And guess what ? :- it
 has the EJB2.0 based ATM application :-)
 
 Vimal
 --- "Joseph B. Ottinger" [EMAIL PROTECTED] wrote:
  Don't forget that EJB 2.0 isn't a standard yet. It's
  a draft. Personally,
  I'm mucking about with it a bit, and the parts I'm
  most interested in -
  the OR mapping - I've not really covered, so I'm in
  the same boat of
  wanting more information, but let's be real about
  it. It's not there
  unless we generate it ourselves; we can't expect the
  Orion team to do
  everything for us (we *are* developers, right?) so
  instead of griping
  about it, read the draft. Play with it. Try things
  out. Tell others about
  it, so we can ALL learn. (If I see stuff on it that
  I think is useful, as
  soon as the infrastructure is done for the new
  orionsupport, I'll put it
  online.)
  
  On Wed, 20 Sep 2000, Christian Sell wrote:
  
   I have been sending this mail for quite
   some time but to no avail.
   
   well, maybe there IS no avail. Not many of us have
  done EJB 2.0 yet, and as
   far as the orion core team goes, I hope (!!) they
  are busy writing
   documentation for the basic stuff (and improving
  orion in their spare time).
   
   regards
   
   
   
  
 
 ---
  Joseph B. Ottinger  
  [EMAIL PROTECTED]
  http://cupid.suninternet.com/~joeo  HOMES.COM
  Developer
  
  
 
 
 __
 Do You Yahoo!?
 Send instant messages  get email alerts with Yahoo! Messenger.
 http://im.yahoo.com/
 
 

---
Joseph B. Ottinger   [EMAIL PROTECTED]
http://cupid.suninternet.com/~joeo  HOMES.COM Developer





OR-Mapping set up.

2000-09-20 Thread James Ho

Hi,

I have been trying to setup OR-Mapping, to represent a many-many
relationship...I have been following the help from
http://www.orionsupport.com/ejbormapping.html

ANyway, here is what i have..

Country Bean, with primkey of String type.
Supplier Bean with primkey of String type.

In Supplier, I have a HashSet countries, which is a collection of
Country.

i had this in the Bean class of supplier:

public HashSet countries;

public static final Class countries_type=vc.ejb.Country.class;

public HashSet getCountries() {
return countries;
}
public void setCountries(HashSet c) {
this.countries=c;
}


I also have added a cmp-field in ejb-jar.xml for 'countries'.
I am using PostgreSQL 7.0.2.

Problem is, when I call create(String) I get the exception:
javax.ejb.CreateException: Error creating EntityBean: InputStream as
parameter not supported

What is wrong here?

According to the doc on the web, it said a linking table will be created
for me, however I cannot find such table :((, but on the Supplier's
table, there is a extra attribute 'countries' with datatype
'oid'...which from my database schema is the java.io.Serializable type.

I have attached my orion-ejb-jar.xml here...if that's any help.

Thanks heaps in advance.

James.




RE: session and authenthication management (fwd)

2000-09-20 Thread Magnus Rydin
Title: RE: session and authenthication management (fwd)



Im 
sorry, according to the specification, the posting should go to 
"j_security_check".
That 
it works this way is a convenient feature of Orion, but should not be used for 
applications intended to run on other application servers, as the correct way of 
doing it is calling the "j_security_check".

The 
ATM will be updated accordingly this weekend.

*blush*

WR

  -Original Message-From: Magnus Rydin 
  Sent: den 19 september 2000 15:12To: 
  Orion-InterestSubject: RE: session and authenthication management 
  (fwd)
  Hi Truong. In the web.xml you specify 
  what page to use as a login form and a aditional login error form. 
  Then you just make sure that you protect the rest of your 
  pages. As there is no action in the FORM tag on the 
  login page, whatever URL the user tried to reach (that was protected), is the 
  target of the form.
  The submit button is in the form of a IMAGE, so its there 
  allright. Hope this helps, Magnus Rydin 
   Hello,  I would like to build 
  a user login system. So I have studied the atm  
  example, but anyway I didn't know how it is implemented.  Could you give  me any hint? 
   e.g. in the form tag there is no action attribute and 
  submit  button. Where is the session creation and 
  user authenthication?  Thanks in advance, 
   Ly