RE: Transactions in client code

2000-04-18 Thread David Elliott
Hi Robert, re: UserTransaction, you'll have to wait for a wiser soul that I on that one. re: Listing objects bound to a context, I will reprint here the good bits that I've read and tried successfully from the discussion starting on page 154 of the O'Reilly Java Enterprise in a Nutshell (which

mistake on datasource

2000-04-18 Thread Tamer
people, hello yesterday was posted a message explaining how to use data source. i got this mail from my house, and here on my job i would like try it. i can't remember the sintax. it seems like that: //. javax.naming.Context context = new

Tag Example Problem

2000-04-18 Thread Eric Richardson
Hi, I searched the archives and couldn't find anything relevent. I'm trying to use the Iterate.java tag in some code I have. I pass the collection but the nested usebean tag cannot find the object in page scope. 500 Internal Server Error java.lang.InstantiationException: Could not find the bean

Re[2]: ANY ONE USING ORACLE WITH ORION SERVER

2000-04-18 Thread crosswinds.net
Hello Eric, 1 . Somewhere in the past some man wrote to remove deactivated="true" from from config/principals.xml: ... user username="xxx" password="yyy" deactivated="true" ... 2. Next check in jndi.properties to user and password are the same are in principals.xml run the PruductClient

Re: Tag Example Problem

2000-04-18 Thread Eric Richardson
Hi Brian, Brian Cunningham wrote: Hi Eric,Is it "product" vs "products"? products is the collection, product is one of the elements of the collection Product product = (Product) products.get(0); Then hash as product1. This is called in doStartTag and in doAfterBody as

Missing orion-ejb-jar.xml when using EAR archive

2000-04-18 Thread Conrad Chan
When I package my application in an ear archive, I realize that there is no orion-ejb-jar.xml file created. I tried to deploy news and atm apps using their ear archives and the xml file is not created as well. So how am I supposed to configure my EJB objects when using ear archive? P.S.

Re: Tag Example Problem ***Possible bug***

2000-04-18 Thread Eric Richardson
Hi, I found a workaround. If in the doStartTag method I change pageContext.setAttribute(name, iterator.next(), PageContext.PAGE_SCOPE); to pageContext.setAttribute(name, iterator.next()); Then the tag works on 0.96. I checked it out and if I use PageContext.PAGE_SCOPE in the taglib I can

How to compile taglib?

2000-04-18 Thread LynchWu
Hi All In Tomcat, we can compile a tag handler (the *.java files) using javac with Tomcat's class library. Is it possible to compile the same files with JDK and Orion 0.9.6? And how? == Lynch Wu Web Engineer pAsia Inc. http://www.pAsia.com TEL: 886-2-87883033 ext 347