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
Related
How to disable wls9_async_response.war and wls-wsat.war in weblogic 12c.
This issue is related to the recently found weblogic vulnerability CVE 2019-2725 .
Stop all your servers.
Rename (or remove) these 2 web applications.
Remove each server's tmp directory under $DOMAIN_HOME/servers/[server name]/tmp
Start your servers
A warning will be displayed in server's log saying that WebLogic is not able to deploye these applications but you can ignore it.
You can disable wls-wsat by using the following setting:
-Dweblogic.wsee.wstx.wsat.deployed=false
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.
I found this great tutorial for JAAS with JBoss, but the problem is that it is an older version. In this tutorial to define application authentication policy at JBoss you need to use "login-config.xml" in this directory -> D:\jboss-4.2.3.GA\server\mmazharhassan.com\conf\login-config.xml which doesn't exist in version 7. The writer is describing also this file "mazhar-ds.xml" in this directory -> D:\jboss-4.2.3.GA\server\mmazharhassan.com\deploy\
mazhar-ds.xml.
I would like to ask you what is the difference in newer version or how do I implement this Java Authentication and Authorization Service in JBoss 7 because i can't find any good tutorial for the version 7 (or where do I find all these files).
EDIT:
I'm sorry maybe for stupid questions, but I'm complete beginner in this.. :(
You can implement a JAAS Module in the same way you did it in JBoss 4, but the configuration of it is different.
What you probably should look at, is the http://docs.jboss.org/teiid/7.2.0.Final/developer-guide/en-US/html/custom_login_modules.html
Especially, the DatabaseLoginModule might be interesting for you.
I have a bunch of services (EJBs, remotem stateless) running on JB-AS 5.1.0. Now I have a new AS7.1 on which I develop new Services (JEE6, EJB, CDI, ...)
I want to access the AS5.1 Services via remote JNDI.
Has anyone done this before and can help? I need my JEE6-Beans to have access to the AS5.1 client-jars, so I am trying to add them to ear/lib or create a module containing the jars, but so far without luck ...
The best solutions I have seen so far can be found here. You can follow this forum for more information.
Please post your findings here so others can help / benefit.
Good luck!
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/