Hi,
I am new to J2EE. I am using J2EE1.2 server.When I am working with Entity Bean, I could connect it with Cloudscape. But I can't connect it with MS SQL SERVER 2000. please anyone tell me which are the steps to follow to connect it with MS SQL SERVER 2000.
Thanks in advance
sini
-
Connecting Entity Bean with MS SQL SERVER 2000 (3 messages)
- Posted by: sini S
- Posted on: December 29 2004 03:11 EST
Threaded Messages (3)
- Connecting Entity Bean with MS SQL SERVER 2000 by vindhyachal sharma on December 30 2004 00:52 EST
- Connecting Entity Bean with MS SQL SERVER 2000 by Debu Panda on December 30 2004 09:43 EST
- Connecting Entity Bean with MS SQL SERVER 2000 by Nidhin Kannan on December 31 2004 04:20 EST
-
Connecting Entity Bean with MS SQL SERVER 2000[ Go to top ]
- Posted by: vindhyachal sharma
- Posted on: December 30 2004 00:52 EST
- in response to sini S
Hi,
I dont have much idea about J2EE1.2 server but in oracle 9ias to acieve this we have to provide all the information(userid password connectstring) in Connection XML file.After providing all these information you have to bounce the server.
Thanks -
Connecting Entity Bean with MS SQL SERVER 2000[ Go to top ]
- Posted by: Debu Panda
- Posted on: December 30 2004 09:43 EST
- in response to sini S
There may be some issues in JDBC configuration. Try creating a simple JSP to use the DataSource that you are using for the entity bean
This is how we do we in OC4J http://radio.weblogs.com/0135826/2004/03/29.html. You can mimic the steps in your J2EE server.
-Debu Panda
http://radio.weblogs.com/0135826/ -
Connecting Entity Bean with MS SQL SERVER 2000[ Go to top ]
- Posted by: Nidhin Kannan
- Posted on: December 31 2004 04:20 EST
- in response to sini S
Hi,I am new to J2EE. I am using J2EE1.2 server.When I am working with Entity Bean, I could connect it with Cloudscape. But I can't connect it with MS SQL SERVER 2000. please anyone tell me which are the steps to follow to connect it with MS SQL SERVER 2000.Thanks in advancesini
In case of the J2EE 1.2 server, Im guessing that u are using the Reference implementation? Also, may be you could tell us or give us a snapshot of the error that u are facing. Ideally to connect to any other database that cloudscape which is bundled with J2EE 1.2 server, i think you need to get the driver that is responsible for your database in the classpath to your container, in this case the J2EE Ri. After that I think its a bit of tweaking w.r.to the code mentioning the correct jndi name of the driver and we should be all set to go.