Re: CMP default datasource

2001-04-06 Thread Fredrik Olsson
Add "default-data-source" to orion/config/application.xml like this: orion-application autocreate-tables="true" default-data-source="jdbc/OracleDS", if that dosn't work try to add your DS at the top of the data-sources.xml, like data-sorcemyDS/data-source data-sorcemyOther/data-source

Re: Where to put application parameters?

2001-04-06 Thread Petr Podsednik
Try this: String path = "your-relative-path.xml" InputStream ins= null; try { ins = getClass().getClassLoader().getResourceAsStream(path); } catch (Throwable ex) { com.amaio.util.sys.prn("Error getting XML resource"+ex); } - Original Message - From: Toth [@FREEMAIL],

Re: Including jar files in my web app ?

2001-04-06 Thread Court Demas
I was able to do this by simply printing out the current classloader. Write a simple servlet/JSP page that does this: response.getOutputStream().println( "classloader: " + this.getClass().getClassLoader().toString() ); Unfortunately, I had troubles getting the above code loaded in certain

Re: Question on Deploying an Enterprise App

2001-04-06 Thread Marcel Schutte
- Original Message - From: "Abhilash Koneri" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Friday, April 06, 2001 4:41 AM Subject: Re: Question on Deploying an Enterprise App Thanks a lot for the reply, I have some more questions : 1. If the helper classes are

Re: Question on Deploying an Enterprise App

2001-04-06 Thread Marcel Schutte
- Original Message - From: "Abhilash Koneri" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Friday, April 06, 2001 4:41 AM Subject: Re: Question on Deploying an Enterprise App Thanks a lot for the reply, I have some more questions : 1. If the helper classes are

Re: Question on Deploying an Enterprise App

2001-04-06 Thread Marcel Schutte
- Original Message - From: "Abhilash Koneri" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Friday, April 06, 2001 4:41 AM Subject: Re: Question on Deploying an Enterprise App Thanks a lot for the reply, I have some more questions : 1. If the helper classes are

Re: Question on Deploying an Enterprise App

2001-04-06 Thread Marcel Schutte
- Original Message - From: "Abhilash Koneri" [EMAIL PROTECTED] To: "Orion-Interest" [EMAIL PROTECTED] Sent: Friday, April 06, 2001 4:41 AM Subject: Re: Question on Deploying an Enterprise App Thanks a lot for the reply, I have some more questions : 1. If the helper classes are

RE: WE NEED NEWS! We need to know Orion is alive well!

2001-04-06 Thread Dan North
Nice analogy :o) And one day I'll be able to say that I had all their early albums before they became famous... Dan/tastapod At 13:02 05/04/2001 -0500, you wrote: How many people are actually working on Orion, and what is their forte? Most likely, it is probably developed and maintain by a

Problem with authentication - login

2001-04-06 Thread Peter Neil
Hi, a first here I am new to using the J2EE environment. All previous projects on Weblogic we have written our own custom authentication now there is java.security.principal and all that. The problem I have is I went through an example I found on the archive along with the one on

RE: Where to put application parameters?

2001-04-06 Thread Toth [EMAIL PROTECTED], Adam \(E-mail\)
Hi, Petr: Thanks, but you misunderstood the problem (may be my fault). The problem is that the component - which doesn't have the .java source - uses this parameter. Yes, I think they use ins = getClass().getClassLoader().getResourceAsStream(path); It's OK but the problem is that I can't

RE: Where to put application parameters?

2001-04-06 Thread Peter Neil
Where/how do you try and get the parameter JSP String someparam = (String)application.getInitParameter("someparam"); Servlet in the init String someparam = (String)application.getInitParameter("someparam"); Sometimes this does not work if you try and use the

SV: Orion CMP

2001-04-06 Thread Magnus Rydin
Title: SV: Orion CMP check out /orion/database there you find the hSQL files. WR -Ursprungligt meddelande- Från: Ashok Banerjee [mailto:[EMAIL PROTECTED]] Skickat: den 5 april 2001 12:13 Till: Orion-Interest Ämne: Orion CMP Where does Orion store its CMP data? I know it

RE: Datasource confusion

2001-04-06 Thread Koster, K.J.
Dear All, I've nailed the problem. I removed the datasource definition from the ejb-jar.xml and placed one in ~orion/config/data-sources.xml. After rebuilding the application I stopped Orion, wiped out the ~orion/application-deployments directory, and restarted Orion. I now get remote access

Re: Including jar files in my web app ?

2001-04-06 Thread Hani Suleiman
Or even better: getClass().getProtectionDomain().getCodeSource().getLocation() On Fri, 6 Apr 2001, Court Demas wrote: I was able to do this by simply printing out the current classloader. Write a simple servlet/JSP page that does this: response.getOutputStream().println( "classloader: "

Re: Finder methods on EJB fields

2001-04-06 Thread Dan North
The orion finders are wonderfully straightforward in this regard (joins across entities), but you have to be a bit careful. Here's a quick example. An Employee bean has a reference to Office. The Office bean has an int numStaff attribute. I want to define a finder method that shows me all

mapping database fields with beans' variables....

2001-04-06 Thread Rupesh Das
Hi, I would like to know where to put the information regarding the database fields being used by my beans. I have worked on WebLogic and in that case we put the information in the weblogic-cmp-rdbms-jar.xml which maps the database fields with the beans' variables. My databse is Oracle and I

Re: Bi-directional relations (my kludge)

2001-04-06 Thread Ray Harrison
Nice! Though Orion and Weblogic both support incomplete versions of 2.0 (and each different aspects at that) and all of that is subject to change, of course! I couldn't tell though if Weblogic supports m-n relationships in a solid manner. --- Reid Hartenbower [EMAIL PROTECTED] wrote: Hi Ray.

A modification to ejbtags.jar

2001-04-06 Thread Rafael Alvarez
Hello Karl, I made a modification to the ejbtags.jar you published in the website. I modified the Iterate tag so it accept an optional field that defines an ordering in the iteration over the collection. The question is: should I publish it to the list or you guys check it out and decide? --

RE: Datasource confusion

2001-04-06 Thread Kemp Randy-W18971
The reason you are probably getting remote access denied from the Mysql server, is that the grant tables must be set up with the com address (www.something.com) and localhost. If you are using mysql, I strongly recommend picking up Mysql by Paul DuBois (see page 429, A Privileged puzzle), and

Un Subscribe

2001-04-06 Thread Ventuneac Marian-Romeo
__ Do you want a free e-mail for life ? Get it at http://www.personal.ro/

Un Subscribe

2001-04-06 Thread Ventuneac Marian-Romeo
__ Do you want a free e-mail for life ? Get it at http://www.personal.ro/

Short Orion/remote MySQL howto

2001-04-06 Thread Koster, K.J.
Dear All, I've written a short howto on setting up Orion with MySQL on FreeBSD, including some info on how set up privileges to connect to a remote MySQL database. http://kjkoster.org/java/index.jsp?page=content/packages.jspid=hd07 Kees Jan

Re: A modification to ejbtags.jar

2001-04-06 Thread Rafael Alvarez
Ok. that resolve it :) I made two mistakes: 1) This mail was intended for Karl, but I misclicked in my email manager. 2) The version I sent is not a working one. I just realized that I lost the last version in the last crash of our CVS... Mea culpa not having a backup. Anyway, here is the

Re: Where is the log file?

2001-04-06 Thread Markus Holmberg
In "orion/application-deployments/yourapp/application.log". Regards, Markus. On Thu, Apr 05, 2001 at 06:33:21PM +0200, Muly Oved wrote: Hi My Servlet raise an exception during the init() where can I find the log file containing the call stack? do I need to turn on some parameter? --

RE: WE NEED NEWS! We need to know Orion is alive well!

2001-04-06 Thread Peter Neil
where you from, I know it isn't a one hit wonder. Definitely not the ORION phenomena... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Fink, Paul Sent: 06 April 2001 15:21 To: Orion-Interest Subject: RE: WE NEED NEWS! We need to know Orion is alive

RE: How to set the X-Window DISPLAY on Orion

2001-04-06 Thread Jeff Schnitzer
You just need to configure the DISPLAY variable for the environment that Orion runs in. Are you running Orion from a script? Set the DISPLAY variable in the script. I gotta warn you though, the xvfb renders some pretty awful output. The full X server doesn't do a whole lot better, at

AdJuggler on Orion

2001-04-06 Thread Larry Velez
Title: AdJuggler on Orion I am running AdJuggler Pro (http://thruport.com/adjuggler/) on Orion and have been getting the following error on occassion. Does the statement from Thruport Support sound accurate to you guys and should I be concerned about this occasional error? thanx, Larry

RE: Bi-directional relations (my kludge)

2001-04-06 Thread Jeff Schnitzer
M-N relationships do work in Orion, although not bidirectionally. WebLogic has good support for most of the EJB2.0 spec, and there is a product that runs on top of JBoss that allows you to deploy EJB2.0 packages (it converts everything to the 1.1 format for JBoss to consume). I don't

Re: AdJuggler on Orion

2001-04-06 Thread Tim Endres
A more common reason for that error is that your database server, or the JDBC driver, has a timeout built into the connection. For instance, MySQL will timeout a connection after 8 hours. The MySQL JDBC driver has a option that you can turn on to "keepalive" the database connection. If it were an

Various levels transaction support on Orion...

2001-04-06 Thread Alex Paransky
Somewhere I read that Orion does not support client starting transactions. Is my web-application considered a client? Can I start a transaction inside of my web-application? What if web application is running on a server different from my EJB application (using the RMI.XML configuration)?

Re: AdJuggler on Orion

2001-04-06 Thread Stan Ng
Title: AdJuggler on Orion yeah that is a familiar exception. the most common scenario i've found is that the end-user will hit stop or reload on the browser while the page is still being read. should be ok, i think... - Original Message - From: Larry Velez To:

RE: A modification to ejbtags.jar

2001-04-06 Thread Michael A Third
Since I had already modified the Iterate tag to support sliding windows, I went ahead and incorporated Rafael's sorting tag and enhanced it to support descending order. I've only attached the IterateTag.java and a sample tld if anyone would like to use it. Michael -Original Message-

RE: AdJuggler on Orion

2001-04-06 Thread Larry Velez
Title: AdJuggler on Orion This application has no users per se, it serves up ads to our website and all the usage comes from page requests from our web servers to the AdJugglerad server. Since site visitors will often quickly click through the site, it is possible that some connections are

Re[2]: A modification to ejbtags.jar

2001-04-06 Thread Rafael Alvarez
Isn't it wonderful the opensource world? :) -- Best regards, Rafaelmailto:[EMAIL PROTECTED]

RE: How to set the X-Window DISPLAY on Orion

2001-04-06 Thread Darren Gibbons
This issue should be solved with version 1.4 of the JDK from Sun. Check out this bug in Sun's bug parade for more information: http://developer.java.sun.com/developer/bugParade/bugs/4281163.html We're currently using Xvfb for handling image resizing under a headless Unix box and it works

RE: Where is the log file?

2001-04-06 Thread Andrew Chau
How about the log for EntityBean container to the SQL database? Is there any log containing the SQL statement that orion container sends to teh database? Thanks Andrew -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Markus Holmberg Sent: Friday, April

RE: WE NEED NEWS! We need to know Orion is alive well!

2001-04-06 Thread Fink, Paul
Or like a rock band that had one hit single and are never heard from again. -Original Message- From: Kemp Randy-W18971 [SMTP:[EMAIL PROTECTED]] Sent: Thursday, April 05, 2001 1:02 PM To: Orion-Interest Subject: RE: WE NEED NEWS! We need to know Orion is alive well! How