jboss7.x

Error rich:panelMenu example showcase doesn't render

浪子不回头ぞ 提交于 2019-12-12 01:35:22
问题 Hi i can't replicate the example in the richfaces 4.3.0.Final showcase: http://showcase.richfaces.org/richfaces/component-sample.jsf?demo=panelMenu&skin=blueSky Specifically in the rich:panelMenu component, when i run the code the panelMenu doesn't responde,and the panelMenuItem doesn't show, I change the code like this: <rich:panelMenu style="width:200px" itemMode="ajax" groupMode="ajax"> to <rich:panelMenu style="width:200px" mode="ajax"> and the panelMenuItems show and working, but this

How to find JNDI name in JBoss-7?

浪子不回头ぞ 提交于 2019-12-12 00:33:27
问题 Please find the scenario below, @Stateless(name = "TestManager") @Remote(TestInterfaceRemote.class) @Local(TestInterfaceLocal.class) public class TestManagerBean implements TestInterfaceLocal, TestInterfaceRemote {} The following JNDI name for the TestManagerBean class which is printed in server.log file if the server log level is INFO. By using this JNDI, I am able to access the bean in the EJB client program. java:global/Sample/Demo/TestManager!net.juniper.jmp.test.TestInterfaceRemote My

Proxy For org.springframework.orm.jpa.SharedEntityManagerCreator:invoke:289

穿精又带淫゛_ 提交于 2019-12-12 00:06:00
问题 I am performing benchmark testing for the application that i am currently working on. After a lot of iteration, we could identify that the time taking component. Its a web based application using Spring Data JPA with hibernate as persistence provider. From the monitoring tool we found that class Proxy For org.springframework.orm.jpa.SharedEntityManagerCreator:invoke:289 is where a lot time spent when running more number(2000) of concurrent threads. Kindly let me know the possible cause and

(AS7) Error calling remote EJB method with proxified CDI bean in parameter

心不动则不痛 提交于 2019-12-12 00:05:22
问题 Can I call a remote EJB method with CDI bean in parameter method? Like this: I have a LoggedUserProducer.java thats produces a User from the database. public class LoggedUserProducer { @Produces @SessionScoped @LoggedUser public User produceLoggedUser() throws Exception { ... //load user from database with a request token return user; } } And I have a JSF Bean thats make the EJB call: CarController.java @Named @ViewScoped public class CarController implements Serializable { @Inject //I have a

Cannot lookup EJB bean from remote server

限于喜欢 提交于 2019-12-11 23:56:30
问题 I have Jboss 7 server and SSL is enabled for remote connection and JNDI property as below java.naming.security.principal=admin, server=10.10.10.10 java.naming.security.credentials=1111 java.naming.provider.url=remote://10.10.10.10:4447 java.naming.factory.initial=org.jboss.naming.remote.client.InitialContextFactory jboss.naming.client.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT=false jboss.naming.client.remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=true

Parent last for Hibernate Arquillian test on JBOSS

房东的猫 提交于 2019-12-11 20:51:00
问题 I'm having an Arquillian test. The subject is an EJB that uses Hibernate 3, which I add to the shrinkwrapped archives along with all other Maven dependencies. It deploys the EJB as a JAR wrapped in an EAR, to an embedded JBOSS 7 which has Hibernate 4 on board. It clashes with the following exception: java.lang.AbstractMethodError: org/hibernate/usertype/UserType.nullSafeSet( Ljava/sql/PreparedStatement;Ljava/lang/Object; ILorg/hibernate/engine/spi/SessionImplementor;)V I strongly believe that

Hibernate show sql is equal to Stdout

不问归期 提交于 2019-12-11 20:12:02
问题 I declared <property name="show_sql">true</property> in hibernate. I read stdout issues in this link. Stdout will consume more memory. So How show_sql functionality will working?. Because of I have seen in server log stdout sql query. 13:06:53,323 INFO [stdout] (http-/172.29.250.43:8080-7) Hibernate: select sampledata0_.idsample as idsample4_10_1_, sampledata0_.id as id1_9_1_, sampledata0_.id as id1_9_0_, sampledata0_.idsample as idsample4_9_0_, sampledata0_.sname as sname2_9_0_, sampledata0_

Tell JBoss AS7 to redirect to HTTPS after login instead of HTTP when behind HTTPS load-blancer

ぃ、小莉子 提交于 2019-12-11 19:37:12
问题 We have a load-balancer sitting in front of two JBoss AS7 servers. The load-balancer handles the SSL handshake and forces all traffic over https (http requests are redirected to https requests), the AS nodes do not have certificates on them and traffic between load balancer and servers is unencrypted, the AS nodes know nothing about the SSL. When a user hits a protected page the AS presents them with a login page. User enters credentials and submits the login form. The AS logs user in and

JBoss AS 7.2 Failed to determine implementation class name

房东的猫 提交于 2019-12-11 19:35:38
问题 When I am trying to call a WSDL-based web service from inside a Resource Adapter, I get the following exception: SEVERE [org.apache.cxf.BusFactory] (JmsMessageDispatcher#2) Failed to determine BusFactory implementation class name.: java.lang.ClassCastException: class org.apache.cxf.bus.spring.SpringBusFactory at java.lang.Class.asSubclass(Class.java:3126) [rt.jar:1.7.0_45] at org.apache.cxf.BusFactory.getBusFactoryClass(BusFactory.java:333) [cxf-api-2.5.9.jar:2.5.9] at org.apache.cxf

JBOSS 7 MYSQL missing dependencies error

旧城冷巷雨未停 提交于 2019-12-11 19:29:11
问题 There are many threads like this one already for similar errors but none which have solved my problem so after an hour of trying to debug it, I have decide to ask for help. Background I am setting up a Java EE project. I have create an enterprise application and have create an EJB project, JPA project and web Project and added EAR's to the enterprise project. I have also added mysql-connector-java-5.1.0-bin to the JBOSS/standalone/deployments folder. And added to this jar file to the JPA