configure oracle jdbc driver in jboss - jboss

i'm new to jboss, i wish to setup a development server on my local machine to be used with netbeans, under windows xp; I need to install the oracle jdbc driver on it. I've searched the web and all the articles i found say to copy the jar in the server default folder. Will it be visible also to all and minimal folder ? there's another way to configure drivers without physically moving the jar to the folder ?
thank you in advance

No, JBOSS has to have the Oracle JDBC driver JAR in the CLASSPATH, so it has to be in the server /lib directory. It's visible to the app server and all deployed apps if the JAR is in that location.
This is necessary but not sufficient for configuration connection pools. You still have to set them up in JBOSS.

Related

installation of JBoss in Eclipse while Tomcat is already installed

i m using Tomcat server and i want to add JBoss Server into my Eclipse,i'd tried to import Zip file of JBOSS but i did not able to make it.
what to do & How to install JBoss Server in Eclipse
Here is the tutorial on how to do that. You basically need to add new server and point Eclipse to the location of the unzipped folder which contains your server (that applies for all of them, not just JBoss). You should also do some research before asking because Google is full of solutions for this particular question.

Deploying and managing Java EE applications on remote machine

I have a VPS machine running Ubuntu 12.04 and I want to deploy and run my local Eclipse projects (mostly wicket projects) on this machine. I installed and started Jetty server on it but could not figure out what to do next. Should I just copy my project files to the /webapps folder and edit configurations? I can sense it is not that easy (Consider me as a noob). Any help would be appreciated
Generate a war and copy it to webapps folder. Then startup server.
If you need further details, take a look at this:
http://wiki.eclipse.org/Jetty/Howto/Deploy_Web_Applications

What need to do to copy Netbeans project on server?

I have problem regarding on netbeans project. I had build the project using netbeans on localhost. It run smoothly on localhost, but when I try copy this netbeans project to the company server it cannot be run as like on localhost. On the server, not has netbeans. Is it possible to run my netbeans project on server that have no netbeans?
If yes, how is it?Please help me..
On my local machine I have netbeans, use tomcat and database postgres and at company server have java, jdk and database postgres.
Thank You.
Though the question is vague I will try to answer it.
First of all, if you are creating a standard web project using netbeans then you should be able to right click on your project name and create a war file. In the output window you will see where the war file is created.
Now move your war file on the server, server will need a tomcat.
Copy the war file in TOMCAT_HOME\webapps dir and restart the tomcat.
If you see a new dir created under webapps with the same name as you war file then you have successfully deployed your project.
Still there are no guarantees that it will work there because you might have other issues related to db connection etc.
Thanks

Database for Java Enterprise Edition

I'm starting to use Java EE developing on Eclipse IDE, using GlassFish and the default Java database. What I should do if I want to change the database to Oracle?
The application runs on Glassfish and Google App Engine. But is there a way from Eclipse to deploy it to my own server?
You should be able to deploy locally to Glassfish and Oracle using Eclipse. (It's easy to do with IntelliJ.)
All you have to do to use Oracle is add the JDBC driver JAR to the appropriate spot in your CLASSPATH, use the new driver .class, and change the connection URL.
The driver JAR should match your JDK (e.g., ojdbc6.jar) and database version. It should come with your database or you can download it here.
I don't know if the JAR should go in your WEB-INF/lib or a server /lib; consult your docs to be sure.
One more thing: it goes without saying that you'll have to set up Oracle (e.g., proper credentials), create the new schema, and add the tables and indexes before you run your Java app. I thought I'd spell it out to be safe.

How to refer from eclipse to a WebSphere server when the profile itself isn't in the WebSphere folder?

I have a two level problem:
I have websphere installed.
I am working with eclipse and I want to configure a new server which refers to a websphere server.
However, I want the profile of the server (along with my server-side application, of course) to be placed in some folder not neccessarily in the websphere folder.
Questions:
1. Do I need any plugins for this?
2. Can all this be done using only eclipse or do I need to envolve WebSphere as well?
Thank you for your help.
The WAS Profiles can be created in any directory. It does not need to be under a WebSphere folder.
This can be done using the WASProfile binaries which should be available under /bin directory (or its sub folders)
HTH
Manglu