jboss7.x

Redeploy application after jsf managed bean modification

﹥>﹥吖頭↗ 提交于 2019-12-13 01:23:09
问题 Why is an application redeployment is needed for jsf managed bean modifications to take effect? Development environment: Eclipse Indigo. JBoss as 7. JBossAS Tools. Further explanation: If I modify a jsf page, I can visualize the modification after simply refreshing the page. But this is not the case for jsf managed bean modifications where I have to redeploy the application to visualize them. 回答1: Eclipse/JBoss cannot handle new classes, methods, nor fields during hotpublish/hotdeploy. They

Howto prevent JBoss from rewriting JAX-WS XSD import URLs to HTTPs

左心房为你撑大大i 提交于 2019-12-13 01:10:15
问题 We have a JAX-WS webservice deployed in a WAR in JBoss EAP 6.4.0 (JBoss AS 7.5.0) that delivers a predefined WSDL and XSD: @WebService(endpointInterface = "package.MyPortType", targetNamespace = "http://target.name.space", wsdlLocation = "/WEB-INF/classes/myService.wsdl", serviceName = "myService", portName = "myServicePort") public class MyService implements MyPortType { ... } JBoss correctly deploys the webservice and publishes the given WSDL as http://localhost:8080/myApp/myService and

Missing Web Application directory in JBoss 7.1.1

前提是你 提交于 2019-12-13 00:25:58
问题 When I deploy my application from Eclipse IDE to JBoss 7.1.1 application server, I found myapp.war directory under <JBOSS_HOME\standalone\deployments> directory. But when I deploy myppa.war file of my application from JBoss Admin Console. I did not found under <JBOSS_HOME\standalone\deployments> directory. Where can I get the deployment folder of war in JBoss 7.1.1 ? 回答1: JBOSS uses vfs when deployment is done using Admin Console: Try out the following location: ${JBOSS_HOME}/standalone/tmp

JNDI name for EJB 3.1 running on JBoss 7

↘锁芯ラ 提交于 2019-12-12 23:30:13
问题 I'm trying to run this EJB example on JBoss 7 but it always throws NameNotFoundException. The EJB that I try to test is: Calculator. When I deploy it on JBoss 7 show this next lines in the server console: java:global/CalculadoraProject/Calculator!demo.CalculatorRemote java:app/CalculadoraProject/Calculator!demo.CalculatorRemote java:module/Calculator!demo.CalculatorRemote java:jboss/exported/CalculadoraProject/Calculator!demo.CalculatorRemote java:global/CalculadoraProject/Calculator java:app

JBoss AS 7 : how to make independant deployment of EJB and dependent WAR?

人走茶凉 提交于 2019-12-12 20:45:28
问题 I have an application with one EJB ( mwf_ejb.jar ) and a WAR ( mwf_web.war ). If I package them in the same EAR, everything is OK. Is there any way to deploy the EJB first, then the WAR ? If I try it, my EJB JAR deploys well, but when I deploy my WAR, I get the following error (in JBoss AS 7.1.1): MSC00001: Failed to start service jboss.deployment.unit."mwf_web.war".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."mwf_web.war".STRUCTURE: Failed to process

How do I configure our MySQL ReplicationDriver for our JBoss 7 data source?

落花浮王杯 提交于 2019-12-12 16:13:23
问题 We’re using MySql 5.5.37 and JBoss 7.1.3, and mysql-connector-java-5.1.22-bin.jar. How do I configure my JBoss’ standalone.xml datasource to connect to our master-slave configuration for MySQL? I tried the below <datasource jndi-name="java:jboss/datasources/MySqlDS" pool-name="MySqlDS" enabled="true" use-java-context="true"> <connection-url>jdbc:mysql:replication//master.amazonaws.com:3306,slave.amazonaws.com:3306/dbsid?failOverReadOnly=true;roundRobinLoadBalance=true</connection-url> <driver

what logging is used by JBoss version 7.2?

て烟熏妆下的殇ゞ 提交于 2019-12-12 15:27:31
问题 There are many variations of logging that can be used in java. Most popular are the log4j and JDK logging. I am wondering what logging is used by JBoss Application Server 7.2 version by default? It is very hard to find the logger used by looking at the modules or configuartion files. I would aprreciate if somebody can help me in this regard. Thank you 回答1: Generally speaking, logging should be broken into two parts. A logging facade and a log manager. J.U.L. and log4j don't separate these

What causes err ' A SPI class of type lucene.codecs.Codec name 'Lucene42'

五迷三道 提交于 2019-12-12 15:15:11
问题 Can't figure out what is causing ' A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath' Any help would be appreciated java.lang.IllegalArgumentException: A SPI class of type org.apache.lucene.codecs.Codec with name 'Lucene42' does not exist. You need to add the corresponding JAR file supporting this SPI to your classpath.The current classpath supports the following names: []

onetomany unidirectional with jointable setup using jpa

隐身守侯 提交于 2019-12-12 13:47:48
问题 I have two entities namely customer and order in a onetomany relationship. One customer can have multiple orders. Since i needed this relationship to be unidirectional, i am using a joinTable. I am able to add entries to my customer entity using JPA. I am able to add entries to my order entity using JPA. I am wondering how to connect the two together data. Let's say i have one entry in customer table and two entries in order table. I would like to associate these two entries in order table to

How to list JBoss AS 7 datasource properties in Java code?

心不动则不痛 提交于 2019-12-12 13:16:30
问题 I'm running JBoss AS 7.1.0.CR1b. I've got several datasources defined in my standalone.xml e.g. <subsystem xmlns="urn:jboss:domain:datasources:1.0"> <datasources> <datasource jndi-name="java:/MyDS" pool-name="MyDS_Pool" enabled="true" use-java-context="true" use-ccm="true"> <connection-url>some-url</connection-url> <driver>the-driver</driver> [etc] Everything works fine. I'm trying to access the information contained here within my code - specifically the connection-url and driver properties.