jboss7.x

Non heap memory and No of loaded classes keeps on increasing

邮差的信 提交于 2019-12-13 08:56:57
问题 We are doing a performance test of our application. During the test, we find that non heap memory and total no of loaded classes keeps on increasing over the time. Our guess is probably some 3rd party jar or application code is leaking. What are the best ways to find such leak or pin point the problem ? Any tools which can help me to find the rootcause ? We are using Jboss EAP 6.1. 回答1: Make first Heap Dump by jvisualVm from JDK and analyze it with Memory Analyzer (MAT). And then see in this

Null pointer error while using sessionfactory on Hibernate 4 with Spring 3.2

社会主义新天地 提交于 2019-12-13 08:47:59
问题 I'm struggling to figure out the exact problem, why the Null Pointer Error is thrown for Hibernate sessionFactory when I try to Auto wire sessionFactory from spring bean xml. Could somebody please help me out fix this. I'm new to Spring and deploying the app on Jboss server Here is the Spring-Config.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:c="http://www.springframework.org/schema/c" xmlns:context="http://www

How to use @Alternative extending a concrete class, in a webapp?

自闭症网瘾萝莉.ら 提交于 2019-12-13 07:08:20
问题 I'm trying to disable 2 observer methods of a class which is in a beans archive jar (more specifically, the class LoginListener of Seam 3 Faces module), and use mines instead. I have a web project, with a beans archive in it : app.war \- WEB-INF \- lib \- seam-faces-3.1.0.Final.jar |- my-beans.jar In my-beans.jar I've got that class : @Alternative public class MyLoginListener extends LoginListener { @Override public void observePostLoginEvent(final PostLoginEvent event) { } @Override public

Unrecognized SSL message, plaintext connection

别说谁变了你拦得住时间么 提交于 2019-12-13 05:15:01
问题 I have problem in my application (HTTP) when I want to sign in via JASIG CAS that runs on HTTPS. After redirect from CAS, I get this error on my jboss application server: Unrecognized SSL message, plaintext connection? Exception In apache server I use mod_jk library. Can anybody help me with this problem? Thank's 回答1: The message in the exception is perfectly clear. You are using HTTPS to connect to a port that is speaking plaintext. Check the port number in the URL. Typically the port number

Enable TLSv1.3 in jboss 7.0.0 GA

耗尽温柔 提交于 2019-12-13 05:09:53
问题 I am trying to enable TLSv1.3 in jboss 7.0.0 GA as given below <https-listener name="default-https" enabled-protocols="TLSv1.1,TLSv1.2,TLSv1.3" security-realm="ApplicationRealm" socket-binding="https"/> I can able to connet via TLSv1.1 and TLSv1.2 but while trying to connect via TLSv1.3 am getting the below error. Caused by: java.security.NoSuchAlgorithmException: TLSv1.3 SSLContext not available at sun.security.jca.GetInstance.getInstance(GetInstance.java:159) ~[?:1.8.0_144] at javax.net.ssl

JBoss 7.1.1 does not create server.log

吃可爱长大的小学妹 提交于 2019-12-13 05:08:48
问题 Here is what we currently have running, JBoss 7.1.1 in Domain Mode. OS Red Hat:Red Hat Enterprise Linux Server release 6.4 (Santiago) So on the host(Host-A) that acts as the Domain Controller we also have an App-Server. We have 17 other hosts but I am testing it out on Host-A right now. In the domain.xml on that very server, we have created a custom profile and in that profile I have configured a log location like this: <profile name="AppLogix-full-ha"> <subsystem xmlns="urn:jboss:domain

Jira, Tomcat and JBoss behind Apache

只愿长相守 提交于 2019-12-13 04:47:14
问题 I need to install these environment in the same machine. Jira : ( installer, port: 8080, tomcat-jira) Tomcat : ( tomcat for other applications, port: 8084 ) JBoss : ( port: 8086 ) Apache2: (as a proxy, mod_proxy, port: 80) First I´d install Jira as a service, with their installer, so, It came with a tomcat embed, port 8080. Then I installed apache as a proxy, It worked, I can now acces the jira like this: debian.local/jira intead of debian.local:8080. But when I put tomcat in the same server

jsf 2.1 cant import <h:inputfile

独自空忆成欢 提交于 2019-12-13 04:25:56
问题 I am trying to add to my site the tag I have completed my site under java EE 7 jsf 2.2 and primefaces 4.0 and was working under glassfish 4 but my production envireoment will have jboss and i noticed that there is not available the java EE 7 on this application Server, so i downgrade my site to java EE and this lead me use jsf 2.1 The problem i am facing now is that i have problems with the rendering items. specially with forms that have input file tags as i get the error <h:inputFile> Tag

JBoss 7.1 How to add a module

我只是一个虾纸丫 提交于 2019-12-13 02:48:18
问题 I use the annotation @WebContext in my project using JBoss 7.1. This annotation is present in a JBOSS module: <module xmlns="urn:jboss:module:1.1" name="org.jboss.ws.api"> The jar is located in JBOSS\modules\jboss\ws\api (jbossws-api-1.0.0.GA.jar) I'm not using maven so how do I include this dependency? Can I use the jboss-deployment-structure or Dependencies in the MANIFEST? My point is to have access to the jar in my Lib. Ideally the jar jbossws-api-1.0.0.GA.jar must be located in JBoss 7.1

httpd not started due to mod_proxy files not loaded

那年仲夏 提交于 2019-12-13 02:35:41
问题 I am trying to do jboss load balancing on centOS 7. I have installed httpd 2.4.7. Without any configuration changes it works, if I run Service httpd start. Whereas if I copy below files from http://mod-cluster.jboss.org/downloads/1-2-0-Final/ (mod_cluster-1.1.3.Final-linux2-x64-so) LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_ajp_module modules/mod_proxy_ajp.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so LoadModule proxy_connect_module modules/mod_proxy