RE: what is J2EE store??

2004-08-26 Thread Ritu Kedia
I can't infer much from Error instantiating OracleRDBMSAdapter. Could you
provide the stack trace? One thing that I observed below is that the class
name in error message is OraclRDBMSAdapter instead of OracleRDBMSAdapter
Could that be the problem?
 
Regards,
Ritu
p.s.: please include Slide User List as well; you never know when the help
arrives from unexpected quarters :). Moreover this info could be useful to
others too.

-Original Message-
From: Dharmesh Rana [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 26, 2004 10:42 AM
To: Ritu Kedia
Subject: Re: what is J2EE store??


Hi Ritu,
 
I am into designing pahse for the development of a web application using
WebDAV protocol.
The main functionality that I have to check are as under:-
1) The WebDAV server must interact with our repository (Oracle 8.1.7).
2) The WebDAV server must work with WebLogic app server.
3) The app server (WebLogic) shd. implement WebDAV protocol and basic Delta
V protocol
4) The WebDAV server shd authenticate users and requests against the
database.
 
I tested the following things with the WebLogic Server 8.1:-
 
a) I created a security realm for user authentication on WebLogic Server
using BASIC authentication.
I configured the security role in web.xml and weblogic.xml so that only a
particular user can access the resource.
 
b) I want to check up whether WebDAV server can establish Connection with
Oracle 8i database using WebLogic.
Since in slide version 2.1 b has OracleRDBMSAdapter, it gets compiled, but
on deployment of slide.war it gives me error like 
Error instantiating OraclRDBMSAdapter. 
 
Can you please tell me how to use connection pooling using Slide J2EE store
so that I can access Oracle 8.1.1 database?
I just want to ensure (point no. 1 above) before starting development of
this WebDAV application, whether WebDAV server can interact with Oracle.
 
I would be grateful to you if you can provide me some hint.
I can also available online on [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] .
 
 
Regards  Thanks,
 
 
Dharmesh Rana
 
 
 

- Original Message - 
From: Ritu Kedia mailto:[EMAIL PROTECTED]  
To: 'Dharmesh Rana' mailto:[EMAIL PROTECTED]  
Sent: Wednesday, August 25, 2004 5:18 PM
Subject: RE: what is J2EE store??

Hi Dharmesh,
 
Yes I did test it... but currently I am off that work.. Here are the details
of what I did:
I was using Slide 2.1M1 (not yet tested 2.1B1), with Oracle 9i. I configured
the slide pool and datasource in weblogic and added the resource-ref to
web.xml and the corresponding resource mapping to weblogic.xml. The Slide
deployment went fine, and I could perform WebDAV operations from DAVExplorer
client. However I was facing some problem when accessing slide from inside
my application (using their webdav client lib). I didn't get time to look
into that.
 
If you give me more details of the nature of the problem you are facing,
then perhaps I could help.
 
Regards,
Ritu


-Original Message-
From: Dharmesh Rana [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 25, 2004 4:34 PM
To: [EMAIL PROTECTED]
Subject: RE: what is J2EE store??


Ritu,
 
Have u configured j2ee store on WebLogic Server 8.1?
 
I would like to deploy Oracle database (Oracle 8.1.7) driver on WebLogice
Server 8.1.
 
In the mail list I found that you are also working on slide using WebLogic
Server 8.1.
 
Can you please give some hint how you have set up Oracle store and tested
that?
 
 
Regards,
 
 
 
Dharmesh Rana
 



RE: what is J2EE store??

2004-04-09 Thread Ritu Kedia
J2EE store is any store that supports JCA. 

Slide's J2EEStore is for any RDBMS. You can deploy a database driver in the
App server and access it via Slide's J2EEStore.
Refer the App Server's manual for deploying DataStores.

For JBoss (when accessing from servlet side code): 

1. The sample files for the different databases are in docs/examples/jca
Copy the applicable ds.xml file to server/default/deploy and change the
properties to match those of your system.

2. In web.xml:
Add the following before security-constraint
   resource-ref
   res-ref-namejdbc/DefaultDS/res-ref-name
   res-typejavax.sql.DataSource/res-type
   res-authSERVLET/res-auth
   /resource-ref

3. In jboss-web.xml:
resource-ref
res-ref-namejdbc/DefaultDS/res-ref-name
jndi-namejava:/DefaultDS/jndi-name
/resource-ref

where DefaultDS is the jndi-name you provided in the ds.xml file above

For access from EJB you need to do similar setup in ejb-jar.xml and
jboss.xml inside meta-inf.

Also note that currently Slide uses only Connection Pooling of the J2EE
server and does its own TxMgmt. 
Hope this helps.

Regards,
Ritu


 -Original Message-
 From: Slide Tao [mailto:[EMAIL PROTECTED]
 Sent: Friday, April 09, 2004 3:40 PM
 To: [EMAIL PROTECTED]
 Subject: what is J2EE store??
 
 
 hi,
 
 I have used JDBC Store and File Store, but don't know what is 
 J2EE store. I 
 have read the J2EEStore how-too, and still  have no idea of 
 J2EEStore. Who 
 can tell what it is???
 
 and if I want to use J2EEStore, do I need set web.xml and 
 server.xml as 
 following?? Any reply would be appreciated.
 
 web.xml
 resource-ref
 descriptionTesting Tomcat-wide datasource usage/description
 res-ref-namejdbc/mtx/res-ref-name
 res-typejavax.sql.DataSource/res-type
 res-authContainer/res-auth
 /resource-ref
 
 server.xml
 DefaultContext debug=99
 Resource name=jdbc/mtx auth=Container 
 type=javax.sql.DataSource/
 ResourceParams name=jdbc/mtx
 parameter
 nameuser/name
 valuebar/value
 /parameter
 parameter
 namepassword/name
 valuefoo/value
 /parameter
 parameter
 namedriverClassName/name
 valueorg.hsqldb.jdbcDriver/value
 /parameter
 parameter
 namedriverName/name
 valuejdbc:hsqldb:slide/value
 /parameter
 /ResourceParams
 /DefaultContext
 
 _
 Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
 http://join.msn.com/?page=features/featuredemail
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]