What is the best way to configure two installations of
Orion, on different machines, so web-server on one can
access the EJB-Server on the other? Can this be done
through only the configuration files?
You have to add your ejb server in rmi.xml.
An example:
server host="yourEJBHost"
I don't want to do any database activity. I just want this Java Object to be
accessible as an EJB accessible by many different clients hosted by an
Application Server. The object doesn't have to be stateful either.
It sounds like you're describing an entity bean more than a session
bean. An
Hi,
regarding the OutOfMemory, they just added a max-instances attribute for
entities and message driven beans in orion 1.4.6 - which by now is not
accessible via autoupdate, it seems :-(. See bug #258. By now, the cache
size depended only on the beans maximum lifetime (that is, a bean is
Try initializing the context this way:
...
Properties props = new Properties();
props.setProperty("java.naming.factory.initial","com.evermind.server.Applica
tionClientInitialContextFactory");
props.setProperty("java.naming.provider.url", "ormi://localhost/app-name");
Hi
I have an enterprise bean in an orion application. I am able to call this bean from
inside the application.
If I try to access this bean from a servlet in another application I get the following
error:
javax.naming.NamingException: Error instantiating web-app JNDI-context: No
I wish to micmic the functionality of
servlet chaining, easily achieved in Orion 1.3.8
via placing the following tags in the
global-web-application.xml file:
servlet-chaining servlet-name="XSLPainter" mime-type="text/xml"/
servlet-chaining servlet-name="XSLPainter"
Stefan,
you can have your jsp and html files in the same layout as an asp
application. If you are going to use servlets however, they will need to go
into the WEB-INF/classes folder.
I don't know of any functionality missing from the Orion application server
over Apache or IIS.
IIS provides
My comment on part 1.
With orion you don't need apache or any other webserver. Orion handles
all that very well.
It is possible though to use apache as plugin or is it the other way
around...?
My comment on part 2.
Go ahead and mix the files all you want or in a way you are
I hope that someone on here can give me some hints to fix a strange problem
I'm having.
I'm developing a small application and trying, obviously, to reuse as much
code as I can. Most of the code is used by both a StandAlone application
(executed from the console vith just java) and some jsp
I'm just wondering what to do when inserting into a table where the
primarykey has incremental int type?
Is this possible?
Please help.
Walle
Thanks, I'll give this a shot.
-Original Message-
From: Boris Erukhimov [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 29, 2001 11:19 AM
To: Orion-Interest
Subject: Re: Downloading a file via a Servlet
You may try this for download any type of file
code
//Ns
All you need to do is set the contentType in the response to the proper
mimeType.
res.setContentType("application/pdf");
If you still have troubles, let me know (off the list) and I'll help you
out.
-Original Message-
From: Norman Jefferies [mailto:[EMAIL PROTECTED]]
Sent: Monday,
I am running Orion 1.3.8 seems to work, but I am thinking of upgrading.
But which version should one upgrade to? - According to www.orionserver.com
the new 1.4.5 is both stable and experimental... which sounds a bit like
"stable and unstable".
R.
Thanks for the reply. That is exactly how I am initializing the context
in my client application:
Hashtable ht = new Hashtable();
ht.put(Context.INITIAL_CONTEXT_FACTORY,
"com.evermind.server.ApplicationClientInitialContextFactory");
ht.put(Context.PROVIDER_URL,
Ed.
I went home last
nite to see how I had configured the Postgres data source found that I
used DriverManagerDataSource as you did so my remarks about ConnectionDataSource
are probably not useful. Sorry. I notice that you specify the driver
class as "postgresql.Driver" and I use
Related to the discussion about downloading a file from a servlet...
Any thoughts on the best way of downloading a file from a session bean
to a remote client?
I have a remote client which currently uses the URL and URLConnection
classes in java to utilize HTTP based conversations with
Sorry, the message "No suitable driver" probably means a problem with jdbc
driver.
So if you have into the data-sources.xml the definition:
data-source
class="com.evermind.sql.DriverManagerDataSource"
name="Hypersonic"
Hi
I am trying hard to get started with tag libraries, but for some reason I
keep getting an empty "HTTP 500 Internal server error" page when I call the
JSP page which uses my tag library - and the error is not explained in
Orion's log files.
I get the error when I try to use my tags - not when
Yes, yes, I know what the docs say. The point is,
ClassLoader.getResource should be able to retrieve
anything in the current classpath, and WEB-INF/classes
*definitely* ought to be in the classpath - the very
same ClassLoader loads class files from it after all.
However, as I said, when running
You can still use an entity bean to provide this functionality. Nothing in
the specification states that the persistent store has to be a database. So
design your bean to be a BMP entity bean, then handle the loading and saving
of your data in your ejbLoad and ejbStore methods. You can serialize
There is an article about this at
http://www.orionsupport.com/articles/ejbuniquecounter.html
R.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of ystein Walle
Sent: 30. januar 2001 11:37
To: Orion-Interest
Subject: When using autonumber for the
yap, server.xml (add a RMI server ref there)
JP
-Original Message-
From: Globetrot Communications [mailto:[EMAIL PROTECTED]]
Sent: Lunes, 29 de Enero de 2001 22:18
To: Orion-Interest
Subject: Accessing Orion-EJB-Server on one machine from Orion-web-server
on another?
What is the best
At one point in time, they said the same thing of version 1.3.8. I believe what they
mean is that the experimental version has now become the stable version.
-Original Message-
From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 6:14 AM
To:
why many clients? is that a 'performance enhancement'? (orion's got a pool
of objects, so no perf enhancements to do)
do you wish to model a singleton?
please, elaborate further.
JP
PS: shoooting from the hip a stateless session bean with its fields set
up as
public static MyFieldType
Whops sorry about the last message, didnt read everything :)
But anyways you have to set up the driver and url for that server, or
nothing will work at all...
Laters!! :)
Klaus
-Opprinnelig melding-
Fra: Roger Vaughn [mailto:[EMAIL PROTECTED]]
Sendt: 30. januar 2001 14:47
Til:
This is not a bug :)
You should use the narrow method to do this, or you are not ejb2.0
compatible or corba to be more spesific.
Here is an example on how i would do it:
* SNIP START
Context ctx = new InitialContext();
MyRemoteHome home = (MyRemoteHome)
I think I have not made myself clear enough. The DataSource access works
in the
context of the appserver running. What I was trying to do is access a
DataSource
from the application client side. Now, this is the fix for my problem,
but maybe
there is a better way to resolve this, so I will
If it's actually an autonumber field (at least with SQL Server), just insert
the rest of the fields (not including the autonumbered field), e.g.
(presuming your table includes First_Name,Last_Name, and an
autonumber...say, a Customer_ID field):
"INSERT INTO tblMyData(First_Name,Last_Name)
Please consider this scenario:
1. A JSP Page is processed, producing XML content.
2. The JSP Page producing this XML contains a JSP Tag Lib
which extends the BodyTagSupport Interface. At the
end of the Custom JSP Tag (which wraps the JSP code producing
the XML), the generated XML is
You're correct... ;)
-Original Message-
From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
Sent: Martes, 30 de Enero de 2001 9:14
To: Orion-Interest
Subject: Which version is stable
I am running Orion 1.3.8 seems to work, but I am thinking of upgrading.
But which version should one
We have developed a web application that works fine under OrionServer.
It has JSP, JavaBeans and Taglibs.
Now we are testing with Bea Weblogic and there are some strange errors
thrown by the server.
It complains about (java.lang.VerifyError: (class:
Depends upon what features your using. Version 1.4.5 broke some EJB 2.0 CMP
stuff. You may want to check the bug list and see if there is anything
reported that would be a problem for you.
Jim
--On Tuesday, January 30, 2001 1:14 PM +0100 Randahl Fink Isaksen
[EMAIL PROTECTED] wrote:
I am
Below is a test to access orion-primer example bean from
a standalone client.
I can not get this to work and have looked through the
mail archive and web to find any working examples of
this type of access. The lookup portion fails and I have
tried a number of variations.
Since the
Just downloaded the Orion Server and was wondering what the current userbase
thought about the product.
Is it stable and scalable enough to deploy a major website using Servlets,
JSP and EJB?
Better than Resin? JRun?
I've used WebSphere, WebLogic and SilverStream.
Thanks,
Burr
[EMAIL
Today, Mark Bernardinis ([EMAIL PROTECTED]) wrote:
I don't want to do any database activity. I just want this Java Object to be
accessible as an EJB accessible by many different clients hosted by an
Application Server. The object doesn't have to be stateful either.
I suspect the problem with
I found it very easy...I use:
http://mmmysql.sourceforge.net/ - jdbc driver
http://javaexchange.com/ - connection pooling
One variable i had was w/javaexchange's DBBroker, set AutoReconnect=true...
so far so good...been using awhile
David
At 05:20 PM 1/30/01 +0100, you wrote:
Hi,
I saw an email in regards to the fix of bug #161
that claimed to be fixed in 1.4.6. I went to the
orionserver site to see if I can download 1.4.6 but
can't find a way of doing it. Is it available for
download yet? If so, can someone tell me how to do it.
Thanks
Sergio
sorry
about being elusive
here's
a (kinda) how to:
in$orion\config\rmi.xml
server host="the.remote.server.com"
password="123" port="23791" username="admin" /
then
in orion-application.xml (in
$orion\application-deployments\yourear\)
ejb-module path="myEjbs.jar" remote="true"
/
that
paginate your search and cache partial results on the client side:
you need N total records...
have a query to return J records starting at page K
(records between K*J and (K+1)*J)
cache these on the client for page 1
whenever a given page K is shown, check in the cache if pages (K-1)
BTW, you CAN access files, but this also may harm multi-host scalability
There's however ways of doing this, for example, a jdbc-file driver (a jdbc
driver that fires upon a filesystem instead
of a database); I think there's one freely available from an O'Reilly book
on servlets (i used to have
if you use HSQL , and define the column as incremental type ( I forgot the
attribute type), then it is automatic
-Original Message-
From: ystein Walle [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 5:37 AM
To: Orion-Interest
Subject: When using autonumber for the
use stateless session bean, it can serve multiple clients concurrently.
-Original Message-
From: Mark Bernardinis [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, January 30, 2001 3:18 AM
To: Orion-Interest
Subject: Re: Session EJB Accessibility
I don't want to do any database
Hi
I have been trawling through the list and it seems quite a few
people have come across the same problem I have which is how do you
tell orion
the minimum or maximum number of session (stateful) beans to keep
in a pool ?
I know you can specify this with weblogic but I would
Oops. My bad. This isn't working under 1.3.8 either.
I still don't know why - it's a valid cast, the class
is there, and I *compiled* with it after all.
--- Roger Vaughn [EMAIL PROTECTED] wrote:
In one of my webapps, I have to do an RMI call to an
outside RMI server. I'm locating the
Nope. I'm afraid that's not it. Yes, using
PortableRemoteObject would be a bit more correct, but
that doesn't have anything to do with the class
loading. Also, I'm calling a plain RMI server, so the
session object comments don't really apply here.
Here's what I found. The needed class was
Could somebody, please, summarize the MINIMAL contents
of a jar file necessary for a stand-alone client to
put it in it's classpath and be able to access an
application on Orion-server from anywhere and if there
is an orion-tool available to do this?
Thanks
Satish Gupta
In my day job, I use both SilverStream and Sybase's EA Server. They are okay. I
personally think
that they are extraordinarily over-priced and they don't have the level of J2ee
technology
implemented that Orion does, especially in CMP, where I have a special place in my
heart. I have
used
uh... search the archives... I think there's mostly one reference to
www.netcraft.com for you to find out.
Also, there's a list hosted by Jason Rimmer at:
http://orion.irth.net/OOPS/oopslist.jsp
and if everyone would sign in there, it would increase considerably,
allowing many other potential
I am not sure about major sites running Orion, but here is some food for thought:
When you mean better, what is the criteria? Able to handle a greater amount of
traffic? Better documentation? Fewer bugs found? Site not bouncing that often? You
can go to www.netcraft.com, and see what a
Below is a test to access orion-primer example bean from
a standalone client.
I can not get this to work and have looked through the
mail archive and web to find any working examples of
this type of access. The lookup portion fails and I have
tried a number of variations.
Since the
Is your agruement RMI-IIOP valid?
M
Ismael Blesa Part wrote:
We have developed a web application that works fine under OrionServer.
It has JSP, JavaBeans and Taglibs.
Now we are testing with Bea Weblogic and there are some strange errors
thrown by the server.
It complains about
not to mention the total lack of transaction support which makes it
impossible to be used with CMP AFAIK
JP
-Original Message-
From: Arno Grbac [mailto:[EMAIL PROTECTED]]
Sent: Martes, 30 de Enero de 2001 15:08
To: Orion-Interest
Subject: RE: orion and mysql?
This doesn't answer your
I found it very easy...I use:
http://mmmysql.sourceforge.net/ - jdbc driver
http://javaexchange.com/ - connection pooling
One variable i had was w/javaexchange's DBBroker, set AutoReconnect=true...
so far so good...been using awhile
Which mysql are you using? Not all
nope, shouldn't serve multiple clients concurrently...
however, most servers use it (kinda) statically, but won't be true in a
cluster
JP
-Original Message-
From: Luong, Tony S322 [mailto:[EMAIL PROTECTED]]
Sent: Martes, 30 de Enero de 2001 15:23
To: Orion-Interest
Subject: RE:
I just switched to latest and greatest of 3.23 tree from the
greatest of the 3.22 tree...so far so goodeven updating the working
server was easy. It's fantastic for medium size web sitesI haven't
played with the Berkeley DB transactions yet.
Title: RE: taglibs
I had this problem early on.
Go back to basics to start with.
Your first step is to refer to the class directly and not through a jar file.
Try this:
1. Get rid of the taglib tag in the web.xml
2. Change the URI in the taglib.tld to: uri/
3. When using the TAGLLIB
I'm confused by your comments; does it need to manage state, or doesn't
it? I'm assuming it does, otherwise you would just use a stateless
session bean.
Here's some fodder for conversation:
I don't think there is an EJB facility which will help you. SLSBs are
pooled and can timeout, SFSBs
Hi,
I seem to not be able to look up an EJB from my servlet. Anyone have any
ideas how you make your EJBs accessible to servlets?
The error I get is "MyCart not found".
Thanks,
Emil.
I have our access log set up to cycle daily and show the extended
information. The timestamp however, is stuck. Every single message in the
access log has the identical timestamp (which corresponds to when Orion was
started most recently). Also, the file does not cycle each day (perhaps
because
Hi list,
I know this question has been asked before and I have seen very little
response that would eliviate the anexiety I have in going full speed ahead
with Orion for our production deployments.
I have also looked at and solicited comments from the web site URL's posted
on orionserver.com
Today, Jeff Schnitzer ([EMAIL PROTECTED]) wrote:
I'm confused by your comments; does it need to manage state, or doesn't
it? I'm assuming it does, otherwise you would just use a stateless
session bean.
Here's some fodder for conversation:
I don't think there is an EJB facility which will
Thank You Juan, Ray and Randy
I guess the initial question was a little vague but I like to hear people's
opinions. After the download and simple install I was able to add a Sybase
ASA database as a DataSource, connect to it via JSP and add a simple custom
taglib to the default-web-app which
Just last week I deployed an EJB app that used CMP onto 1.4.5 with JDK 1.3.
It was slow, slow, slow.
I reverted back to 1.3.8 and it was fast.
this is for Solaris 2.7. NT 1.3.8 was fast and consistent with 1.3.8 on
solaris.
k.
-Original Message-
From: [EMAIL PROTECTED]
Jeff,
I disagree. Part of the benefit of a DataSource is that it can abstract
the actual driver or database being used. If I can ask a DataSource for
a database connection and not have to care about which client-side
driver to load, and (less practically), even what rdbms i am using.
That
Hi,
I am facing very big problem with
Orion.
Our application is based on JSP/Servlet
and EJBs. We have Oracle. Our application is running fine with WebLogic
5.1.
Now, we are trying to run it under Orion.
First, we faced big problem of lookup which everybody is facing. We solved that
Hi,
I am facing very big problem with
Orion.
Our application is based on JSP/Servlet
and EJBs. We have Oracle. Our application is running fine with WebLogic
5.1.
Now, we are trying to run it under Orion.
First, we faced big problem of lookup which everybody is facing. We solved that
You hit the nail on the head. This is exactly what I want to do. I am
beginning to realise that maybe EJB is not the way to go with this example.
I'm confused by your comments; does it need to manage state, or doesn't
it? I'm assuming it does, otherwise you would just use a stateless
session
Add ejb-ref in web.xml of you web app
santosh
- Original Message -
From: Emil Sarkissian [EMAIL PROTECTED]
To: Orion-Interest [EMAIL PROTECTED]
Sent: Wednesday, January 31, 2001 5:13 AM
Subject: EJB's referenced from a servlet?
Hi,
I seem to not be able to look up an EJB from my
Inline...
- Original Message -
From: "Burr Sutter" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Tuesday, January 30, 2001 9:09 PM
Subject: Re: Developers
Thank You Juan, Ray and Randy
I guess the initial question was a little vague but I like to hear
people's
The OOPS listing that Juan mentioned earlier is currently running
v1.4.5. Granted it's just a bunch of JSPs but so far the server has crashed
a few times. Note that I'm running IBM build cx130-2815 JVM.
By the way, is there a new version of the IBM v1.3 JVM? I know releases
are
While I agree that the client code should have no knowledge of what
driver it is using, somehow the JDBC driver classes do need to
eventually find their way to the client machine. Since J2EE doesn't
specify the process by which client files get to the client machine (and
for good reason), there
First, we faced big problem of lookup which everybody is facing.
We solved that after very long exercise. Now we are facing another bigger problem.
Please elaborate and explain to the list what you did to solve this problem.
tim.
Actually there is nothing in the spec mandating a single instance. You could
have multiple instances of the same entity bean (representing the same
persistent store) as long as their access to the store was synchronized and
changes are reflected accross all the beans.
Al
-Original
And I also want these objects to be accessible remotely via RMI or some
other method as I have a number of different clients accessing the data.
Such as Servlets / JSP's, remote clients who do not need to know the
implementation of it and also I will be able to manage the objects.
You hit the
From: Gary Shea [mailto:[EMAIL PROTECTED]]
I could use a little help here. My limited understanding of entity
beans suggests that if I create an EB using a particular
key value, as long as I refer only to that same key value there
would only be one instance of the EB. Is that not true because
From: Mark Bernardinis [mailto:[EMAIL PROTECTED]]
It seems like what you want is either a SLSB which never
times out and
is guaranteed to only have one instance in the pool, or a BMP entity
bean with a guarantee of serialized transactions.
This is exactly what I want to do. The only
On Tue, 30 Jan 2001, Juan Lorandi (Chile) wrote:
You're correct... ;)
Well, I had to switch back (yet again) to 1.4.0. because 1.4.5. seems to
think ServletRequest isn't serializable...
Well then, is there a simple how-to for setting up Interbase with Orion? -
Have you got a database schema which works?
R.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Arno Grbac
Sent: 30. januar 2001 19:08
To: Orion-Interest
Subject: RE: orion and
I believe Orion uses pessimistic concurrency control. However, I don't
think optimistic concurrency control would allow dirty reads -- I understand
a dirty read to imply a transaction seeing the uncommitted state of another
transaction.
Vidur
Jeff Schnitzer wrote:
From: Gary Shea
79 matches
Mail list logo