jboss

Concurrent usage of an EJB that is exposed as RMI service

a 夏天 提交于 2019-12-25 00:37:24
问题 I have built an application which simulates several clients using the same RMI service. This service is then invoked concurrently by every client retrieving and uploading data to the server. My concern is if every remove invocation takes some time does the remote service implementation (jBoss 5 EJB) can handle these calls remotely or it serializes them down. If the latter is the case then I have to limit the number of clients to prevent slowing them down. 回答1: RMI calls are not sequentialized

How does the MDB instance picked from a particular container pool?

佐手、 提交于 2019-12-24 23:42:58
问题 I'm wondering how the MDB instance is re-used from a particular container pool.In standardjboss.xml, the standard MDB container pool is configured. In jboss-container.xml ther are two MDB specific container-pool configuration that extends the standard MDB configuration. There is no where in the source I could see certain MDBs are associated with a particular pool. I want to know how the few MDB instances are re-used from a particual pool and other MDB instance is used from an other MDB pool.

NoSuchMethodError: LocalSessionFactoryBuilder.addAnnotatedClass(Ljava/lang/Class;)Lorg/hibernate/cfg/Configuration;

☆樱花仙子☆ 提交于 2019-12-24 23:16:32
问题 I am using Spring 3.2 and Hibernate4. I included all Jars required. Using JBoss AS. Deploying from Eclipse. But I am getting this error. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.springmvcsample.service.PersonService com.springmvcsample.controller.PersonController

keycloak - SSL error: Certificates do not conform to algorithm constraints

天涯浪子 提交于 2019-12-24 22:30:27
问题 I am running a keycloak instance connected to Amazon RDS Postgres with this docker command: docker run --rm --name keycloak \ -p 9090:8080 -e KEYCLOAK_USER=xxx \ -e KEYCLOAK_PASSWORD=xxx \ -e DB_VENDOR=postgres \ -e DB_ADDR=mydb2.xxx.rds.amazonaws.com:5432 \ -e DB_USER=xxx \ -e DB_PASSWORD=xxx \ -e DB_DATABASE=keycloak \ jboss/keycloak:latest But it cannot connect to the DB: 05:18:54,776 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add

User authentication with J2EE

六眼飞鱼酱① 提交于 2019-12-24 22:24:49
问题 in my website I'm allowing my users to login using their name and their password (this data is stored in my database). But now I want to allow them to login by using their social networks account, like facebook, gmail... My website is running on a JBOSS application server. And the users authentication is done by a form-based authentication, kinda like this example http://dont-panic.eu/blogs/2012/sep/form-based-authentication-against-custom-database-jboss-7. Is it possible to add this new

Creating webservice and client with JBossWS using Complex objects as arguments and return types

喜欢而已 提交于 2019-12-24 20:27:12
问题 I am developing a WebService and Client for it using JBoss 5.1.0GA. The JBossWs stack was already preinstalled with the binary that I downloaded and as I understand it is JBossWs 3.1.2GA I have developed a web service using this setup and have also created a client successfully. This is what I have. A pojo web service deployed as a war file. @WebService public class Service{ @WebMethod public CompleObj getConfiguration() { CompleObj oConf = new CompleObj (); for (int i = 0; i < 10; i++) {

oracle.jdbc.ReadTimeout and Socket read timed out

不羁岁月 提交于 2019-12-24 16:28:41
问题 Sometimes I'm getting the below error on my application running on jboss 7 with DBCP . I would like to understand : does it means oracle.jdbc.ReadTimeout is configure on my application or not ? how can I check what is oracle.jdbc.ReadTimeout value ? Caused by: oracle.net.ns.NetException: Socket read timed out at oracle.net.ns.Packet.receive(Packet.java:320) at oracle.net.ns.DataPacket.receive(DataPacket.java:103) at oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:230) at oracle

jboss with oracle db - connection issue

瘦欲@ 提交于 2019-12-24 16:24:57
问题 I'm struggling for two hours to deploy an application on Jboss server which connects to my Oracle DB. The dbname-ds.xml has: <datasources> <local-tx-datasource> <jndi-name>dbnameDatasource</jndi-name> <use-java-context>false</use-java-context> <connection-url>jdbc:oracle:thin:@192.168.168.105:1521:XE</connection-url> <driver-class>oracle.jdbc.driver.OracleDriver</driver-class> <user-name>system</user-name> <password>password</password> </local-tx-datasource> </datasources> The credentials are

understanding lock-on-active with agenda-group

烂漫一生 提交于 2019-12-24 16:18:03
问题 I tried a sample example to see how lock-on-active works. When I fire the rule without using agenda-group everything seems fine. But when i uncomment the agenda-group in the below code and set focus to group "Group B" no rules are fired. Rule rule "Additional Rs.1 tax for books above Rs.10" //agenda-group "Group B" lock-on-active true when $o: Product(name=="Book",amount>10) then System.out.print($o.getAmount()+"-->"); modify ($o) { setAmount($o.getAmount()+1); } System.out.println($o

Tomcat/IIS closes socket after http response has completed

爷,独闯天下 提交于 2019-12-24 15:57:19
问题 I am using JBoss 4.0.4 GA, which has Tomcat Servlet Container 5.5. I also have IIS 6.0 redirected to this JBoss. (via IIS tomcat connector, which is used as ISAPI filter in IIS). All is working OK, configured the workers as described. Here is a piece of workers.properties file of the connector: # # Defining a worker named ajp13 and of type ajp13 # Note that the name and the type do not have to match. # worker.jboss0_ajp13.port=8009 worker.jboss0_ajp13.type=ajp13 worker.jboss0_ajp13.host