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
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],
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
- 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
- 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
- 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
- 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
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
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
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
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
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
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
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: "
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
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
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.
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?
--
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
__
Do you want a free e-mail for life ? Get it at http://www.personal.ro/
__
Do you want a free e-mail for life ? Get it at http://www.personal.ro/
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
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
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?
--
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
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
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
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
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
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)?
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:
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-
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
Isn't it wonderful the opensource world? :)
--
Best regards,
Rafaelmailto:[EMAIL PROTECTED]
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
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
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
37 matches
Mail list logo