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
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
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
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
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
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
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
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
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
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
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
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:
&
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
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
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
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
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
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
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:/
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
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
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
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
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
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
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
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
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
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
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
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.
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
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.
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
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
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
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
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
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
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
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
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)"
>
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
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
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
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
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
-
<
-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
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
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
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
onnection-driver="oracle.jdbc.driver.OracleDriver"
> username="scott"
> password="tiger"
> schema="database-schemas/oracle.xml"
> />
> ***
>
> Also i made changes ser
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
>
> __
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,
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
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
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
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
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
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
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 :-)
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
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
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
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
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
; 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
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
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.
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
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
71 matches
Mail list logo