UserTransaction

2001-06-15 Thread Phan Anh Tran



With orion, Is it possible to look up a user 
transaction outside an EJB (a stand-alone app for example)? 
Thanks




Re: UserTransaction

2001-06-15 Thread Phan Anh Tran

Yeah, but can I do that from a stand-alone APP running in separate VM?

Anh

- Original Message - 
From: Jeff Hubbach [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Friday, June 15, 2001 6:05 AM
Subject: Re: UserTransaction


 Check www.orionserver.com, under the FAQ link:
 
 How do I get a reference to the TransactionManager?
 
 
import javax.naming.*;
import javax.transaction.*;
...
TransactionManager manager = (TransactionManager)new
 InitialContext().lookup(java:comp/UserTransaction);
 
 Jeff Hubbach
 
 Phan Anh Tran wrote:
 
  With orion, Is it possible to look up a user transaction outside an
  EJB (a stand-alone app for example)?  Thanks
 
 --
 Jeff Hubbach
 Internet Developer
 New Media Designs, Inc.
 www.nmd.com
 
 
 


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Re: Oracle 9ias Container for J2ee (oc4j)

2001-06-03 Thread Phan Anh Tran

What does it mean by pieces?  What are the pieces?  Anyone knows?

Anh

- Original Message -
From: Erwin Alberto [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Saturday, June 02, 2001 9:09 PM
Subject: RE: Oracle 9ias Container for J2ee (oc4j)


 Oracle licensed the technology from IronFlare.  Read more from this link:

 http://technet.oracle.com/docs/tech/java/oc4j/htdocs/getstart.htm#1025277

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Olivier Refalo
 Sent: Saturday, June 02, 2001 4:38 PM
 To: Orion-Interest
 Subject: Re: Oracle 9ias Container for J2ee (oc4j)


 Well... This is really really suspicious...
 Check out the doc... but man... it's Orion !!!

 Very good news... I can finaly argue with my manager who was complaining
 about support...

 OR.

 --- Phillip Ross [EMAIL PROTECTED] wrote:
  Yesterday Oracle announced their new 9ias OC4J product, fast,
  light-weight,
  highly-scalable, easy-to-use and complete J2EE environment written
  entirely in
  java...
 
  (http://otn.oracle.com/tech/java/oc4j/htdocs/oc4j_fov.html)
 
  The feature overview looks like suspiciously like orion server's feature
  overview, and the distribution looks suspiciously like orion's
  distribution :)
 
  java -jar ./j2ee/home/orion.jar -version
  Oracle9iAS (1.0.2.2) Containers for J2EE
 
 
  So is this a big win for Ironflare or what???
 
  __
  Do You Yahoo!?
  Get personalized email addresses from Yahoo! Mail - only $35
  a year!  http://personal.mail.yahoo.com/
 


 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail - only $35
 a year!  http://personal.mail.yahoo.com/



_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Feature Set

2001-05-23 Thread Phan Anh Tran

1. From a client app running in a separate VM, can I use JNDI to request a
UserTransaction and use it?
2. From a client app running in a separate VM, can I use JNDI to request a
DataSource and use it?

I would really appreciate it if someone could help answering the above
questions.  Thanks.
Anh


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





JAAS Support?

2001-03-01 Thread Phan Anh Tran



Does Orion support JAAS?

Anh



JNDI Lookup Failure

2001-02-26 Thread Phan Anh Tran



How's the deployed EJB mapped to the JNDI 
context? 

1. EJB = 
trantech.ejb.TestSession,TestSessionHome,TestSessionBean.
2. Is the JNDI lookup string 
"java:comp/env/ejb/trantech/ejb/TestSessionHome" ?

I keep getting the following exception in my JSP 
page:

javax.naming.NameNotFoundException: 
ejb/trantech/ejb/TestSessionHome notfound in 
Test-Web at 
com.evermind.util.t.lookup(JAX) at 
com.evermind.server.hm.f4(JAX) at 
com.evermind.server.hm.lookup(JAX) 
at javax.naming.InitialContext.lookup(Unknown 
Source) at 
__jspPage1_testejb_jsp._jspService(__jspPage1_testejb_jsp.java:33) 
at 
com.orionserver.http.OrionHttpJspPage.service(JAX) 
at 
com.evermind.server.http.HttpApplication.xj(JAX) 
at 
com.evermind.server.http.JSPServlet.service(JAX) 
at 
com.evermind.server.http.d3.sw(JAX) 
at 
com.evermind.server.http.d3.su(JAX) 
at 
com.evermind.server.http.ef.s1(JAX) 
at 
com.evermind.server.http.ef.do(JAX) 
at com.evermind.util.f.run(JAX)

Any insights into the problem?

Thanks,
Anh



Log of URLs

2001-02-24 Thread Phan Anh Tran



Is there a log which shows how a requested URL is 
mapped to the filesystem? Ie. www.blablalba.com = 
/blabla/home/

thanks.

Anh



Incremental Development with Orion

2001-02-17 Thread Phan Anh Tran



How should one setup Orion for rapid and 
incremental Servlets,JSP, and EJB development? I got the Servlets and JSP 
setup done, but the EJB setup is still a bit iffy (thanks Faisal for your 
notes). I expectour developers to develop ourEJBsin a 
veryincrementalfashion,so I would like to get ideas on a setup 
which can support a fast code,debug,code cycle. Thanks.
Anh



Re: RE to Phan Anh Tran

2001-02-11 Thread Phan Anh Tran



Please send me the details. 
Thanks.

Anh


  - Original Message - 
  From: 
  faisal 
  To: Orion-Interest 
  Sent: Saturday, February 10, 2001 6:36 
  PM
  Subject: RE to Phan Anh Tran
  
  Doing without ear file can be very easy and 
  it allows easy update in Orion
  create a new directory under 
  orion\applications
  run earassembler.jar 
  From file click on new application
  From application click on new create new 
  EJB jar
  From application click on new create new WEB 
  application
  save it in the created directory
  this will create the your web application 
  including all the necessary ejb.jar web.xml  application.xml
  if u need to create cmp bean u can use 
  EJBmaker.jar
  and all u need now is a simple build.xml to 
  onlycompile your bean
  classes and servlet
  in case u need more details I casend 
  ua detailed fullapplication
  good luck
  


EJB Deployment without packaging

2001-02-09 Thread Phan Anh Tran



Is it possible to deploy EJBs without packing them 
into ejb and .ear files with orion? Thanks.

Anh



Re: EJB Deployment without packaging

2001-02-09 Thread Phan Anh Tran

Do you have a link?  Thanks.

Anh
- Original Message -
From: "Joseph B. Ottinger" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Friday, February 09, 2001 9:21 PM
Subject: Re: EJB Deployment without packaging


 Yes, very much so.

 On Fri, 9 Feb 2001, Phan Anh Tran wrote:

  Is it possible to deploy EJBs without packing them into ejb and .ear
files with orion?  Thanks.
 
  Anh
 
 

 ---
 Joseph B. Ottinger   [EMAIL PROTECTED]
 http://epesh.com/ IT Consultant








orion-web.xml

2001-02-01 Thread Phan Anh Tran



Hi all,

I used the following orion-web.xml to point orion 
to my class files, but it does not seem to work - Orion cannot find my 
classes. 

I put the orion-web.xml under my WEB-INF directory, 
is that the right place? Thanks.

Anh

?xml version="1.0"?

!DOCTYPE orion-web-app PUBLIC "-//Evermind//DTD Orion Web Application 
2.3//EN" "http://www.orionserver.com/dtds/orion-web.dtd"

orion-web-appdeployment-version="1.4.5"jsp-cache-directory="./persistence"temporary-directory="./temp"classpath 
path="file:///D:/myprojects/paomgmt/classes"/session-tracking 
//orion-web-app


Re: Deploying a simple web site...

2001-01-25 Thread Phan Anh Tran
Title: SV: Deploying a simple web site...



Reading the documentation? You gotta be 
joking? :-)...Actually, I did read it again and found the link you posted. 
Thanks.

Anh

  - Original Message - 
  From: 
  Magnus 
  Rydin 
  To: Orion-Interest 
  Sent: Wednesday, January 24, 2001 11:50 
  PM
  Subject: SV: Deploying a simple web 
  site...
  
  I suggest you take a look at the documentation :) 
  Here is something you could use: http://www.orionserver.com/docs/application-creation-howto.html 
  
  If you dont want to create an ear file structure, but just add 
  a unpacked WAR file, do the following: 
  Edit the .../config/application.xml and add a reference to the 
  root of your unpacked web application, like: 
  web-module id="myhome-web" path="D:\\Website\\myhome" 
  / 
  This will add the unpacked myhome WAR to the default 
  application. Now edit your 
  .../config/default_web_site.xml file and add a reference like the 
  following: 
  web-app application="default" name="myhome-web" 
  root="/myhome" / 
  WR 
  -----Ursprungligt meddelande- Från: Phan Anh Tran [mailto:[EMAIL PROTECTED]] Skickat: den 24 januari 2001 23:03 Till: 
  Orion-Interest Ämne: Deploying a simple web 
  site... 
  I have a web-site in a directory called "D:\Website\myhome" 
  (only html files and jsp files). 
  How do I go about telling orion to setup a URL http://localhost/myhome to 
  activate my website? I have gone over all the .xml files a dozen times 
  without success, so all insights are appreciated. By the way, I do 
  not want to package my website at all. I want to stay the way it is to 
  ease development efforts.
  Thanks. 
  Anh 


JAAS Support?

2001-01-24 Thread Phan Anh Tran



Does Orion 1.4.5 support JAAS? 
Thanks.

Anh



orionconsole bug...

2001-01-24 Thread Phan Anh Tran



Orion 1.4.5 on Windows 2000 with SP1.

I tried to add a new website using 
orionserver. After I click on "Next", I get the following 
exception:

Exception occurred during event 
dispatching:java.lang.IndexOutOfBoundsException: Index: -1, Size: 
0 at 
java.util.ArrayList.RangeCheck(Unknown 
Source) at 
java.util.ArrayList.get(Unknown 
Source) at 
com.evermind.gui.server.http.SelectWebAppWizardTask.ay(JAX) 
at 
com.evermind.gui.server.http.SelectWebAppWizardTask.init(JAX) 
at 
com.evermind.gui.server.http.AddWebSiteWizardTask.auf(JAX) 
at 
com.evermind.gui.wizard.AbstractWizard.auf(JAX) 
at 
com.evermind.gui.wizard.PanelWizard.actionPerformed(JAX) 
at javax.swing.AbstractButton.fireActionPerformed(Unknown 
Source) at 
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown 
Source) at 
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown 
Source) at 
javax.swing.DefaultButtonModel.setPressed(Unknown 
Source) at 
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown 
Source) at 
java.awt.Component.processMouseEvent(Unknown 
Source) at 
java.awt.Component.processEvent(Unknown 
Source) at 
java.awt.Container.processEvent(Unknown 
Source) at 
java.awt.Component.dispatchEventImpl(Unknown 
Source) at 
java.awt.Container.dispatchEventImpl(Unknown 
Source) at 
java.awt.Component.dispatchEvent(Unknown 
Source) at 
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown 
Source) at 
java.awt.LightweightDispatcher.processMouseEvent(Unknown 
Source) at 
java.awt.LightweightDispatcher.dispatchEvent(Unknown 
Source) at 
java.awt.Container.dispatchEventImpl(Unknown 
Source) at 
java.awt.Window.dispatchEventImpl(Unknown 
Source) at 
java.awt.Component.dispatchEvent(Unknown 
Source) at 
java.awt.EventQueue.dispatchEvent(Unknown 
Source) at 
java.awt.EventDispatchThread.pumpOneEvent(Unknown 
Source) at 
java.awt.EventDispatchThread.pumpEvents(Unknown 
Source) at 
java.awt.EventDispatchThread.run(Unknown Source)

Anh



Re: orionconsole bug...

2001-01-24 Thread Phan Anh Tran



SUN JDK1.3.0_01
Anh


  - Original Message - 
  From: 
  Phan Anh Tran 

  To: orion-interest 
  Sent: Wednesday, January 24, 2001 9:16 
  PM
  Subject: orionconsole bug...
  
  Orion 1.4.5 on Windows 2000 with 
SP1.
  
  I tried to add a new website using 
  orionserver. After I click on "Next", I get the following 
  exception:
  
  Exception occurred during event 
  dispatching:java.lang.IndexOutOfBoundsException: Index: -1, Size: 
  0 at 
  java.util.ArrayList.RangeCheck(Unknown 
  Source) at 
  java.util.ArrayList.get(Unknown 
  Source) at 
  com.evermind.gui.server.http.SelectWebAppWizardTask.ay(JAX) 
  at 
  com.evermind.gui.server.http.SelectWebAppWizardTask.init(JAX) 
  at 
  com.evermind.gui.server.http.AddWebSiteWizardTask.auf(JAX) 
  at 
  com.evermind.gui.wizard.AbstractWizard.auf(JAX) 
  at 
  com.evermind.gui.wizard.PanelWizard.actionPerformed(JAX) 
  at javax.swing.AbstractButton.fireActionPerformed(Unknown 
  Source) at 
  javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown 
  Source) at 
  javax.swing.DefaultButtonModel.fireActionPerformed(Unknown 
  Source) at 
  javax.swing.DefaultButtonModel.setPressed(Unknown 
  Source) at 
  javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown 
  Source) at 
  java.awt.Component.processMouseEvent(Unknown 
  Source) at 
  java.awt.Component.processEvent(Unknown 
  Source) at 
  java.awt.Container.processEvent(Unknown 
  Source) at 
  java.awt.Component.dispatchEventImpl(Unknown 
  Source) at 
  java.awt.Container.dispatchEventImpl(Unknown 
  Source) at 
  java.awt.Component.dispatchEvent(Unknown 
  Source) at 
  java.awt.LightweightDispatcher.retargetMouseEvent(Unknown 
  Source) at 
  java.awt.LightweightDispatcher.processMouseEvent(Unknown 
  Source) at 
  java.awt.LightweightDispatcher.dispatchEvent(Unknown 
  Source) at 
  java.awt.Container.dispatchEventImpl(Unknown 
  Source) at 
  java.awt.Window.dispatchEventImpl(Unknown 
  Source) at 
  java.awt.Component.dispatchEvent(Unknown 
  Source) at 
  java.awt.EventQueue.dispatchEvent(Unknown 
  Source) at 
  java.awt.EventDispatchThread.pumpOneEvent(Unknown 
  Source) at 
  java.awt.EventDispatchThread.pumpEvents(Unknown 
  Source) at 
  java.awt.EventDispatchThread.run(Unknown Source)
  
  Anh
  


Deploying a simple web site...

2001-01-24 Thread Phan Anh Tran



I have a web-site in a directory called 
"D:\Website\myhome" (only html files and jsp files).

How do I go about telling orion to setup a URL http://localhost/myhome to activate my 
website? I have gone over all the .xml files a dozen times without 
success, so all insights are appreciated. By the way, I do not want 
to package my website at all. I want to stay the way it is to ease 
development efforts.

Thanks.

Anh