RE: Using NT security

2002-03-13 Thread Andre Vanha
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

RE: Random hiccups with Orion+https

2002-03-12 Thread Andre Vanha
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

RE: Different JSESSIONID

2001-09-18 Thread Andre Vanha
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

RE: response.sendRedirect(response.encodeRedirectURL(path));

2001-09-03 Thread Andre Vanha
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:

RE: j_security_check

2001-08-30 Thread Andre Vanha
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,

RE: Orion and JNI

2001-08-29 Thread Andre Vanha
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

FW: When user hits STOP..any way to trap that and terminate an ongoin g request..

2001-08-16 Thread Andre Vanha
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

RE: Shutting down orion server!

2001-07-20 Thread Andre Vanha
-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)

RE: help...Error deserializing session

2001-07-10 Thread Andre Vanha
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

RE: xerces conflict (and a hack solution).

2001-07-05 Thread Andre Vanha
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

Loadbalancer with SSL

2001-06-18 Thread Andre Vanha
, please let me know Andre Vanha NETdelivery Corporation

RE: getRemoteAddr() - APACHE as proxy !!

2001-06-05 Thread Andre Vanha
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

RE: Deployment to multiple instances...?

2001-05-17 Thread Andre Vanha
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:

RE: orionconsole and firewall - hangs !??

2001-05-11 Thread Andre Vanha
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:

RE: Connection Pooling in Orion

2001-05-07 Thread Andre Vanha
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

RE: [EJB] orion-ejb-jar.xml

2001-05-04 Thread Andre Vanha
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

RE: Common classes between ejb.jar web.war

2001-05-04 Thread Andre Vanha
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

RE: has any one tried XSL extensions with orion1.4.7?

2001-05-02 Thread Andre Vanha
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

RE: ...need urgent help!

2001-04-25 Thread Andre Vanha
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

RE: Orion CLASSPATH

2001-04-23 Thread Andre Vanha
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

RE: security realm in orion

2001-03-07 Thread Andre Vanha
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

RE: referring to a jar from an ejb-jar file/directory?

2001-03-01 Thread Andre Vanha
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

RE: Starting threads not permitted in servlet?

2001-03-01 Thread Andre Vanha
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

RE: problem in accessing ejb from a bean in web-inf/classes direc tory .

2001-02-28 Thread Andre Vanha
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

RE: JAXP

2001-02-28 Thread Andre Vanha
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

mail.jar POP3

2001-02-28 Thread Andre Vanha
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?

RE: problem in accessing ejb from a bean in web-inf/classes direc tory .

2001-02-27 Thread Andre Vanha
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

RE: Any way to forward to j_security_check?

2001-02-22 Thread Andre Vanha
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

RE: Global Directories

2001-02-19 Thread Andre Vanha
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

RE: Remove me from this mailing list

2001-02-16 Thread Andre Vanha
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,

RE: Where are the perfumes bubble bath beads

2001-02-16 Thread Andre Vanha
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

RE: How to configure datasources

2001-02-16 Thread Andre Vanha
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

RE: Orion doesn't work.

2001-02-16 Thread Andre Vanha
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:

RE: One IP - 3 Sites - 3 Domain Names

2000-09-27 Thread Andre Vanha
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

RE: User/Group manager guide

2000-09-21 Thread Andre Vanha
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

RE: container transactions not working...

2000-09-21 Thread Andre Vanha
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

RE: REPOST: Running application code at startup

2000-08-15 Thread Andre Vanha
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

CMP Finder Like Query

2000-06-27 Thread Andre Vanha
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

RE: Pet Store and UserManager problems

2000-06-23 Thread Andre Vanha
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

RE: Perl CGI

2000-03-17 Thread Andre Vanha
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:

SSL Problems

2000-03-07 Thread Andre Vanha
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