Take a
look at the sample JAAS modules that you can download from Sun in conjunction
with JAAS. Specifically, they include an NT module which can be used to
retrieve username and group information for a running process.
Note
however, there is no way to retrieve a password for a logged on
You're right, by default if SSL is enabled Orion uses the SSL session to
maintain your servlet session. For some reason, IE likes to renew the SSL
connection every 2 or 3 minutes (I'm forgot the exact time), even if the
user is continually browsing the same site. When this happens, Orion loses
I've run into a similar problem, which expressed itself in certain browsers.
In some browsers the url http://somehost and http://somehost:80 are treated
as different URLs. This means that the browser will not send a session
cookie created at http://somehost to http://somehost:80, and the
I ran into the same problem. I think it's a bug in orion, where it ignores
the front-end host parameter. My solution was to drop the proxy.
Andre
-Original Message-
From: Johan Fredriksson [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 5:17 AM
To: Orion-Interest
Subject:
I have tried this, and was able to make it work, although slightly
differently.
I had a secured URL (a servlet in my case), to which I posted a form that
contained the j_username and j_password fields, along with some additional
application specific data. If the user specified the correct info,
I think its a limitation of java, it appears you can't load a native library
from more than one class loader at a time.
To work around it, I have a class that wraps the native library, and load
the native library inside a static block as you say. I then make this class
available to a higher
3rd Repost
-Original Message-
From: Andre Vanha
Sent: Monday, August 13, 2001 6:27 PM
To: 'Orion-Interest'
Subject: RE: When user hits STOP..any way to trap that and terminate an
ongoin g request..
Hi Kevin,
although as you describe there isn't any way to notify the server when
-Original Message-
From: Rajiv R [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 20, 2001 7:20 AM
To: Orion-Interest
Subject: Shutting down orion server!
Having started orion server, I shutdown using Ctrl+C is this
correct way?
Can I make a file (something like a .bat file)
Sounds like you have a stateful session bean that has a member variable
which is of a non-serializable type, from the looks of it, some sort of JDBC
object, such as Connection or Statement. When your bean is activated or
passivated, it's trying to serialize or deserialize that member variable
Actually, thats not the way it works. Classloaders form a hierachy. At the
top of the tree there is the bootstrap classloader. Underneath there is a
URL classloader, followed by orion's (1 or more) own classloaders. You're
right that each application then gets it's own classloader, but it's
, please
let me know
Andre Vanha
NETdelivery Corporation
I've run into the same problem. I don't think there is any way around this,
since the Apache module is a simple proxy.
It would be necessary to improve the Apache plugin to send some extra
headers, and then have orion interpret them.
However without an open API through which to construct the
Atilla,
Take a look at the orion-web.xml. It should be possible to provide override
values using orion specific tags. Since the Orion-web.xml is not rewritten
when a new version of the web file is deployed, once you set the file up,
you should be good to go.
Andre
orion-web.xml reference:
Eddie,
It looks like the orion console uses the ORMI protocol. The default port
for ormi is 23791.
You could edit rmi.xml to specify a different port.
Andre
-Original Message-
From: Eddie [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 8:45 AM
To: Orion-Interest
Subject:
Adrian,
Use orion's admin.jar to get connection pool info. On my machine, I can
type this to get stats:
java -jar admin.jar ormi://localhost admin password -application default
-dataSourceInfo
The output looks like this:
DataSource info:
jdbc/xa/HypersonicXADS - cached: 0 used: 0 total: 0
This is from the Orion-EJB.jar documentation:
http://www.orionserver.com/docs/orion-ejb-jar.xml.html
An orion-ejb-jar.xml file contains the deploy-time info for an ejb-jar. It
is located in
ORION_HOME/application-deployments/deploymentName/jarname(.jar)/orion-ejb-ja
r.xml after deployment and
I believe the ejb-jar file is the correct place. I believe in orion, as in
weblogic, the ejb classloader is the parent of each web app classloader,
making classes packaged in you ejb jar available to all web apps (within the
application). You could also package your classes in a seperate
Kesav,
I've managed to get XSL extensions working with orion 1.4.5. I'm surprised
to hear that xalan uses the class loader of the current thread. It appeared
to me that it was using the class loader that loaded xalan (most likely the
main orion thread) since when I added the extension to my
Tobi,
it sounds like you're trying to use ejb's deployed in your orion server from
a stand-alone java app, and you want the communication channel between your
app and the orion server to be encrypted.
Athough I'm not sure it'll work, you might want to look at Orion's RMI-HTTP
tunnelling. It
The orion jar is using the jar extension mechanism. If you look at
orion.jar's manifest, you'll see what jars are being added to the classpath
automatically. You can read more about the jar extension mechanism on Sun's
site.
Andre
-Original Message-
From: Geoffrey Marshall
Orion comes with several user managers. The one based on principals.xml, a
DataSourceUserManager and an EJBUserManager. Both EJB and DataSource user
managers can store information in a relational db. An LDAP based user
manager should be simple to write, all you have to do is implement three
Gary,
you can also add a library entry to your orion-application.xml.
library path="D:\EDM\TPC\xml\bsf.jar" /
I use this in my app to get access to third party libraries.
I'm glad to hear the manifest method works. I've tried it before, but was
never able to get it working. However, I have a
As far as I know, the EJB spec specifically forbids creating threads Sec
18.1.2. The servlet spec 2.2 Sec 1.2 says:
"For example, high end application servers may limit certain action, such as
the creation of
a Thread object, to insure that other components of the container are not
negatively
nBean" location="TheEDMSessionBean" /
In this case location="TheEDMSessionBean" is the location specified in your
ejb-jar.
Hope this helps.
Andre
-Original Message-
From: Prabahkar Subramaniam [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 28, 2001 9:1
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
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?
Did you define the ejb-refs in your web.xml and link them correctly in
orion-web.xml?
It works fine for me.
Andre
-Original Message-
From: Prabahkar Subramaniam [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 27, 2001 2:14 PM
To: Orion-Interest
Subject: RE: problem in accessing ejb
It might be possible to achieve this without forwarding. I haven't tried
it, but using Orion's role manager might do the trick. First you can
retrieve the role manager using RoleManager manager = (RoleManager)new
InitialContext().lookup("java:comp/RoleManager"); The you can call login on
the
Aniket,
I added this virtual directory to the default web app deployment descriptor
orion-web.xml. The file resides under
orion/application-deployments/default/defaultWebApp.
Since the default web app is bound to the root, the content defined in these
virtual folders is accessible from all of
Is there a problem with the subscribe/unsubscribe form? It's always worked
for me.
http://www.orionserver.com/subscribe.html
If you can't work the form, how do you expect to work with J2EE?
Andre
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday,
Although perfumed bubble bath beads are nice and fun to use, sometimes their
aroma can be nauseating.
In my opinion the less code the better. Less bugs, and quicker fixes.
The company I work for now uses iPlanet, and I really miss working with
Orion. In my opinion even the beta version of
Take a look at http://www.orionserver.com/docs/api/index.html.
-Original Message-
From: Frank Eggink [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 16, 2001 8:44 AM
To: Orion-Interest
Subject: How to configure datasources
To be honest I know little about how to configure
For Orion to work you shouldn't have to modify your classpath since it uses
the JDK1.2 extension mechanism (Classpath specified in the jar manifest).
If it's not working its most likely a jvm issue. When you type java
-version what do you get?
Andre
-Original Message-
From:
As far as I know what you're trying to accomplish is impossible. A web
server binds to an IP addresses. The domain names are just pointers to the
same IP address. So in effect your're trying to run 3 webserver on the same
exact IP. You could bind to different ports, but then your URLs would
Arved,
I took a look at the scenario you describe, and I was able to make method
permissions work with roles as they should. If a user who was part of the
users group was logged in, an exception would be trown. If the user was
added to the CSR group everything worked.
Let me describe my orion
Try using the XA datasource when you acquire a connection:
jdbc/xa/myXADS
In your ejb-jar file:
resource-ref
res-ref-namejdbc/myXADS/res-ref-name
res-typejavax.sql.XADataSource/res-type
res-authContainer/res-auth
/resource-ref
In your bean:
Context naming = new
Vidur,
I used to run orion from my own launcher class for the same reasons. I have
since then removed the cumbersome code. Also orion provides methods for
launching programs/application clients automatically. If possible I suggest
moving down that route instead.
Check out the client-module
Hi everyone,
I have a CMP entity bean which defines a finder method like this:
Collection findByPartialUserName(String UserName).
I have deployed this entity bean against an oracle database but I am having
trouble specifying the query for this finder method. Ideally I want the SQL
query to look
From the archive I understand some folks were
trying to roll their own (Implementation of UserManager):
I've been able to successfully roll my own UserManager which is backed by a
database and has password encryption. It's missing the ability to
add/delete groups, and is based directly on a
The
global-web-application file in orion/config contains a mapping so that any *.pl
file is executed through Orion's CGI servlet (which in turn invokes perl).
All you need to do is make sure the perl executable is in your
path.
Hope
this helps,
Andre
V.
-Original Message-From:
Hello,
I've tried to follow the ssl-howto but I can't get orion to start my secure
site.
I'm hoping someone who has gotten ssl to work can give some insights.
I've tried this on both orion 0.9.4 and 0.9.4j but the results are the same.
Here are the steps I took to work through the howto:
Just
41 matches
Mail list logo