MongoDB datasource configuration in jbossas - mongodb

I am using Openshift JBOSS server. I would like to configure external MongoDB in JBOSS.
Is it possible to configure MongoDB as a datasource in JBOSS server ?

You could try taking a look at this quickstart: https://github.com/openshift-quickstart/jbossas-mongoDB-quickstart. I was able to create a JBoss application with mongodb following the instructions listed there.
If you don't want to create a new application from scratch you should be able to borrow some of the code and apply it to your application and then just add the mongodb cartridge.

Related

How to create a datasource for mongodb in websphere

Can some one help in providing steps for creating a datasource for mongodb in websphere
A recommended approach for using the MongoDB java driver in WebSphere Application Server Liberty is documented here:
https://openliberty.io/blog/2019/02/19/mongodb-with-open-liberty.html
If you are using traditional WebSphere Application Server rather than Liberty, the CDI aspect of the approach is all standard and will work there as well, however, the MicroProfile Config part would not be available.

requirements for Oracle HTTP Server

For a personal project, I am trying to create a web page which displays some information from a database.
In order to have OHS, up and running, is it necessary to have already installed Oracle WebLogic Server?
Thanks,
OHS will run independently from the WebLogic application server.
For OHS 12c you have 2 options:
1) install Oracle HTTP Server collocated with an existing WebLogic Server domain
2) Standalone domain
More information and steps to install it can be found on the official doc:
https://docs.oracle.com/middleware/1221/core/install-ohs/WTINS.pdf

Spring Boot and MongoDB - installable

My application is written with Spring Boot and uses MongoDB as DB. Normally I install this application at a server but now I have a request installing it at a client computer.
My question now would be if there is a possiblity to do this in a simple way?
I think you are looking at how to install a Java application on a desktop. See this post Creating an installer for Java desktop application

start solrserver deployed inside tomcat from within eclipse

I am working in windows 7 machine.I want to implement search using apache solr with hbase ta
bles as datasource. I have configured apache solr 4.3.1 in tomcat 7. I can able to deploy it successfully by manually starting tomcat server.
When i try to start solr server from within spring mvc web application it says solrserver started,but when i query the solr its giving the following without any errors:
page 0 of 0 containing UNKNOWN instances
As per my research on solr, it is mentioned embedded solrserver is unfit for production so i need to have httpsolrserver.
So somebody help me clear my head and give me some solution...
Thanks in advance..
For production, you would be better with hosting Solr as a seperate instance.
This would keep the responsibility separate, web application and search engine.
Indexing process are resource intensive and would the web application behavior as well.
This can be catered by Master Slave arch, providing best search performance.
External instance can be scaled at will and would not impact the web application.

Deploying solr in Jboss

I want to deploy the solr.war to jboss server.
Please provide me the steps for this.
Also after deploying what url i should use to access the solr/data/index directory?
Thanks!!
In JBoss 7.1.1:
In jboss-as-7.1.1.Final-folder/standalone/deployments COPY solr.war and solr directory from examples folder of solr release.
JBoss Administration console(probably localhost:8080) -> Profile -> System properties: KEY-> solr.solr.home VALUE->
Run server and test localhost:8080/solr/.
Here you can find some info: Deploy solr in JBoss
Please tell us which version of solr and JBoss you're using and if you need extra help.
I wrote a post in portuguese...
http://jbossdivers.wordpress.com/2013/04/08/deployando-apache-solr-4-2-1-no-jboss-as-7-1-3-jboss-eap-6-0-1/