jboss5.x

TLSv1.2 on Jboss 5.1.0 GA using Java 6 and BouncyCastle

北慕城南 提交于 2020-02-02 15:03:55
问题 I'm facing a problem with a Jboss server and the https connector, running on Java 6. I want to make my server using only TLSv1.2 and using the cipher suites "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" for decoding the certificate. I know that Java 6 does not support TLSv1.2, but I added the Bouncy Castle JCE and JSSE provider to the JDK (https://www.bouncycastle.org/latest_releases.html) : Added the JARs files ( bcprov-jdk15on-159.jar and bctls-jdk15on

TLSv1.2 on Jboss 5.1.0 GA using Java 6 and BouncyCastle

大憨熊 提交于 2020-02-02 15:00:30
问题 I'm facing a problem with a Jboss server and the https connector, running on Java 6. I want to make my server using only TLSv1.2 and using the cipher suites "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" for decoding the certificate. I know that Java 6 does not support TLSv1.2, but I added the Bouncy Castle JCE and JSSE provider to the JDK (https://www.bouncycastle.org/latest_releases.html) : Added the JARs files ( bcprov-jdk15on-159.jar and bctls-jdk15on

Basic question complicated solution - Tomcat to JBoss

◇◆丶佛笑我妖孽 提交于 2020-01-25 12:38:58
问题 Why can't the JSTL jars having tld files present in my web-inf/lib directory be read nicely by tomcat but not when i move to jBoss 5? Is it a classloader issue? I tried researching but there exists no clear answer. I read a huge classloader related article but not sure how that applies practically to my application. Any help would be appreciated. Thanks in advance Asif 回答1: Tomcat is a simple JSP/Servlet container which ships with JSP and Servlet APIs only. JBoss is a more full fledged Java

Log4j2.0 is not working with Jboss 5

与世无争的帅哥 提交于 2020-01-17 08:32:12
问题 i have issue with struts2 and log4j2.0 My program working properly but log4j2.0 is not respond pls help me to solve dis.. im using following jar: 1.log4j-core-2.0-beta8 2.log4j-api-2.0-beta8 3.log4j-web-2.0-beta2 my log4j2.xml <?xml version="1.0" encoding="UTF-8"?> <configuration strict="true" schema="Log4J-V2.0.xsd" status="OFF" monitorInterval="300"> <appenders> <Console name="CONSOLE" target="SYSTEM_OUT"> <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n" /> </Console> <File name=

Log4j2.0 is not working with Jboss 5

我的梦境 提交于 2020-01-17 08:30:14
问题 i have issue with struts2 and log4j2.0 My program working properly but log4j2.0 is not respond pls help me to solve dis.. im using following jar: 1.log4j-core-2.0-beta8 2.log4j-api-2.0-beta8 3.log4j-web-2.0-beta2 my log4j2.xml <?xml version="1.0" encoding="UTF-8"?> <configuration strict="true" schema="Log4J-V2.0.xsd" status="OFF" monitorInterval="300"> <appenders> <Console name="CONSOLE" target="SYSTEM_OUT"> <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n" /> </Console> <File name=

The absolute uri cannot be resolved in either web.xml or the jar files deployed with this application

橙三吉。 提交于 2020-01-14 10:39:49
问题 I'm converting a web application to use TomEE instead of Jboss 5.1.0 and seeing the following exception: ERROR org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/].[mlui]- Servlet.service() for servlet [mlui] in context with path [] threw exception [The absolute uri: http://www.springframework.org/spring-social/social/tags cannot be resolved in either web.xml or the jar files deployed with this application] with root cause org.apache.jasper.JasperException: The absolute uri: http

How do I write a Java EE/EJB Singleton?

我是研究僧i 提交于 2020-01-12 07:48:19
问题 A day ago my application was one EAR, containing one WAR, one EJB JAR, and a couple of utility JAR files. I had a POJO singleton class in one of those utility files, it worked, and all was well with the world: EAR |--- WAR |--- EJB JAR |--- Util 1 JAR |--- Util 2 JAR |--- etc. Then I created a second WAR and found out (the hard way) that each WAR has its own ClassLoader, so each WAR sees a different singleton, and things break down from there. This is not so good. EAR |--- WAR 1 |--- WAR 2 |-

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 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

change the soap:address location in generated wsdl

主宰稳场 提交于 2020-01-01 10:58:27
问题 I am using JAX-WS annotation to create soap services running on JBOss 5.1.0 G.A, the generates WSDL has got the following bit at the end - <service name="DataServiceService"> <port binding="tns:DataServiceBinding" name="DataServicePort"> <soap:address location="http://mymachine:8080/myapp/webservice" /> </port> </service> I have made the service https enabled on port 8443, I am able to connect to the service using the right protocol and port number but is there is a way to change the soap