jboss

Creating security domain using wildfly-maven-plugin has no effect

放肆的年华 提交于 2020-01-05 00:45:09
问题 I found this which uses /subsystem in its command, so I tried it with a different subsystem command (I use one to create a security domain), it builds successfully, but has no effect in standalone.xml. <plugin> <groupId>org.wildfly.plugins</groupId> <artifactId>wildfly-maven-plugin</artifactId> <version>1.1.0.Alpha1</version> <configuration> <execute-commands> <commands> <command>/subsystem=security/security-domain=secureD:add(cache-type=default)</command> <command>reload</command> <command>

JBOSS 7 - Spring ContextLoaderListener ClassNotFoundException

。_饼干妹妹 提交于 2020-01-04 13:20:47
问题 im trying to migrate my JBOSS 5.1 application to JBOSS 7.0.2. In admin console i select deployments -> add content and my .war and try to enable it. I already resolved some problems, but cant figure out this one: (in short, in long at the end) Caused by: java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener from [Module "deployment.ZaprogsProject.war:main" from Servic e Module Loader] I copied to JBOSS7\standalone\lib\ the following files: spring-aop-3.0.5

How to prevent JBoss inter web application classpath?

橙三吉。 提交于 2020-01-04 11:58:51
问题 I have two web application deployed in JBoss within same server. I have observed classpath is shared between this two web applications. So how do I prevent classpath saring between applications. I mean whatever classes and jar files available in one application should not be visible in another application in same server in jboss. 回答1: For most versions of jBoss AS you need to update your jboss-web.xml file: <jboss-web> <class-loading> <loader-repository>com.example:archive=unique-archive-name

How to prevent JBoss inter web application classpath?

浪子不回头ぞ 提交于 2020-01-04 11:55:47
问题 I have two web application deployed in JBoss within same server. I have observed classpath is shared between this two web applications. So how do I prevent classpath saring between applications. I mean whatever classes and jar files available in one application should not be visible in another application in same server in jboss. 回答1: For most versions of jBoss AS you need to update your jboss-web.xml file: <jboss-web> <class-loading> <loader-repository>com.example:archive=unique-archive-name

JBoss [ClassLoaderManager] IncompatibleClassChangeError?

心不动则不痛 提交于 2020-01-04 11:03:40
问题 Experiencing the following stacktrace in JBoss-6.0.0.Final after having potentially "resolved" some other lib conflicts by way of jboss-classloading.xml. What's the conflict now? JBoss is impossibly difficult compared to tomcat so far. :( I'm realizing that JBoss comes with a ton of prepackaged service support and am sure it'd be easier to just use their packaged libs. But, my code relies on more modern releases of, for example Hibernate, than what is packaged w/ JB6 final. How do people

h:commandLink not working when inside a list

落花浮王杯 提交于 2020-01-04 09:07:21
问题 I have a problem with RichFaces and creating lists of links. If you attempt to use any type of commandLink inside a list (I've tried ui:repeat and rich:list) the action on that link is not called. I've also tried commandButton and the a4j variations of those. I'm using JSF 2, RichFaces 4 on Jboss 6. <rich:list var="venue" value="#{searchManager.results}" type="definitions" stateVar="status"> <h:form> <h:commandLink value="CLICK IT" immediate="true" action="#{score.selectVenue}" /> </h:form> <

h:commandLink not working when inside a list

时间秒杀一切 提交于 2020-01-04 09:06:13
问题 I have a problem with RichFaces and creating lists of links. If you attempt to use any type of commandLink inside a list (I've tried ui:repeat and rich:list) the action on that link is not called. I've also tried commandButton and the a4j variations of those. I'm using JSF 2, RichFaces 4 on Jboss 6. <rich:list var="venue" value="#{searchManager.results}" type="definitions" stateVar="status"> <h:form> <h:commandLink value="CLICK IT" immediate="true" action="#{score.selectVenue}" /> </h:form> <

How to programmatically check if an application has deployed in JBoss5?

你离开我真会死。 提交于 2020-01-04 06:53:55
问题 I am writing a small app to automate deployments. Basically, it checks an ftp server periodically for a new .ear file. Compares the checksum of the remote ftp file against what is currently deployed. If there is a new ftp file, then it gets picked up and deployed... I then have a check to see if the app has deployed successfully. At the moment, I am sending an http get requested for the main landing page of the app and then checking the http return code for a successful deployment. However, I

How can I deploy my angular 2 app on tomcat or jboss?

和自甴很熟 提交于 2020-01-04 06:52:19
问题 I have built a basic angular 2 app. However I need to deploy it on Jboss or Tomcat as I need to use it along with my Java EE application. Thanks for your help. 回答1: You would use a bundler such as angular-cli or webpack to create the production bundle which is then served by the HTTP server. The bundler creates all required file that go into the htdocs directory. Normally Angular apps are completely decoupled from your backend server so there shouldn't be any JBoss or Tomcat specifics. The

How to programmatically check if an application has deployed in JBoss5?

自闭症网瘾萝莉.ら 提交于 2020-01-04 06:50:04
问题 I am writing a small app to automate deployments. Basically, it checks an ftp server periodically for a new .ear file. Compares the checksum of the remote ftp file against what is currently deployed. If there is a new ftp file, then it gets picked up and deployed... I then have a check to see if the app has deployed successfully. At the moment, I am sending an http get requested for the main landing page of the app and then checking the http return code for a successful deployment. However, I