Hi,
I already saw a lot of questions/answers about that in the mailing archive
but none of them really answered the question so
I'd like to evaluate the web-tier of Orion using an existing EJB
application running on weblogic 6.0, I already did the same thing with Tomcat
and in that
I was not clear enough,
I have not got problems with accessing my EJBs from a servlet within the
SAME J2EE application, i.e. when the servlet and EJB is deployed in the same
.EAR file.
I have problems with accessing EJBs remotely from a remote Servlet client!
Please see my first mail below and
Title: SV: Orion taken over
The source of all that was a 'quip' (a joke) on Bugzilla, nearly a year ago.
Funny how these things gets a life of their own :)
WR
-Ursprungligt meddelande-
Från: Ray Harrison [mailto:[EMAIL PROTECTED]]
Skickat: den 27 februari 2001 08:36
Till:
Hi,
I already saw a lot of questions/answers about that in the
mailing archive but none of them really answered the question so
I'd like to evaluate the web-tier of Orion using an existing
EJB application running on weblogic 6.0, I already did the same thing with
Tomcat and in that
Title: Remote JMS access
I have a remote JMS client which publishes to a subscriber. The subscriber is on the same box as orion - no problem. The publisher is remote. Everything in the remote client works if the classpath includes orion.jar. I don't want to copy this around. I have put the
PROBLEM
I have a question regarding taking properties from an EJB and generating XML
output. To explain, here is an example of my problem:
poem title = "%= myPoem.getTitle()" %= myPoem.getContents() %
/poem
Because title is an XML attribute I think special characters like '' needs
to be
In the archive I've found the following:
From:Larry Velez [EMAIL PROTECTED]
Subject: Orion as a Win2000 service
I am running Orion as a service using the following RunSvcExe script:
Note that jvmi.exe (http://www.kcmultimedia.com/jvmi/) is necessary because
of a bug (or feature) in Win32
Hi,
How to get the original Exception that have generate a rollback in a
Statefull SessionBean "bean-managed transaction" ?
I've a SessionBean that do:
try {
UserTransaction tx = ...;
tx.begin();
... set on an Entity BMP that
generate SQLException
I
switched because:
1. Bluestone's Total-e-Server will cost you over
$100,000.00. And that is an iteration based license.After so
many app server iterations (oh yeah, they don't tell you what an iteration
is...), it's time to buy more iterations (HP now owns this
company).
2. Tomcat does
Hi everybody,
we are running a Swing-application accessing via
HTTP/RMI
to an EJB-server. To do the JNDI-lookup class
"com.evermind.server.ApplicationClientInitialContextFactory"
is used as describes in the orion-doc.
The problem: this class is located in orion.jar
(2.sthg MB), which is
Time to clarify my remarks. I agree with all you said, and I met for J2EE deployment
purposes. Thanks for pointing out that we have apples and oranges here.
-Original Message-
From: Ernst de Haan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 6:25 PM
To: Orion-Interest
I have to reply to my own question, since I got a quick response from the
author of JVMI.
The solution is to put orion.jar to classpath and invoke the main class:
c:\jdk1.3\jre\bin\hotspot\jvmi.exe -cp orion.jar
com.evermind.server.ApplicationServer
It's seems to be working.
Sorry if it was
Hi Stefan,
we are running a Swing-application accessing via HTTP/RMI
to an EJB-server. To do the JNDI-lookup class
"com.evermind.server.ApplicationClientInitialContextFactory"
is used as describes in the orion-doc.
Do you *need* to downcast to ApplicationClientInitialContextFactory, or can
If you look at the database schema in
"orion/config/database-schemas/hypersonic.xml" it looks as if it is mapping
between the primitive java type "int" and the corresponding database type
"int":
type-mapping type="int" name="int" /.
In my EJBs my primary keys and other attributes are of type
Title: RE: Classpath
Thanks a lot!
Luis Javier
Hi, It seems to me that if you start
orion like "java -jar orion.jar" there is a problem with setting the
classpath. I start orion like this : set SERVER_PATH=.;%JDBC_PATH%;%OTHER_PATHS% java -classpath "%SERVER_PATH%"
You can use title as element not as attribut in your XML document.
Then you can to use CDATA. Everything inside a CDATA section is ignored
by the parser.
poem
title
![CDATA[
everything you want..
]]
/title
/poem
BaV
RFI PROBLEM
RFI I have a question regarding taking properties
FYII came up with something that makes it
work. I edited the MainServlet.java file and added a doPost method that just
calls the doGet method already implemented.This makes perfect sense except
that it worked as it was on the Sun Reference Implemetation, JBoss/Tomcat,
Weblogic5.1, and
In our production environment (win2000), we are using JNT to run Orion as a
service:
http://www.eworksmart.com/jnt/
Works great. One bug is when you issue a stop command, the stop dialog
hangs halfway through, but the service is stopped. Can't beat the price,
free!!!
-Original
Title: RE: CMP 2.0
I've been out for a few days, so it this has been answered,
sorry for the repost.
This sounds like you didn't set the transactional behavior
in ejb-jar.xml as required. There is no default behavior
in the spec so it is up to the container to decide what
the default
Just a
comment onTomcat. I agree that Orion is a great product, and Tomcat
has a funky protocol arrangement with Apache, but that will get better.
Right now, Tomcat is integrated with Jboss, and there is talk of putting Apache
into the equation. Openejb is also stated to be integrated with
Title: RE: simple JSP bug with switch
OK, this seems reasonable. My worry was in transitioning from other engines
one of my first experiences was coming up against something simple that
wouldn't compile properly in Orion. My first thought was uh oh, how many
more inconsistencies am I going to
Is there an Orion option something like the -multiVM startup option in j2ee
RI ?
--peter
Post works
for me in my test code what error do you get? --peter
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
Behalf Of Jonathan James
Sent: Tuesday, February 27, 2001
9:50 AM
To: Orion-Interest
Subject: Form based authentication
problem
I'm
These should be in the WEB-INF directory.
If you have your application packaged as WAR file it should have a folder
called WEB-INF. Your web.xml file should be there.
If you're running your code using orion's default web app, you'll find the
file under orion/default-web-app/WEB-INF.
In your
The other day, somebody posted a well written document on Java2 class
loaders. I wish I had the url to the document, but I can't find it. The
gist of the document was this: All class loaders within a jvm form a
hierarchy with the boot class loader being at the root. No matter which
class
Title: Re: simple JSP bug with switch
OK, this seems reasonable. My worry was in transitioning from other engines
one of my first experiences was coming up against something simple that
wouldn't compile properly in Orion. My first thought was uh oh, how many
more inconsistencies am I going to
We are trying to figure out if tag handler objects are re-used, or
instantiated-and-destroyed at every request. This is obviously important
for performance reasons.
There is conflicting information in JSP spec and on JGuru (see references
below). So maybe it's an implementation-specific issue.
Hi Ernst,
there is no superclass since InitialContextFactory is an interface which is
implemented
by ApplicationClientInitialContextFactory directly (so every vendor provides
his
own InitialContextFactoryClass...)
It should work like this: when the class is needed it should be loaded by
the
Hello,
I'm trying to add POP3 functionality to my application on orion.
Unfortunately, the mail.jar that ships with orion does not include the POP3
provider. Does anyone know how I can enable the POP3 provider from Sun
without replacing, or otherwise having to modify the existing mail.jar?
All,
I have a cmp that has been deployed and has created tables for itself.
Now, I'd like to migrate to a different schema/db. Changing the
schema connect string info in data-sources.xml to point at a
different db, and restarting orion does not by itself trigger
recreation of the entitybean
Randahl,
We use the primitive long for all of our primary keys for a couple of
reasons:
* primary keys can't be null so there isn't a need for Long (or Integer)
* long's are always 4 bytes no matter what the CPU (32bit vs 64bit), which
is currently not a problem but could be when Itanium
$orion\application-deployments\YOUREAR\YOURWAR\persistance
kill every file, the orion will recompile
HTH,
JP
-Original Message-
From: Paul G. Markovich [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 25, 2001 11:07 PM
To: Orion-Interest
Subject: Servlet Cache - How do I purge
Hi,
It seems to me that if you start orion like "java -jar orion.jar" there is
a
problem with setting the classpath.
the problem is that the Java documentation explicitly says that if the jar
invocation mechanism is used, the classpath is taken from the manifest file
inside the jar, and all
2. Tomcat does not support EJB, even if it did, getting Tomcat Apache
working together is sometimes a hair-pulling experience.
now what exactly was your problem there? I just installed tomcat under
apache on my new Linux box, and had no problems at all - just followed the
instructions. And
signoff EJB-INTEREST
Tomcat does not support EJB... the original author of the message meant
Tomcat JBoss... And that integration is pure hell... Of course, you can
download the already integrated version, but you'd be getting an old JBoss
and an old Tomcat...
The main problem with Tomcat and JBoss is also their
Ok,
there is no superclass since InitialContextFactory is an interface which is
implemented
by ApplicationClientInitialContextFactory directly (so every vendor provides
his
own InitialContextFactoryClass...)
Can you show that part of your code? Perhaps you can do smthng like this:
//
Hi,
We're currently trying to move our web site from running IIS to hopefully
Orion and we've come across something in the servlet container that we're
hoping someone has seen or dealt with themselves before.
We want to use a servlet filter to intercept *all* requests that come into
the web
Hi all,
Today I tried to connect to a LDAP server so I tried some things for a
while, but no luck...
Has anyone done this before? Do you know of some docs/tuts from which I can
learn how to do this?
thanks!
franklin
Hello.
I know it has been mentioned in serveral times.
However, I could not make Orion as EJB server work with Apache Tomcat.
A servlet is placed to access ejb at tomcat's WEB-INF/classes directory,
along with application-client.xml under META-INF directory.
The servlet looks as follows:
If you upgrade the mail.jar to JavaMail 1.2, the POP3 provider is included.
Replacing mail.jar is most likely your easiest route. Otherwise, you have
to deal with the javamail.providers file, which will almost certainly require
that you modify mail.jar's version of that file.
tim.
Hello,
I'm
Go to http://java.sun.com/products/jndi/ and download the LDAP service provider.
This will give you the JNDI SPI you need to access LDAP. As for docs/tutorials,
I can not help you there.
tim.
Hi all,
Today I tried to connect to a LDAP server so I tried some things for a
while, but no
I'm trying to do a
response.sendRedirect() from an include file
jsp:include and wanted to avoid doing a directive.include (preparser),
I keep getting "Response has already been
committed, be sure not to write to the OutputStream or to trigger a commit due
to any other action before
Just a few comments...not angry comments. :-)
As a committer on an Apache project, let me just say that decisions to
support JDK 1.1, on a per-project basis, are not about supporting "dead
things". We have, in fact, people who _must_ use JDK 1.1 (probably more than
you might think). As another
Hello.
I know it has been mentioned in serveral times.
However, I could not make Orion as EJB server work with Apache Tomcat.
A servlet is placed to access ejb at tomcat's WEB-INF/classes directory,
along with application-client.xml under META-INF directory.
The servlet looks as follows:
We want to use a servlet filter to intercept *all* requests that come into
the web server. Is this possible? It seems to work for all files when I
put the URL filter as "/" or "/*". But we're also looking to be notified
when a directory resource is requested. An example of this might be a
Stefan,
Are you sure about the InitialContext class being loaded over the network?
I have never heard of that before, and was not aware that JNDI supported
this feature. Can you point to any documentation of the feature?
I have always understood that the JNDI properties pointed to the class to
thanks for the response.
i'm more of a java programmer than a web site
administrator so i'm a bit in the dark here.
does that mean that i need two network cards in my
machine if i want to use 2
appname-web-site.xml files?
you suggest changing the host attribute from [ALL],
what should i
I have installed a 3 node orion cluster(2 on windows2k and 1 on linux) and
have it working just dandy, the replication seems to work and so does the
loadbalancer but...
I also have a bsdi box, and recently upgraded to the 4.2 version which has a
JDK and JVM on which orion runs fine, but when I
-Original Message-
From: Arved Sandstrom [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 5:42 PM
To: Orion-Interest
Subject: RE: I switch from X to Orion because:
Just a few comments...not angry comments. :-)
As a committer on an Apache project, let me just say
What should the path setting look like?
I have an my-app.ear in the applications directory. In that ear I have a
my-ejb.jar etc...
I tried just using path="my-ejb.jar" it didn't work.
I tried path="my-app/my-ejb.jar" it didn't work.
In my server.xml on the remote machine my ear app is setup
i've set it up, there are examples at java.sun.com for how to use jndi
make sure you have your dn correct, it will save you lots of time
- Original Message -
From: "Franklin Kingma" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent: Wednesday, February 28, 2001 3:38 PM
And let's not forget how J2EE 1.3beta3 is packaged...TomCat 3.2.1!!!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Victor A.
Salaman
Sent: Wednesday, February 28, 2001 2:20 PM
To: Orion-Interest
Subject: RE: I switch from X to Orion because:
When I try to invoke my application-client through:
"java -jar application.jar" I get "invalid manifest
format: I/O Exception?
I have a META-INF/MANIFEST.MF, both inside the
"application.jar" and in the working directory. The
manifest file is:
___
Manifest-Version: 1.0
Created-By: Ant 1.2
Do you add the manifest to the jar file using jar's '-m' option?
tim.
When I try to invoke my application-client through:
"java -jar application.jar" I get "invalid manifest
format: I/O Exception?
I have a META-INF/MANIFEST.MF, both inside the
"application.jar" and in the working
On another note (am I imagining things?) or isn't JDK2 _REQUIRED_ for J2EE ?
(Apache-folk: note the 2 in J2EE)
That tells me that Tomcat can never effectively be part of a true J2EE
server.
Other than that I agree with all that Victor has said.
Apache products suffer from
- severe bloat,
-
get the latest mail.jar from sun
The POP3 service provider is now bundled in JavaMail 1.2.
replace the mail.jar in orion with the one you downloaded. i've tried it and
it works!
peter
- Original Message -
From: "Andre Vanha" [EMAIL PROTECTED]
To: "Orion-Interest" [EMAIL PROTECTED]
Sent:
I know it has been mentioned in serveral times.
However, I could not make Orion as EJB server work with Apache Tomcat.
A servlet is placed to access ejb at tomcat's WEB-INF/classes directory,
along with application-client.xml under META-INF directory.
That's strange. I've built two different
This subject is especially timely for me because I just finished
evaluating both WebWork and Struts. I decided to go with WebWork. It
wasn't so much that I was drawn to WebWork's technological coolness -
there are some neat ideas there, but I think most could be adapted into
Struts with a
You're thinking C++.
In Java:
A long is 8 bytes, always.
An int is 4 bytes, always.
The byte-orders are fixed independent of the hardware, too.
Speaking of byte size, here's something I found amusing (and annoying):
long millisInMonth = 1000 * 60 * 60 * 24 * 30;
Date
?
I have all my transactional behavior defined as NotSupported and I use
EJB 2.0 container managed relationships without issue. I don't
currently need transactions for what I'm doing.
Randahl, have you examined the contents of the database tables and the
orion-ejb-jar.xml closely?
Jeff
From: Randahl Fink Isaksen [mailto:[EMAIL PROTECTED]]
1. Why is Integers automatically converted to int by Orion -
and is this a
standard EJB convention?
Yes. All the class representations of the primitive types should work
that way.
2. Would it be legal to have a primary key of the
I have an ejb application running under orion. I want to restructure
the code so that some common code is put into a jar. The problem is
that I can't figure out a way, short of putting the jar in the orion/lib
directory, to make the contents of the jar available to the ejb side of
the
Running it out of a directory I'm not sure the MANIFEST Class-Path: will
work.
I know if you use a JAR, it will work that way. It's the way the OSCore
library works, http://www.opensymphony.com/oscore
-mike
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On
64 matches
Mail list logo