REMOVE ME FROM THE LIST

2001-11-21 Thread Niles Ho

PLEASE REMOVE ME FROM THE LIST.  PLEASE!!!

- NILES




- Original Message -
From: Tim Pouyer [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, November 21, 2001 12:24 PM
Subject: Re: Calling entity bean from a session bean in Orion 1.5.3


 Take out the ejb-link tag. It is not necessary.

 On Tue, 2001-11-20 at 18:50, Puthezhath, Rajeev (TWII Boston) wrote:
  Hi,
 
  I want to access an entity bean from a session bean . I have added
  the ejb-ref tag in the ejb-jar.xml and the same works perfectly on
orion
  1.3.8 But on Orion 1.5.3 I get the following error
 
  javax.naming.NamingException: No EJB found with an ejb-name matching the
  ejb-link 'Entity'
  at com.evermind[Orion/1.5.3 (build 10509)]._ccb._po(.:64)
  at com.evermind[Orion/1.5.3 (build 10509)]._lsb._wk(.:33)
  at com.evermind[Orion/1.5.3 (build
  10509)].server.rmi.RMIContext._ywd(.:857)
  at com.evermind[Orion/1.5.3 (build
  10509)].server.rmi.RMIContext._xnb(.:660)
  at com.evermind[Orion/1.5.3 (build
  10509)].server.rmi.RMIContext.lookup(.:63)
  at com.evermind[Orion/1.5.3 (build 10509)]._bl._eh(.:189)
  at com.evermind[Orion/1.5.3 (build 10509)]._bl.lookup(.:63)
  at com.evermind[Orion/1.5.3 (build 10509)]._ccb._po(.:34)
  at com.evermind[Orion/1.5.3 (build 10509)]._in.lookup(.:53)
  at com.evermind[Orion/1.5.3 (build 10509)]._bl._eh(.:121)
  at com.evermind[Orion/1.5.3 (build 10509)]._bl.lookup(.:63)
 
  This is my ejb-jar.xml
 
  session
  display-nameA/display-name
  ejb-nameA/ejb-name
  homeAHome/home
  remoteA/remote
  ejb-classABean/ejb-class
  session-typeStateless/session-type
  transaction-typeBean/transaction-type
  ejb-ref
descriptionSubscriber  EJB/description
ejb-ref-nameejb/BHome/ejb-ref-name
  ejb-ref-typeEntity/ejb-ref-type
   homeBHome/home
   remoteB/remote
ejb-linkEntity/ejb-link
  /ejb-ref
  /session
 
  Please advice.
 
  Thanks
  Rajeev
 
 
 
 







Orion application clients and Java Web Start

2001-11-21 Thread Magnus Nilsson

Hi,

I have an application client that uses EJB that I like to
distribute through Java Web Start. The client works fine
with both the ApplicationClientInitialContextFactory and
the RMIInitialContextFactory JNDI factories when launched
from the command line, however when launched from the Java
Web Start program manager the client hangs in either
new InitalContext() or the ctx.lookup call depending on
which of the factories I use.

No error messages are given in the logfile.

The ear, web application and application client are all
run locally with orion 1.5.2.

As a side note, if I kill the orion server just after
launching the application client through Java Web Start
I get:
java.io.StreamCorruptedException:
  InputStream does not contain a serialized object at
  com.evermind.server.rmi.RMIContext.lookup(Unknown Source)
  at javax.naming.InitialContext.lookup(Unknown Source)
so it seems that some kind of connection is established
between the client and the server.

Suggestions? Is the Java Web Start environment (classloader,
security manager, etc) interfering with Orion?

Regards,
/Magnus






Re: Most Urgent: How to find jndi lookup name for Transaction Manager?

2001-11-21 Thread Ray Harrison

Unless I am not understanding your question correctly, you _do_ want what I sent below 
Greg's
reply which gets a reference to the transaction manager. 

Look below for 

TransactionManager manager.


--- patrick patrick [EMAIL PROTECTED] wrote:
 hi ray,
  Thanks for your prompt reply..  But, i don't need
 the JNDI LOOK UP name of the userTransaction,  I need
 the JNDI NAME TO LOOKUP SERVER TRANSACTION MANAGER. 
 SO PLEASE SEND ME THAT..
 
 EXPECTING IMMEDIATE REPLY..
 
 THANKING YOU
 PATRICK
 --- Greg Matthews [EMAIL PROTECTED] wrote:
  InitialContext ic = new InitialContext();
  UserTransaction ut =
 
 (javax.transaction.UserTransaction)ic.lookup(java:comp/UserTransaction);
  
  
  - Original Message -
  From: Ray Harrison [EMAIL PROTECTED]
  To: Orion-Interest
  [EMAIL PROTECTED]
  Sent: Wednesday, November 21, 2001 3:12 AM
  Subject: Re: Most Urgent: How to find jndi lookup
  name for Transaction
  Manager?
  
  
   Check out the Orionserver FAQ:
   How do I get a reference to the
  TransactionManager?
  
  
   import javax.naming.*;
   import javax.transaction.*;
   ...
   TransactionManager manager =
  (TransactionManager)new
  
 
 InitialContext().lookup(java:comp/UserTransaction);
  
  
   Cheers
   Ray
  
  
   --- patrick patrick [EMAIL PROTECTED]
  wrote:
Dear all,
   
  if any one know how to find the jndi
  lookup name
for the Transaction Manager, please let me
  know..
   
Thanks
patrick
   
   
  __
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site
  hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1
   
  
  
   __
   Do You Yahoo!?
   Yahoo! GeoCities - quick and easy web site
  hosting, just $8.95/month.
   http://geocities.yahoo.com/ps/info1
  
  
  
 
 
 __
 Do You Yahoo!?
 Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
 http://geocities.yahoo.com/ps/info1
 


__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1




Re: NoSuchObjectException taking over FinderException

2001-11-21 Thread Rafael Alvarez

Hello Brian,
are you setting the exclusive-write-access to false for that bean?
There is a known bug (bug #532 in bugzilla) about findByPrimaryKey not
throwing an ObjectNotFoundException when it should if
exclusive-write-access is set to false. It's reported from 1.4.5 and
it hasn't be fixed.

The workaround is to use a try/catch block around call of the method
to catch a NoSuchObjectException.

Tuesday, November 20, 2001, 3:19:39 PM, you wrote:

BC There seems to be a problem with FinderExceptions due to lazy loading of entity 
beans.
BC It seems to me that FinderExceptions are not working properly for entity beans? 
Any ideas. See the following snipet.
BC InitialContext ic = new InitialContext();
BC Object o = ic.lookup(java:comp/env/ejb/CounterHome);
BC CounterHome counterHome = (CounterHome)PortableRemoteObject.narrow(o, 
CounterHome.class);

BC // FinderException should be thrown but is NOT.

BC Counter counter = counterHome.findByPrimaryKey(xyz);

BC // NoSuchObjectException is thrown because the entity does not exist.

BC System.out.println(counter.getNextID());

BC - Thanks.

BC [EMAIL PROTECTED]



-- 
Best regards,
 Rafaelmailto:[EMAIL PROTECTED]







Re: having prolems with CMP, PostgreSQL, and Serializable

2001-11-21 Thread Marcus Ahnve

A _very_ late answer I know, but it is my firm belief that the reason
for this is that Postgresql JDBC driver does not support BLOB:s, it is
simply not implemented, hence the message. Check out the WebCVS and see
for yourselves.

/Marcus

On Fri, 2001-06-22 at 20:42, Phillip Ross wrote:
 Your problem is stemming from the fact that the Postgresql JDBC driver wants
 auto commit flag set to false before it can use setBinaryStream() method which
 is used to store the stream.  Orion's entity bean wrapper seems to leave the
 flag alone and not set it to false explicitly.  So, basicly, that's what causes
 it... but the proper solution to workaround or fix it is still something I'm
 playing around with.
 
 - Phillip
 
 
 --- [EMAIL PROTECTED] wrote:
  I am trying to port an application that was running on JBOSS to
  orion.  All my Entity beans are using CMP.  Whenever I try to create a
  bean that has CMP field of type java.io.Serialazable i get the
  following exception:
  
  javax.ejb.CreateException: Error creating EntityBean: InputStream as
  parameter not supported
  
  here is the mapping from orion/config/database-schemas that I am
  using:
  
  type-mapping type=java.io.Serializable name=oid /
  
  I am using postgres 7.1 and orion 1.5.2
  
  I would appriciate any advice anyone had for me.
  
  thanks
  
  mike o'connor
  
  
  
 
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail
 http://personal.mail.yahoo.com/
 
-- 
Marcus Ahnve  email: [EMAIL PROTECTED]
Lecando AB   Office: +46-(0)8-634 94 18
Sweden   Mobile: +46-(0)70-462 19 18
www.lecando.comICQ#: 4564879






please take me off the list, thanks!

2001-11-21 Thread Liang, Hua






Re: SV: A word of warning: SwiftMQ and Resource providers.

2001-11-21 Thread Ray Harrison

Magnus,
This does occur using 1.5.3

Cheers
Ray
--- Magnus Rydin [EMAIL PROTECTED] wrote:
 Are you using 1.5.3?
 We noticed this prior to releasing 1.5.3 and fixed it, I was under the
 impression that this worked fine?
 WR

  -Ursprungligt meddelande-
  Från: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]]För Lachezar Dobrev
  Skickat: den 20 november 2001 11:30
  Till: Orion-Interest
  Ämne: A word of warning: SwiftMQ and Resource providers.
 
 
 Recently looking at the Resource-Providers docs, and EAGER to use an
  external JMS for my MDBs I and a colleague decided to run the demos.
 As quite a surprise the demo run ok. The MDB did everything when a
  message was sent to the Queue.
 
 The BIG disappointment was, when we tried to do the same with
  the topic.
 In short: It does not work.
 It seems, that Orion is looking for the resource type.
  Although it should
  check if the resource is of the NEEDED type, it rather checks if the
  resource is of ANY type.
 SwiftMQ implements a Topic as a subclass of it's Queue implementation:
 
 the plainsocket@router1 class is as follows:
 
  class com.swiftmq.jms.ConnectionFactoryImpl
|- interface javax.jms.QueueConnectionFactory
|- interface javax.jms.TopicConnectionFactory
'- interface java.io.Serializable
 
 the testqueue@router1 class is as follows:
 
  class com.swiftmq.jms.QueueImpl
|- interface javax.jms.Queue
|- interface java.io.Serializable
'- interface com.swiftmq.jms.DestinationImpl
 
 the testtopic class is as follows:
 
  class com.swiftmq.jms.TopicImpl
  | '- interface javax.jms.Topic
  |
  '- (super) class com.swiftmq.jms.QueueImpl
|- interface javax.jms.Queue
|- interface java.io.Serializable
'- interface com.swiftmq.jms.DestinationImpl
 
 
 As you can see a Topic is also a Queue.
 So when trying to deploy the MDB one gets:
 
  Error deploying
  file:/D:/Temp/Orion/applications/Orion2SwiftMQ/Orion2SwiftMQ.jar
  homes: JMS
  Error: Queue 'testtopic' is not local! Can't create a Consumer on it!
 
 
 But... That doesn't help. I'm quite disappointed. I almost got it.
 
 Lachezar.
 




__
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1




Deployment Exception

2001-11-21 Thread geoff

I'm having issues with my EAR deployment all of a sudden -- when Orion
attempts to unpack and deploy the EAR, it throws an exception:

Auto-deploying thesquare-ejb.jar (ejb-jar.xml had been touched since the
previou
s deployment)... java.lang.IllegalArgumentException: Cannot convert from
class j
ava.lang.Object to class java.lang.String
at com.evermind._bz._ldb(Unknown Source)
at com.evermind._ql._lvb(Unknown Source)
at com.evermind._qk._lvb(Unknown Source)
at com.evermind._ao._bb(Unknown Source)
at com.evermind._pw._bb(Unknown Source)
at com.evermind._px._bb(Unknown Source)
at com.evermind._au._bb(Unknown Source)
at com.evermind._dq._qzb(Unknown Source)
at com.evermind._ck._qzb(Unknown Source)
at com.evermind._ck._at(Unknown Source)
at com.evermind.server.ApplicationServer._as(Unknown Source)
at com.evermind.server.ApplicationServer._wl(Unknown Source)
at com.evermind.server.ApplicationServer._at(Unknown Source)
at com.evermind._in.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at com.evermind._if.run(Unknown Source)

With no way to diagnose this, I'm largely stuck.  Suggestions?

- Geoffrey Wiseman

__
Geoffrey Wiseman: Internet Applications Manager
Medium One
t. 416.977.2101 x. 529
http://www.mediumone.com/
__
Think it.  Build it.  Work it.






RE: please take me off the list, thanks!

2001-11-21 Thread Nusairat, Joseph F.
Title: RE: please take me off the list, thanks!





NEVER


BEING ON THIS LIST IS LIKE BEING IN THE MAFIA  YOU ARE ON IT FOR LIFE!!!




WOH GO ORION GOO




-Original Message-
From: Liang, Hua [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 11:21 AM
To: Orion-Interest
Subject: please take me off the list, thanks!







SV: SV: A word of warning: SwiftMQ and Resource providers.

2001-11-21 Thread Magnus Rydin

I'll verify this and make sure that the fix will be available with the next
build.
WR

 -Ursprungligt meddelande-
 Fran: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]For Ray Harrison
 Skickat: den 21 november 2001 17:39
 Till: Orion-Interest
 Amne: Re: SV: A word of warning: SwiftMQ and Resource providers.


 Magnus,
 This does occur using 1.5.3

 Cheers
 Ray
 --- Magnus Rydin [EMAIL PROTECTED] wrote:
  Are you using 1.5.3?
  We noticed this prior to releasing 1.5.3 and fixed it, I was under the
  impression that this worked fine?
  WR
 
   -Ursprungligt meddelande-
   Fren: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]]Fvr Lachezar Dobrev
   Skickat: den 20 november 2001 11:30
   Till: Orion-Interest
   Dmne: A word of warning: SwiftMQ and Resource providers.
  
  
  Recently looking at the Resource-Providers docs, and EAGER
 to use an
   external JMS for my MDBs I and a colleague decided to run the demos.
  As quite a surprise the demo run ok. The MDB did everything when a
   message was sent to the Queue.
  
  The BIG disappointment was, when we tried to do the same with
   the topic.
  In short: It does not work.
  It seems, that Orion is looking for the resource type.
   Although it should
   check if the resource is of the NEEDED type, it rather checks if the
   resource is of ANY type.
  SwiftMQ implements a Topic as a subclass of it's Queue
 implementation:
  
  the plainsocket@router1 class is as follows:
  
   class com.swiftmq.jms.ConnectionFactoryImpl
 |- interface javax.jms.QueueConnectionFactory
 |- interface javax.jms.TopicConnectionFactory
 '- interface java.io.Serializable
  
  the testqueue@router1 class is as follows:
  
   class com.swiftmq.jms.QueueImpl
 |- interface javax.jms.Queue
 |- interface java.io.Serializable
 '- interface com.swiftmq.jms.DestinationImpl
  
  the testtopic class is as follows:
  
   class com.swiftmq.jms.TopicImpl
   | '- interface javax.jms.Topic
   |
   '- (super) class com.swiftmq.jms.QueueImpl
 |- interface javax.jms.Queue
 |- interface java.io.Serializable
 '- interface com.swiftmq.jms.DestinationImpl
  
  
  As you can see a Topic is also a Queue.
  So when trying to deploy the MDB one gets:
  
   Error deploying
   file:/D:/Temp/Orion/applications/Orion2SwiftMQ/Orion2SwiftMQ.jar
   homes: JMS
   Error: Queue 'testtopic' is not local! Can't create a Consumer on it!
  
  
  But... That doesn't help. I'm quite disappointed. I almost got it.
  
  Lachezar.
  
 
 


 __
 Do You Yahoo!?
 Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
 http://geocities.yahoo.com/ps/info1





Re: Announcement of new doc

2001-11-21 Thread Curt Smith





 My 2 cents worth is this is the order of importance of documentation 
 that is
 needed right now to do REAL professional deployments and developments 
 with Orion/OC4J


 1) Orion specific deployment settings explained
 these are not really explained anywhere right now.


My configuration challeng that I haven't figured out is; how to support 
multiple
web components.

I'm prefering the expanded tree deployment where I'd have multiple
web/WEB-INF/web.xml  trees.   All need to be in the same restricted
single-signon scope.  I.E.

root/web1/WEB-INF/web.xml
  /web2/WEB-INF/web.xml



The confusion between default-web-site.xml, orion-web.xml, 
application-name, name
...  :-/

Anybody have configuration to share of multiple .ear in one application 
or multiple
web directories??

Thanks and have a great TG holidays,

curt





Re: Announcement of new doc

2001-11-21 Thread Curt Smith





 My 2 cents worth is this is the order of importance of documentation 
 that is
 needed right now to do REAL professional deployments and developments 
 with Orion/OC4J


 1) Orion specific deployment settings explained
 these are not really explained anywhere right now.


My configuration challenge that I haven't figured out is; how to support 
multiple
web components.   It would be great if new doc would show how to
configure a typically complex scenario??

I'm preferring the expanded tree deployment where I'd have multiple
web/WEB-INF/web.xml  trees.   All need to be in the same restricted
single-signon scope.  I.E.

root/web1/WEB-INF/web.xml
  /web2/WEB-INF/web.xml



The confusion between default-web-site.xml, orion-web.xml, 
application-name, name
... has not gotten it all to work yet..  Each attempt has one problem or 
another  :-/

Anybody have configuration to share of multiple .ear in one application 
or multiple
web directories??

Thanks and have a great TG holidays,

curt





orion-ejb-jar and other such descriptors

2001-11-21 Thread geoff

I've put an orion-ejb-jar.xml in the EJB Jar's META-INF.  If I clean out the
Orion/application-deployment and Orion/applications versions of the
application, and deploy to Orion, the file copies into the appropriate place
and takes effect.  If I deploy on top of an existing EAR, the redeploy
process doesn't seem to replace the existing orion-ejb-jar.xml file.  I
suspect this is probably happening with other descriptors, but this is the
one that I just tested thoroughly recently, to ensure that I wasn't
imagining that.

Is there any way to ensure that the file does get deployed along with the
rest of the EAR?  Am I missing something?

- Geoffrey
__
Geoffrey Wiseman: Internet Applications Manager
Medium One
t. 416.977.2101 x. 529
http://www.mediumone.com/
__
Think it.  Build it.  Work it.






RE: Deployment Exception

2001-11-21 Thread jroberson
Title: RE: Deployment Exception





shutdown the server
delete the .ear file in applications
delete the directory in applications
delete the directory(ies) in application-deployments
startup the server ( it should complain about not finding the ear )
shut it down
copy .ear file to applications
restart server


we have intermittent problems with deployments not taking full effect
or being corrupted occasionally this always solves any wierd problems


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 21, 2001 12:26 PM
To: Orion-Interest
Subject: Deployment Exception



I'm having issues with my EAR deployment all of a sudden -- when Orion
attempts to unpack and deploy the EAR, it throws an exception:


Auto-deploying thesquare-ejb.jar (ejb-jar.xml had been touched since the
previou
s deployment)... java.lang.IllegalArgumentException: Cannot convert from
class j
ava.lang.Object to class java.lang.String
 at com.evermind._bz._ldb(Unknown Source)
 at com.evermind._ql._lvb(Unknown Source)
 at com.evermind._qk._lvb(Unknown Source)
 at com.evermind._ao._bb(Unknown Source)
 at com.evermind._pw._bb(Unknown Source)
 at com.evermind._px._bb(Unknown Source)
 at com.evermind._au._bb(Unknown Source)
 at com.evermind._dq._qzb(Unknown Source)
 at com.evermind._ck._qzb(Unknown Source)
 at com.evermind._ck._at(Unknown Source)
 at com.evermind.server.ApplicationServer._as(Unknown Source)
 at com.evermind.server.ApplicationServer._wl(Unknown Source)
 at com.evermind.server.ApplicationServer._at(Unknown Source)
 at com.evermind._in.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
 at com.evermind._if.run(Unknown Source)


With no way to diagnose this, I'm largely stuck. Suggestions?


 - Geoffrey Wiseman


__
Geoffrey Wiseman: Internet Applications Manager
Medium One
t. 416.977.2101 x. 529
http://www.mediumone.com/
__
Think it. Build it. Work it.






Re: having prolems with CMP, PostgreSQL, and Serializable

2001-11-21 Thread Mike Cannon-Brookes

Actually the Postgres driver does support blobs in a number of ways. The
7.1 driver supports BLOBs using OIDs (a postgres specific measure) and
the latest driver from CVS (due out with 7.2 shortly) supports bytea
datatypes (which is a long byte array up to 1 gig in size) which is much
nicer than an OID.

The problem is indeed Orion not setting autocommit=false which is needed
by the Postgres driver. 

However the overhead involved in using a CMP bean with a large object is
not a good idea IMHO, I'd create a simple session bean which persists
your large object via JDBC and retrives it again.

-mike

On Thu, 2001-11-22 at 02:19, Marcus Ahnve wrote:
 A _very_ late answer I know, but it is my firm belief that the reason
 for this is that Postgresql JDBC driver does not support BLOB:s, it is
 simply not implemented, hence the message. Check out the WebCVS and see
 for yourselves.
 
 /Marcus
 
 On Fri, 2001-06-22 at 20:42, Phillip Ross wrote:
  Your problem is stemming from the fact that the Postgresql JDBC driver wants
  auto commit flag set to false before it can use setBinaryStream() method which
  is used to store the stream.  Orion's entity bean wrapper seems to leave the
  flag alone and not set it to false explicitly.  So, basicly, that's what causes
  it... but the proper solution to workaround or fix it is still something I'm
  playing around with.
  
  - Phillip
  
  
  --- [EMAIL PROTECTED] wrote:
   I am trying to port an application that was running on JBOSS to
   orion.  All my Entity beans are using CMP.  Whenever I try to create a
   bean that has CMP field of type java.io.Serialazable i get the
   following exception:
   
   javax.ejb.CreateException: Error creating EntityBean: InputStream as
   parameter not supported
   
   here is the mapping from orion/config/database-schemas that I am
   using:
   
   type-mapping type=java.io.Serializable name=oid /
   
   I am using postgres 7.1 and orion 1.5.2
   
   I would appriciate any advice anyone had for me.
   
   thanks
   
   mike o'connor
   
   
   
  
  
  __
  Do You Yahoo!?
  Get personalized email addresses from Yahoo! Mail
  http://personal.mail.yahoo.com/
  
 -- 
 Marcus Ahnve  email: [EMAIL PROTECTED]
 Lecando AB   Office: +46-(0)8-634 94 18
 Sweden   Mobile: +46-(0)70-462 19 18
 www.lecando.comICQ#: 4564879
 
 
 






Re: orion-ejb-jar and other such descriptors

2001-11-21 Thread Mike Cannon-Brookes

Geoffrey,

This is the expected behaviour. The deployment descriptors are only
copied from the EAR after a clean deploy. Otherwise Orion might
overwrite deployment descriptors that you had edited.

Cheers,
Mike

-- 
Mike Cannon-Brookes :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
 Supporting YOUR J2EE World


On Thu, 2001-11-22 at 07:03, [EMAIL PROTECTED] wrote:
 I've put an orion-ejb-jar.xml in the EJB Jar's META-INF.  If I clean out the
 Orion/application-deployment and Orion/applications versions of the
 application, and deploy to Orion, the file copies into the appropriate place
 and takes effect.  If I deploy on top of an existing EAR, the redeploy
 process doesn't seem to replace the existing orion-ejb-jar.xml file.  I
 suspect this is probably happening with other descriptors, but this is the
 one that I just tested thoroughly recently, to ensure that I wasn't
 imagining that.
 
 Is there any way to ensure that the file does get deployed along with the
 rest of the EAR?  Am I missing something?
 
   - Geoffrey
 __
 Geoffrey Wiseman: Internet Applications Manager
 Medium One
 t. 416.977.2101 x. 529
 http://www.mediumone.com/
 __
 Think it.  Build it.  Work it.
 
 
 






HttpSession creation

2001-11-21 Thread Greg Matthews



hi,

i'm trying to ensure that the only time a session 
is created is after a successful user login.

is there any other way apart from 
HttpServletRequest.getSession( ), or HttpServletRequest.getSession( boolean 
create) that a HttpSession can be created?

i've trawled through the J2EE API but haven't seen 
any other methods that might create a session -- was just wondering if there was 
some sort of side-effect way, say, if you redirect a request or pass a request 
through a filter chain or something???

thanks,
greg.


Re: Orion application clients and Java Web Start

2001-11-21 Thread Anders Dahlberg

 Suggestions? Is the Java Web Start environment (classloader,
 security manager, etc) interfering with Orion?

IIRC this is an old issue discussed a lot at the java web start forums on 
forums.java.sun.com.
Try to do a search on Java Web Start + Weblogic/J2EE/EJB, and I think you will 
probably find some information about problem with the use of the context classloader. 
(I have actually gotten a JWS + EJB development-hack to work, so it is possible - I 
just don't remember the actual details ;)

 Regards,
 /Magnus
/Anders





Re: HttpSession creation

2001-11-21 Thread Kesav Kumar



From servlets there is only one way of creating 
HttpSession request.getSession(boolean create).

If you write JSP pages the session object will be 
automatically created unless you specify session=false.
If you want to make sure that you create 
HttpSession Object only after successful login write the session="false" on all 
JSP pages before your login process.

%@ page session="false"%

Kesav Kumar


- Original Message - 
From: Greg 
Matthews 
To: Orion-Interest 
Sent: Wednesday, November 21, 2001 4:34 PM
Subject: HttpSession creation

hi,

i'm trying to ensure that the only time a session 
is created is after a successful user login.

is there any other way apart from 
HttpServletRequest.getSession( ), or HttpServletRequest.getSession( boolean 
create) that a HttpSession can be created?

i've trawled through the J2EE API but haven't seen 
any other methods that might create a session -- was just wondering if there was 
some sort of side-effect way, say, if you redirect a request or pass a request 
through a filter chain or something???

thanks,
greg.