Re: jdbc and data_source.xml

2000-07-28 Thread Eric Richardson
Hi Luis, Here is an example for Oracle. Eric :-) Luis Miguel Cubillo wrote: > Hello I´m Luis Miguel and I new in Orion: > I need somebody help me to know how configure the data_source.xml for > any driver > Thank you very much for your help

Re: How to trap orion shutdown

2000-07-26 Thread Eric Richardson
Hi Vidur, I don't know if this will help but Servlet.destroy() should be called on shutdown of the web container. Eric :-) Vidur Dhanda wrote: Hello, Is there a way to get a notification when the orion server gets a shutdown request?  My application needs to do some clean-up prior to server shutd

Re: Classpath settings - Ver 1.1.30

2000-07-25 Thread Eric Richardson
Hi Todd, Do you have an EAR file or directory structure? If you do, I would put the jars in the web-app (your WAR inside the EAR) in the WEB-INF/lib directory. Hope this helps, Eric :-) Todd McGrath wrote: Hello, I having problems getting a helper jar in my classpath.  Servlets, my own classes, e

Re: Users groups and roles

2000-07-25 Thread Eric Richardson
Thanks Martin, I'll take a look. eric :-) Martin Mavrov wrote: The Orion patched Java Pet Store has code that uses UserManager (orion security adapter). - Original Message - From: Eric Richardson To: Orion-Interest Sent: Monday, July 24, 2000 10:38 PM Subject: Users groups and rol

Users groups and roles

2000-07-24 Thread Eric Richardson
Hi, I understand that orion has a UserManager that can be used instead of the principles.xml file. Is this similar to what Apache does if you set up access via the RDBMS ACLs rather that the file based ones? Which example uses this and can anyone give me more info about the schema used etc. Thank

Re: to list admins: please set reply-to header

2000-07-21 Thread Eric Richardson
Good Idea!!! Robert Krueger wrote: hi, could the list admins set the reply-to header in the emails the listserver sends? it would make things easier and is standard behaviour of other listservers. thanks, robert (-) Robert Krüger (-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH (-) Brüde

Re: ENVIRONMENT

2000-07-19 Thread Eric Richardson
Hi, David Sierra Fernandez wrote: > I'm creating a complete web app and I know how to access from my code to > , and but I want to know how to access > to a: > > and an the differnces in code between them. init-param is just for the JSP or servlet and accessed via String ServletConfig.getI

Re: initial context help

2000-07-18 Thread Eric Richardson
Hi Enrique, Maybe I can help. I have never done this before but... Look below. Enrique Wallace wrote: > Hi, > > I'm an Orion newbie and was wondering if anyone can tell me how or tell me > where to find info on how to setup and acquire the initial context for a > bean. I have deployed some EJB

Re: useage of context-param in web.xml

2000-07-13 Thread Eric Richardson
Hi Jen, --From the dtd --this are parameters that apply to the application scope it looks like to me in your app grab the values from the application scope. Let us know if it works for you. eric :-) Jen Hsien Huang wrote: > what is "context-param" in web.xml? > how to use it ? c

Re: Using a Policy File?

2000-07-12 Thread Eric Richardson
Hi, Isn't there suppose to be a set policy file for J2EE? server.policy from J2EE RI is attached. Don't know if it's applicable or not. Eric :-) Tom Wnuk wrote: I'm trying to use a policy file when starting Orion and it always fails w/o ay errors. The reason I'm trying to use it is because of my

Re: Performance & Scalability Concern

2000-07-05 Thread Eric Richardson
I see that, but that sets the policy of which libraries to use at the server level. When you have a large codebase then pieces of it and the applications may use different non-binary compatible versions and this breaks the component model of J2EE. Except for the J2EE version, each app should be s

[Fwd: Re: Performance & Scalability Concern]

2000-07-05 Thread Eric Richardson
Oops, forgot to post to the list. Sorry Tom. Original Message Subject: Re: Performance & Scalability Concern Date: Wed, 05 Jul 2000 07:24:32 -0700 From: Eric Richardson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] References: <[EMAIL PROTECTED]> Tom Wnuk wrote: &

Re: Fix for shutdown issue

2000-06-29 Thread Eric Richardson
Hi, I gave it a try and shutdown does work. linux redhat 6.0 jdk 1.2.2 orion 1.1.4 restart is not so good java -jar orion.jar Orion/1.1.4 initialized Restarting... Error starting RMIServer: IO Error: Address already in use Error starting HttpServer: Address already in use Thanks, eric ;-) Kar

Re: Sessions And SSL

2000-06-29 Thread Eric Richardson
Hi, I think you have to generate and load your cert and associated stuff via the java tools. I did this once on J2EE reference edition. ASelf generated and signed Cert will work for testing. If you want a real site you need to buy a certificate from VeriSign or some other provider. You should pic

Re: admin.jar problems

2000-06-29 Thread Eric Richardson
java -jar admin.jar ormi://localhost/ admin admin123 -application appName -dataSourceInfo Dave Smith Senior Team Leader Aristocrat Technologies Australia Pty Ltd mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>     -Original Message- From: Eric Richardson [mailto:[EMAIL PROTECTED]] Sent

offtopic was Re: admin -shutdown

2000-06-28 Thread Eric Richardson
Karl Avedal wrote: > Hello Eric, > > Eric Richardson wrote: > > > Hi, > > > > We are evaluating orion for an internal app and our overall opinion is > > thumbs up. > > 1. it is really j2ee compliant > > 2. stable > > 3. good performance &g

Re: admin -shutdown

2000-06-28 Thread Eric Richardson
Hi, Did you install to get an admin password? java -jar orion.jar -install Eric :-) p.s. I get a different error-also on linux David Sierra Fernandez wrote: I've tried it and I have always the same result: C:\orion>java -jar admin.jar ormi://localhost:23791 admin 123 -shutdown Error: java.lang.Se

Re: admin -shutdown

2000-06-28 Thread Eric Richardson
Hi, We are evaluating orion for an internal app and our overall opinion is thumbs up. 1. it is really j2ee compliant 2. stable 3. good performance 4. not expensive If you are using internal or selling there is a risk of course. 1. small company 2. not open source-you can't fix problems yourself(n

admin.jar problems

2000-06-28 Thread Eric Richardson
Hi, I tried this as well with some problems. Here are the steps I took. java -jar orion.jar -install Enter an admin password to use: admin123 Confirm admin password: admin123 Installation done  java -jar orion.jar Orion/1.0 (Internal build 3) initialized java -jar admin.jar ormi://localhost:/

Re: SV: Data integrity using JSP - EJB???? (Urgent)

2000-06-22 Thread Eric Richardson
summer holidays everyone!Klaus Myrseth  -Opprinnelig melding- Fra: Eric Richardson [mailto:[EMAIL PROTECTED]] Sendt: 22. juni 2000 16:30 Til: Orion-Interest Emne: Re: Data integrity using JSP - EJB (Urgent)   Hi Klaus, If you are displaying a bunch of data on your page, agree with the

Re: XML + XSLT -> WML or HTML

2000-06-22 Thread Eric Richardson
Kev Palfreyman wrote: I looking for some advice and if possible specific examples for this problem. Background: I have experience of earlier servlets, lots of Java, some XML/XSLT, lots of HTML.  New to EJB/JSP/Servlets2.2/Orion >From what I understand, I think I should be able to have a servlet t

Re: Data integrity using JSP - EJB???? (Urgent)

2000-06-22 Thread Eric Richardson
Hi Klaus, If you are displaying a bunch of data on your page, agree with the approach. Then if someone wants to change the data, I would suggest having a separate edit page for that data. In this case I would use a entity bean directly behind the form. Did you use CMP entity beans to make your di

Re: simple(?) directory question

2000-06-20 Thread Eric Richardson
Mike Cannon-Brookes wrote: > Sure, just set up a virtual directory tag in the default-web-app to point to > the directory you want on disk. Look at > http://www.orionserver.com/docs/orion-web.xml.html (I think that's the right > URL) > > Your alternative is to set up a whole new web-app by placin

Re: PORTABILITY PROBLEMS !!!

2000-06-16 Thread Eric Richardson
Hi David and Karl, I talked to the J2EE group at Java One about this exact subject and just sent a message to the [EMAIL PROTECTED] group. I also cross posted the previous post in this thread as support. I think other people need to let the J2EE team know about these issues and the importance for

Re: OR mapping

2000-06-12 Thread Eric Richardson
Hi Peter, You can also try Scott Ambler at http://www.ambysoft.com/ eric :-) Peter wrote: Hi there... Could anyone point me to some good resources on OR > mapping. > How can I use it with orion server ( orion OR-mapping how-to is not > enough for me :). Some > examples would be great. > >

JSP Parsing Bug FIXED!!

2000-06-02 Thread Eric Richardson
:  JSP Parsing Bug Date:  Wed, 24 May 2000 08:51:59 -0700 From:  Eric Richardson <[EMAIL PROTECTED]> To:  Orion-Interest <[EMAIL PROTECTED]> Hi, Has anyone else had this problem? 500 Internal Server Error Error parsing JSP page /pet_db.jsp line 85 Property

Re: useBean scope problemed

2000-06-02 Thread Eric Richardson
Hi Magnus, I'm sorry I didn't respond earlier. We just found out yesterday afternoon that the Iterate tag issue is not a problem. I didn't recompile it yet for the three argument method setAttribute, but you said before that you fixed this. Please close the other setAttribute report for 1.0 inte

Taglibs/Orion Packaging

2000-06-01 Thread Eric Richardson
Hi, Still trying to sort out my taglib problems. I'm not sure at this point what classes I should compile against. I thought the reference edition, j2ee.jar would make the most sense. In theory each server that licenses J2EE should use the same "interfaces" and basic infrastructure classes. This

Re: Source XML Error: External entity not found:

2000-05-31 Thread Eric Richardson
Hi Mark, I have a problem like this in 10 Internal build 3. I have an application that used a url http://iron:8080/my.xml in the default-web-app area to get an XML file. It seems Orion tried to run the ?XSLT? servlet on it and could not resolve the dtd. The application showed that it tried to re

Tag lib fails with newest build

2000-05-30 Thread Eric Richardson
Hi, We previously used an iterate tag lib but had problems with the three argument setAttribute method so we hard coded to pageContext. Code in tag library: pageContext.setAttribute(name, iterator.next()); //page scope default This worked great for 1.0rc1 With  (Orion/1.0 (Internal build 3) initi

Re: Does Orion eliminate RMI? Was: How are database JOINS achieved with EJBs?

2000-05-30 Thread Eric Richardson
Steven Punte wrote: > > Al Fogleson wrote: > > > then you start adding all the RMI calls over the network and that adds > > some load too > > > > Well, EJBs will not always be called remotely to start with. A very > > common scenario is that you write Servlets/JSPs that communicate with > > EJBs.

Re: JSP Parsing Bug

2000-05-24 Thread Eric Richardson
view jsp. It would also compile but the Orion parser prevents it from generating the java source. Thanks for the interest. Eric :-)   "Mistri, Anjana (NOW)" wrote: Just checking, is id specified as private or protected? -Original Message----- From: Eric Richardson [mailto:[EMAIL P

JSP Parsing Bug

2000-05-24 Thread Eric Richardson
Hi, Has anyone else had this problem? 500 Internal Server Error Error parsing JSP page /pet_db.jsp line 85 Property 'id' in the 'com.ratex.common.Pet' type bean not found interface Pet extends Product and product has id property. Magnus or Karl, any comment? Eric :-) p.s.  10rc1 on linux jdk 1.2.

Re: Look up a EJB from a JSP?

2000-05-23 Thread Eric Richardson
Hi, The first two properties should be able to be put in a properties file such as jndi.properties usually on the classpath(maybe in the jre/lib directory). This can be read by the system by the "InputStream Classloader.getResouceAsStream()" method. Orion should allow for setting this for the syst

Re: JSPServlet not invoked for *.JSP

2000-05-22 Thread Eric Richardson
Hi, I think I misspoke on this one. It seems I was pointing at an older version on windows. Can you confirm this was a problem and is fixed? Eric :-) Eric Richardson wrote: Hi, When using Netscape 4.7 on windows and the Orion rc1 on windows, if you have a jsp named foo.jsp then if you call the

JSPServlet not invoked for *.JSP

2000-05-22 Thread Eric Richardson
Hi, When using Netscape 4.7 on windows and the Orion rc1 on windows, if you have a jsp named foo.jsp then if you call the servlet foo.JSP or FOO.JSP then the web server only returns source code for the JSP. Netscape on linux does not exhibit this behaviour.] If the backend is Orion on linux, it d

JSP useBean type problem

2000-05-18 Thread Eric Richardson
HI, I think I've found a JSP parsing problem and would like confirmation. Here is the situation for the classes: interface Product { public String getId(); } interface Pet extends Product { public double getWeight(); } public class PetImpl implements Pet { public String getId(); publi

Auto Deploy of web app from EAR?

2000-05-09 Thread Eric Richardson
Hi, Isn't there some way that a web-app can be deployed by just reading the application.xml file from the EAR? Is it because the server can support multiple HTTP sites that the deployment is ambiguous because it has to know which Web Container to deploy into or is the problem more subtle? It woul

Re: WAP & JSP

2000-05-08 Thread Eric Richardson
robert wrote: > Hmm, I haven't tried that. Might be it. > Does it have to be that www url? Since I don't > have an internet connection where I'm developing. > Could I use the 'localhost' url instead? > > /Robert Karlsson > > On Mon, 8 May 2000, Matt Krevs wrote: > > When I was messing around with

Re: Classloaders in orion

2000-05-08 Thread Eric Richardson
Hi Robert, I have asked too about this because I also use XML and not the same version. I use xmltr2. My problem is that the parser is leaving whitespace between elements where no whitespace can be according to the DTD. This breaks my code because apparently I'm using the one built into the appli

Re: Package private member access between JARs and WARs

2000-05-05 Thread Eric Richardson
Hi Gordon, This code is valid. Both ctors and the setName method have default access which means they can be called by other classes in the same package. The only thing that's off limits is the private var. So I agree and this is strange unless I'm missing something in the EJB spec. Maybe someone

Re: J2EE SDK Deployment tool

2000-05-03 Thread Eric Richardson
Hi, Enterprise Application aRchive. WAR is a Web ... These are in JAR format with special locations for components. Hope this helps, Eric Jim Archer wrote: > I have a dumb question... Whats an EAR file? > > Thanks... > > Jim > > --On Wednesday, May 03, 2000 11:09 AM +0100 "Robert Keith (UK)" >

Re: Looking up a beans properties

2000-04-26 Thread Eric Richardson
Hi, I'm also interested in this answer. I know you can resolve env property conflicts at deploy time to map server resources to bean resources but is this global or one per enterprise application? Eric :-) p.s. I too would be interested in an answer. [EMAIL PROTECTED] wrote: > Gary Albers@TIME

Re: Tag Example Problem

2000-04-25 Thread Eric Richardson
taglib's probably needs to be recompiled using the latest orion.jar, as there was a problem with comilers replacing static variables with their values.Please see note on www.orionserver.comI will update the taglibs in all examples asap.WRMagnus Rydin -Original Message- From: Eric Richa

Web App env-entry(s)

2000-04-20 Thread Eric Richardson
Hi All, In case anyone wondered how to get an env-entry         Used to find a configuration file     configFile     WEB-INF/eratex.xml     java.lang.String   From JSP Page <% javax.naming.Context context = new javax.naming.InitialContext(); String filePath = (String)context.lookup("java

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

2000-04-18 Thread Eric Richardson
queries etc. > > But when I deploy the EJB application in EAR file, the whole 'orion' sub-directory >is not created nor the configuration file. Hence there is no way I can think of to >provide my custom finder queries. > > Conrad > > -Original Message- &g

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

2000-04-18 Thread Eric Richardson
retrieve it from application scope. So I think this is defined wrong and is a bug. Is [EMAIL PROTECTED] where bugs should be sent? Couldn't see anything on Web Site. Hope this helps, Eric :-)   Eric Richardson wrote: Hi Brian, Brian Cunningham wrote: Hi Eric,Is it "product" vs "produc

Re: Tag Example Problem

2000-04-18 Thread Eric Richardson
-      < -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Eric Richardson Sent: Tuesday, April 18, 2000 10:12 AM To: Orion-Interest Subject: Tag Example Problem   Hi, I searched the archives and couldn't find anything relevent. I'm try

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 n

Re: problem with orionserevr and jdbc on win95

2000-04-18 Thread Eric Richardson
Hi LynchWu, You should be able to just drop this oracle library in the orion/lib directory. Edit the datasources.xml as a shown in a previous post recently and then it should work. Eric :-) LynchWu wrote: > Hi All > > I met some kind of problem in orionserver. When everything > is ok in my expe

0.96 problems: Was Re: 0.94 and 0.96 problems

2000-04-17 Thread Eric Richardson
Hi Magnus, Oops I miss stated earlier. To make my code work I have to remove all whitespace out of the xml document to make sure extra text nodes are not in the document DOM. Eric Richardson wrote: Hi Magnus, Well, I was using the autoupdate version of 0.96 and didn't know that you relea

Re: ANY ONE USING ORACLE WITH ORION SERVER

2000-04-17 Thread Eric Richardson
onnection-driver="oracle.jdbc.driver.OracleDriver" > username="scott" > password="tiger" > schema="database-schemas/oracle.xml" > /> > *** > > Also i made changes ser

Re: ANY ONE USING ORACLE WITH ORION SERVER

2000-04-14 Thread Eric Richardson
Here you are! Eric :-) "Sudhir A." wrote: > Hi, > Is there any one who could successfully setup the data source using oracle 8.1 > > with the latest version of Orion? > > Please post the Data Source String if possible? > > Thanks > Sudhir > > __

Re: 0.94 and 0.96 problems

2000-04-12 Thread Eric Richardson
unch. Eric :-)   Magnus Stenman wrote: Would that be the "real" 0.9.6? Ie the one from the zip linked on the site? If not then give it a try and let me know how it goes. :) /Magnus Stenman, the Orion team  - Original Message - From: Eric Richardson To: Orion-Interest Sent: Wednesday,

0.94 and 0.96 problems

2000-04-12 Thread Eric Richardson
Hi, After three days of work to try and get Orion going for a simple example using our infrastructure code, I give up. Here are the details. 1. We use our own XML lib (xml-tr2) to get info from a config file. This is used by our Persistence layer and connection pool etc. 2. I created a web app wi

Help Needed 0.94 and EARs

2000-04-11 Thread Eric Richardson
Hi, Do you have to have a separate enterprise application to run a web app in WAR format on this version of Orion? Can you use the global-web-application.xml which points to application.xml(doctype orion-application) or do you have to have application.xml(doctype application from j2EE)? Orion fol

web app setup / classloading problem

2000-04-11 Thread Eric Richardson
Hi, I'm trying to set up a web app without a enterprise app. I copyed default-web-site.xml to eratex-web-site.xml and edited to change the port. It looks like this minus the header.          name="eratex" root="/eratex"    load-on-startup="true">         I added t

Re: Is CMP is useless?

2000-04-06 Thread Eric Richardson
Hi, We also found the performance of Jonas poor for CMP. We currently are using a code generator for our persistence layer and even support of that without hand coding is a lot of work. we found CMP very handy but the mapping tools don't give you the flexibility of design that you'd have with an

Re: Feature question

2000-04-05 Thread Eric Richardson
Hi Dale, We have the same situation with a bunch of code, generator etc. I'm planning on making my stuff look like JNDI, DataSource etc. so my stuff can use resources if they are available. These are all interface specifications so if a datasource is available you can use it if you are in Orion o

Re: Possible Bug in 0.9.4 Bean Classloading

2000-04-04 Thread Eric Richardson
Hi Dan, I don't know if it's just your typing but the directory should be WEB-INF/classes. Hope this helps. Eric :-) Dan Winfield wrote: Hi Guys I have built an application that has one war file. In the war file are classes located in the web-inf/classes directory. 0.9.4 autodeploys the app ear

News App Login problems

2000-03-30 Thread Eric Richardson
Hi, I'm trying to deploy and try out the news-app. I can't log in. I looked at news-app/META-INF/principles.xml and added a user but this doesn't help. What do I need to do? Eric :-)

Re: Dynamic class loading in servlet

2000-03-17 Thread Eric Richardson
evelopMentor ( http://www.develop.com ) > http://www.javageeks.com/~tneward > -Original Message- > From: Eric Richardson <[EMAIL PROTECTED]> > To: Orion-Interest <[EMAIL PROTECTED]> > Date: Monday, March 06, 2000 8:12 AM > Subject: Re: Dynamic class loading i

Re: J2EE web layout with Orion..??

2000-03-16 Thread Eric Richardson
Eric Richardson wrote: The html attachment seemed to get truncated, I'll send the zip/jar which contains index.html as a starting point and is more complete. eardoc.zip

Re: J2EE web layout with Orion..??

2000-03-16 Thread Eric Richardson
Kevin Duffey wrote: Hi, Here is a little doc I put together that shows the ear layout with some components from the J2EE demos. As you can see, J2EE puts a app server specific file into the ears. When I autodeployed an app into Orion, it inserted the file as you asked but I had no luck getting a

Re: Dynamic class loading in servlet

2000-03-08 Thread Eric Richardson
Hi, Did you try Beans.instantiate(this.getClass().getClassLoader(), "my.package.Classname") ? This would use the same classloader as servlet was loaded in assuming "this" is the servlet? We had to do this going from JRun to Orion and this is a much better way for Servlet 2.2 API. Eric :-) Kit Crag

Re: Orion bug for disallowed-field with Oracle

2000-03-03 Thread Eric Richardson
Hi, I mentioned this table name too long for oracle thing in a previous post as well. Another thing I don't understand is the need for xml document to map java types to sql column types for specific DBs. DatabaseMetaData and ResultSetMeta data gives the types when looking at an existing DB and ja

Re: Problem running ejbsamples

2000-02-24 Thread Eric Richardson
; they can also contain new bugs, so use at your own risk. > > 0.9.2 will very shortly be officially released, we are testing it and > updating documentation. One of the features is an -install switch to the > server which will make some initial settings. This will mean fewer steps > t

Re: Problem running ejbsamples

2000-02-24 Thread Eric Richardson
Vlad, So I guess a 0.9.2 jar is newer than the 0.9.1g jar I'm using. This may be helpful to the list. Eric Vlad Petric wrote: Did that as instructed, but now I have "Orion/0.9.2 initialized" ?!? There is something wrong with that webpage Thank you, Vlad > Replace the orion.jar with the one o

Re: Problem running ejbsamples

2000-02-24 Thread Eric Richardson
Hi Vlad, The auto deployment compile the beans and creates the wrapper code for the beans. In addition it tries to create the associated Database tables. You need a datasource. I just plugged my stuff in for Oracle. The first and the last four items are all that I changed. from data-sources.xml.

Re: Ann: Orion Application Server 0.9.0 released with full J2EE support

2000-02-23 Thread Eric Richardson
Hi, Anybody able to get the Orion supplied EJB demo in Orion working? Or any other J2EE demos such as the Pet Store? I can't get passed the security. Communication error: Lookup error: java.lang.SecurityException: Invalid username/password The auto deploy works but the demo had tablenames too lo

EJB Demo Problems

2000-02-21 Thread Eric Richardson
Hi, I'm trying to run the EJB demos and I'm having problems, some of which I've resolved. I followed the instructions in demo/ejb/install.txt The first problem occurred during auto-deployment. Here is the text. java -jar orion.jar Auto-deploying ejbsamples... Auto-deploying product... Auto-creati