jboss

javax.security.sasl.SaslException: Authentic Failed while connecting to Jboss 7 server from remote client

坚强是说给别人听的谎言 提交于 2019-12-29 06:17:27
问题 I have standalone Java client(Running from within eclipse ) that I wish to connect to an external server . If the server is localhost then i see no problems at all . However whenever i try to connect to the external server where I always gets the following exception - JBREM000200: Remote connection failed: javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed - Could not register a EJB receiver for connection to remote://10.160.148.61:4447

Upgrade JBoss 5.1 from EL 2.1 to EL 2.2?

China☆狼群 提交于 2019-12-29 05:36:45
问题 This question is quick and simple. JBoss 5.1 comes out of box supporting JSP and EL (Expression Language) 2.1 and Servlet 2.5. Is it possible to upgrade or hack this to use EL 2.2? UPDATE: I tried what BalusC's answer stated and got the following error: 2011-08-01 10:29:52,418 SEVERE [javax.enterprise.resource.webcontainer.jsf.config] (main) Unable to instantiate ExpressionFactory 'org.jboss.el.ExpressionFactoryImpl' 2011-08-01 10:29:52,441 SEVERE [javax.enterprise.resource.webcontainer.jsf

Advantages/Disadvantages to exploded WAR files

旧城冷巷雨未停 提交于 2019-12-29 02:45:10
问题 An answer to a question I read today suggested deploying an application as an exploded (unzipped) WAR. It got me thinking. Every deployment I've ever done to a JBoss/Tomcat has been with a a WAR/EAR file. At least as far as I can remember. Have I been making a mistake all these years? Are there advantages to deploying an app in its expanded form rather than packaged up? 回答1: I think that was my answer mentioning the exploded WAR in the other question. Exploded WARs are easier to navigate and

java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind (JBOSS)

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-28 12:16:08
问题 I'm using JBoss 4.0.5 GA on Windows 7 with Java version 1.5 (I have to use older java version and a JBoss because I'm working with a legacy system). And when I'm starting the server I get the following error: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind And I believe this causes many other exceptions: 11:09:26,925 WARN [ServiceController] Problem starting servicejboss.cache:service=TomcatClustering Cache java.lang.NullPointerException at org.jgroups.protocols.FD

IE11 HTTPS AJAX XMLHttpRequest: Network Error 0x2eff, Could not complete the operation due to error 00002eff

拜拜、爱过 提交于 2019-12-28 06:27:54
问题 I have an ajax POST request that can take anywhere between 2 seconds to 30+ minutes. The post request occurs as a result of button click If the request takes less than a minute or two, it comes back with a response and everything works fine. However if the request takes longer than two minutes it comes back with "Network error: XMLHttpRequest: Network Error 0x2eff, Could not complete the operation due to error 00002eff". Ofcourse, it works fine Firefox and Chrome. The application is deployed

Autodetect classes in Hibernate from jar

僤鯓⒐⒋嵵緔 提交于 2019-12-28 04:28:22
问题 I have a JavaEE project with several entities with the following persistence.xml file: ... <properties> <!-- Scan for annotated classes --> <property name="hibernate.archive.autodetection" value="class"/> ... And it seems to work. The project is then deployed as a JAR to two different projects. In one them, the persistence.xml file is basically the same as the one above, i.e. uses the autodetection feature of Hibernate. However, it does not seem to work (because I think it needs to load

bouncycastle + JBoss AS7: JCE cannot authenticate the provider BC

戏子无情 提交于 2019-12-28 03:43:09
问题 I use BouncyCastle for encryption in my application. When I run it standalone, everything works fine. However, if I put it in the webapp and deploy on JBoss server, I get a following error: javax.servlet.ServletException: error constructing MAC: java.security.NoSuchProviderException: JCE cannot authenticate the provider BC (...) root cause java.lang.Exception: error constructing MAC: java.security.NoSuchProviderException: JCE cannot authenticate the provider BC (...) root cause java.io

How do I Install JBoss AS / WildFly Server in Eclipse for Java EE

送分小仙女□ 提交于 2019-12-27 17:21:08
问题 When I went to the "new server wizard" I can't find the category for JBoss AS. When I clicked "Download new server adapter" I don't get any JBoss AS adapter in the list. 回答1: Install the most recent JBoss Tools. Go to Help > Install New Software . Set Work with to the following URL depending on Eclipse version: 4.7 (Oxygen): http://download.jboss.org/jbosstools/oxygen/development/updates/ 4.6 (Neon): https://download.jboss.org/jbosstools/neon/stable/updates/ 4.5 (Mars): http://download.jboss

How do I Install JBoss AS / WildFly Server in Eclipse for Java EE

有些话、适合烂在心里 提交于 2019-12-27 17:20:32
问题 When I went to the "new server wizard" I can't find the category for JBoss AS. When I clicked "Download new server adapter" I don't get any JBoss AS adapter in the list. 回答1: Install the most recent JBoss Tools. Go to Help > Install New Software . Set Work with to the following URL depending on Eclipse version: 4.7 (Oxygen): http://download.jboss.org/jbosstools/oxygen/development/updates/ 4.6 (Neon): https://download.jboss.org/jbosstools/neon/stable/updates/ 4.5 (Mars): http://download.jboss

Eclipse中安装JBoss Tools插件

放肆的年华 提交于 2019-12-26 15:29:26
1、先访问JBoss Tools网站,看看上面怎么说;   http://tools.jboss.org -》 进入下载界面 看到下面这句话: Drag and drop this icon into your active Eclipse Luna 4.4.2 workspace, or alternatively, search for " JBoss Tools (Luna) " in Eclipse via: Help > Eclipse Marketplace... You can also view the installation page on the Eclipse Marketplace . 2、上面说的很明显,打开 Eclipse Luna 4.4.2 -》进入 Help > Eclipse Marketplace ,然后搜索 JBoss Tools (Luna) ,我们发现能够找到该插件,选择“Install” 3、我们会发现东西很多,我们可以选择性安装,然后选择“Confirm” 4、再继续授权结束,等等安装结束 5、安装完后重启Eclipse即可 6、我们使用Hibernate /jboss tools来关联Mysql数据库生成javabean a、打开hibernate b、配置相关参数 c、运行配置,即可生成代码 来源: https://www