RE: Lost Session and problem with welcome-file-list

2001-08-28 Thread Doug Pham

Hi,

In you default-web-site.xml add the shared=true to the default-web-app
and web-app lines.  This helped us out.


Doug

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of remy.menetrieux
Sent: Tuesday, August 28, 2001 6:25 AM
To: Orion-Interest
Subject: Lost Session and problem with welcome-file-list

Hello,
I work with oc4j deliver with Oracle 9ias. I have deployed a web-app but
I lost my session every minutes.
I have a web.xml wich contains this :
web-app
session-config
   session-timeout120/session-timeout
/session-config
welcome-file-list
   welcome-fileindex.html/welcome-file
/welcome-file-list
servlet
...
/web-app
but when i log in my homepage
http://localhost/myApp/
i obtain de directory browsing if directory-browsing=allow in my
orion-web.xml else  i have an error 403 (not permitted)
but my servlets are good deployed
Have you idea why orion reads servlet and don't read session config??
Thanks in advance




RE: How do I re-deploy my application?

2001-07-13 Thread Doug Pham

Tim,
Just copy your ear file over your old ear file which if you go with the
default should in in your orion/applications directory.  You can modify your
build.xml to automatically copy the newly compiled ear file there or modify
the server.xml to point to your ear build directory.


Good Luck
Doug

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tim Kang - Syoni
Communications Inc.
Sent: Friday, July 13, 2001 3:49 PM
To: Orion-Interest
Subject: How do I re-deploy my application?

I have an EAR, WAR and JAR and I have successfully deployed them.

I made a change to a servlet and I have bulid the whole thing again with
ANT.

At this point how do I redeploy the modified application? (I've tried
restarting, and deloying options via admin.jar)

Thanks

Tim



_
Tim Kang
Database Developer
Syoni Communications Inc.

You can catch me at ~
mailto:[EMAIL PROTECTED]
TEL  604.871.1000 ext.2231
CELL 604.790.2566
CELL 604.788.4314
FAX  604.871.1001
FREE 888.440.4477 loc. 4
FAX  888.520.4477
Check out.
http://www.mediaco.ca
http://www.syoni.com
http://www.onlinebroadcasting.com




RE: Setting Up JDBC driver for Oracle database

2001-06-30 Thread Doug Pham

Mong,

The Oracle driver should come with Oracle.  If you do a search in the
oracle directory you should find a file call classes12.zip, copy that to the
orion/lib directory.  Here is an Oracle data source that works and I am
using right now (This should be your data-sources.xml in the orion/config
directory).

?xml version=1.0?
!DOCTYPE data-sources PUBLIC Orion data-sources
http://www.orionserver.com/dtds/data-sources.dtd;

data-sources
data-source
  class=com.evermind.sql.DriverManagerDataSource
  name=Oracle
  schema=database-schemas/oracle.xml
  location=jdbc/OracleCoreDS
  xa-location=jdbc/xa/OracleXADS
  ejb-location=jdbc/OracleDS
  max-connections=10
  pooled-location=jdbc/OracleDS
  connection-driver=oracle.jdbc.driver.OracleDriver
  username=scott
  password=tiger
  url=jdbc:oracle:thin:@your server name or IP:1521:test
  inactivity-timeout=30
/
/data-sources



Good Luck

Doug

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mong Kon Mo
Sent: Friday, June 29, 2001 6:58 PM
To: Orion-Interest
Subject: Setting Up JDBC driver for Oracle database

Hello,

I am trying setup Orion to communicate with an Oracle 8.0.5.1 database.
I've obtained the JDBC drivers from Oracle, but I'm confused about what
I should be doing next.  The Orion documentation says I need to copy the
driver to the Orion\lib directory and add a data source in
data-sources.xml; but what fields do I change and what values should I
use?

Can anyone, perhaps someone who uses Orion and Oracle, help clear up
this process for me?


Thanks in advance,

Mong Kon Mo




RE: ATM example and Oracle

2001-05-29 Thread Doug Pham

Mustafa,

Here is one that I am using.  Make sure your jdbc drivers are in the Orion's
library directory.

   data-source
  class=com.evermind.sql.DriverManagerDataSource
  name=Oracle
  schema=database-schemas/oracle.xml
  location=jdbc/OracleCoreDS
  xa-location=jdbc/xa/OracleXADS
  ejb-location=jdbc/OracleDS
  connection-driver=oracle.jdbc.driver.OracleDriver
  username=myName
  password=myPasswd
  url=jdbc:oracle:thin:@myhost:1521:mydb
  inactivity-timeout=30
   /

I hope this will help you.


Good Luck

Doug Pham

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mustafa Cayci
Sent: Tuesday, May 29, 2001 2:23 PM
To: Orion-Interest
Subject: ATM example and Oracle

I am trying to deploy and run the ATM example using
Oracle as database.  Below is the data-sources.xml, I
anticipate a problem in the file since orion is not
finding the data source:

data-source

class=oracle.jdbc.driver.OracleDriver
name=Oracle
 ---   location=

connection-driver=oracle.jdbc.driver.OracleDriver
username=scott
password=tiger
url=jdbc:oracle:oci8:@ora816
inactivity-timeout=30
/
What does the location should be?

Any help is appreciated.

Thanks,
Mustafa

__
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/




Webwork

2001-05-29 Thread Doug Pham









Hi All,



 I
was looking at Webwork and would like to know if anyone has used it with Orion
and how to add it to Orion? I read
the information for it but somehow did not see any instructions or any
information about it at www.orionsupport.com





Thank You



Doug Pham








Orion and Security (2)

2001-05-21 Thread Doug Pham

Hi All,

I posted an email about Orion and Security a few days ago and got some
great response.  Let me go into a little more details and see if what I am
doing will work accordingly?

1. The security model I need is to all a user to log in once but can use
multiple applications within that server.
a. Server
i. App1
ii. App2
iii. App3
2. Let say user1 have admin access to App1, read access to App2 and
edit access  to app3.
a. At the initial login of the user, a security object for the user is
created.  There all of his/her security is loaded into the object.
b. User1 go to App2, at this point, each of the App2 screen will call the
security object and check to see with kind of role the user have for it.  In
our case, user1 only have read access which the screen will be display as
read only with no edit problem.

Security Summary
1. User
2. Application
3. Role(s) [Read, Modify, Delete, Add, etc]
4. Other.


With the scenario I described above, I don't think it is currently available
with the Orion security scheme.  At each login a new security object get
instantiated and populated with all the security information for the user
from the database.  Once the object is instantiated and populated, the
database is no longer access for security.  Of course this will requires
some memory on the server side to hold the information but the access will
be fast.  This will requires an Entity Bean to do and will be managed by the
container until the session is done.  There are also thought of caching it
for a certain period of time but probably not the first release.

My question now is will the above work?
Does anyone willing to share a better scheme?

Any inputs will be great.


Thanks

Doug Pham




Orion and Security

2001-05-17 Thread Doug Pham

Hi All,

Customer security is the question here.  Has anyone develop a security
system where all the information is located in the relational database.  I
would like the security to be held at the application server but as we go
into each restricted page, it will send the page info to the securityManager
which will send back the response privileges where the page can determine
from there.  Basically the secuityManager is at the server level and will
hold all the security information for a particular user for all the
applications available for that server.


Thanks

Doug Pham




Mailing List Test

2001-05-17 Thread Doug Pham

TEST #1