Deploying solr in Jboss - 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/

Related

Where is it possible to download some sample applications for jboss eap?

I have just started working with jboss eap 7 application servers, so I would like to have an environment where I can carry out various tests, I have created a small laboratory with standalone and cluster included, but I would like to have some applications where I can test deployments, status monitoring and the server logs and the applications, I have a graylog for that purpose of the logs, but I just need the ear war applications etc... where could I download some sample applications to deploy in my laboratory?
Thanks in advance
You should use JBoss EAP QuickStarts https://github.com/jboss-developer/jboss-eap-quickstarts

JBoss 4.0 HotDeploy

good day.
I am trying to enable hot deploy on my JBoss 4.0.
I have tried to access to localhost:9990, but it doesn't work.
Is there any alternative way to enable it?
Thanks in advance.
JBoss 4.0 contradicts to port 9990.
The port 9990 is the management console access for JBossAS7 and WildFly.
JBoss 4.0 might have a JMX console which is accessible via 8080.
You can simpel use localhost:8080 and navigate from the welcome page.
Note that hot deploy is not recommended for productional JBossAS4/5 instances because of class loading issues, OOM errors.
You might use it for development.
Also JBossAS4 does not have managed deployments, simple drop the file to server/yourProfile/deploy and it will be picked up and deployed.

MongoDB datasource configuration in jbossas

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.

How to use JProfiler to connect to jboss server?

I am using jprofiler for the first time,
First I have downloaded JProfiler and then installed JProfiler.
Please help me how to configure jprofiler with jboss server.
We do not use jboss server default deployment,
We have specific deployment like C:\jboss-4.2.2.GA\server\test\,
Our application deploys in test folder,
How to use jprofiler to config test deployment folder?
You need to setup a "server integration" via Session -> Integration wizards -> New server integration or via the quick start menu.
Choose your server type and follow the widzard:
then choose the location of your startup script:
.
Hoping this helps you to start profiling,
Best wishes.
Dario.

Jboss adding zecmd.war

When i start my jboss it is adding zecmd.war, iesvc.war and wstats.war in deploy/management folder. How to get rid of this.
Please suggest
It's a worm, see:
JBoss Worm Analysis in Details
And:
Statement Regarding Security Threat to JBoss Application Server