jboss7.x

CXF - Jaxws issue in Jboss AS 7: org.apache.cxf.staxutils.DepthExceededStaxException: reach the innerElementCountThreshold:50000

99封情书 提交于 2019-12-23 19:30:31
问题 I am facing an exception in Jaxws client while processing a SOAP webservice response, which is huge. This was working perfectly in Jboss 5.1. But I upgraded the Jboss to AS 7 and started getting below error. Caused by: javax.xml.ws.soap.SOAPFaultException: reach the innerElementCountThreshold:50000 at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:157) at com.sun.proxy.$Proxy41.getAllJobHistory(Unknown Source) at com.ep.service.impl.StatusSearchServiceImpl.findAll

Unable to create oracle data source in Jboss EAP 7.0 server

江枫思渺然 提交于 2019-12-23 19:18:03
问题 I need to create an oracle data source in JBOSS EAP 7.0 server I deployed ojdbc6.jar from the JBOSS management CLI(Command Line Interface) using the below command deploy <PATH_TO_ORACLE_DRIVER_JAR> I could see the server log as below after the driver is deployed 01:25:53,338 INFO [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-1) WFLYJCA0018: Started Driver service with driver-name = ojdbc6.jar 01:25:53,747 INFO [org.jboss.as.server] (management-handler-thread - 6) WFLYSRV0010:

Configuring JBoss 7 without manually editing the standalone.xml

烈酒焚心 提交于 2019-12-23 16:59:26
问题 What are the appropriate options for configuring JBoss 7 without manually editing the standalone.xml (or the domain.xml). We have a fairly complex configuration (JavaMail, many datasources, etc.) and editing the XML is not a good option, as comments are lost when it is rewritten, and in general it makes it very hard to deploy changes. One option I'm seeing is the Command Line Interface, where at least you could script that stuff, but it would seem to make changing it different than creating

Getting error on pubsub example using Atmosphere + Jersey

十年热恋 提交于 2019-12-23 16:35:40
问题 I'm following the tutorial here http://jfarcand.wordpress.com/2011/06/29/rest-websocket-applications-why-not-using-the-atmosphere-framework/ I already have a Jersey project up and running and working fine using JBoss 7. The one difference i have is that i am using Jersey with Spring. So my JQueryPubSub looks like this @Service <-- For Spring component Scan @Path("/pubsub/{topic}") @Produces("text/html;charset=ISO-8859-1") public class JQueryPubSub { @PathParam("topic") Broadcaster topic; @GET

javax.naming.NamingException: Failed instantiate InitialContextFactory org.jboss.naming.remote.client.InitialContextFactory from classloader

白昼怎懂夜的黑 提交于 2019-12-23 12:57:16
问题 I have s problem with Jboss-as-7.1.1. when I deploy it, it deploys properly, but when I send the request from client side I am getting this error: javax.naming.NamingException: JBAS011843: Failed instantiate InitialContextFactory MyErrorlog:- 14:18:22,952 INFO [stdout] (http--127.0.0.1-8080-1) BusinessClass::sendResponse Starts... 14:18:22,953 INFO [stdout] (http--127.0.0.1-8080-1) Enter the Try Block Edited by vivek 14:18:22,962 ERROR [stderr] (http--127.0.0.1-8080-1) javax.naming

javax.naming.NamingException: Failed instantiate InitialContextFactory org.jboss.naming.remote.client.InitialContextFactory from classloader

耗尽温柔 提交于 2019-12-23 12:57:14
问题 I have s problem with Jboss-as-7.1.1. when I deploy it, it deploys properly, but when I send the request from client side I am getting this error: javax.naming.NamingException: JBAS011843: Failed instantiate InitialContextFactory MyErrorlog:- 14:18:22,952 INFO [stdout] (http--127.0.0.1-8080-1) BusinessClass::sendResponse Starts... 14:18:22,953 INFO [stdout] (http--127.0.0.1-8080-1) Enter the Try Block Edited by vivek 14:18:22,962 ERROR [stderr] (http--127.0.0.1-8080-1) javax.naming

JBoss 7.1.1 and JBoss Web Native

血红的双手。 提交于 2019-12-23 08:16:06
问题 I'm trying to enable the JBoss Web Native libraries in JBoss 7.1.1. I have read this question and the answers and have tried the following steps to enable the native libraries in JBoss, but it didn't work so far. I'm on OS X: Downloaded the macosx archive from http://www.jboss.org/jbossweb/downloads/jboss-native-2-0-10 Unzipped it into the JBoss directory, so the contents of the archive are available in bin/native . Updated bin/standalone.conf to include the library path: JAVA_OPTS="$JAVA

Custom 500 error page not working with JBoss AS 7.1.1

家住魔仙堡 提交于 2019-12-23 05:45:17
问题 I have a JAX-RS application deployed on JBoss AS 7.1.1. In the web.xml file I configured custom error pages: <error-page> <error-code>404</error-code> <location>/error.jsp</location> </error-page> <error-page> <error-code>500</error-code> <location>/error.jsp</location> </error-page> It's working ok for 404 (no found) errors. However, for 500 (internal server error), it doesn't work as expected: if my method throws an Exception, then my custom error page is displayed however, if I use in my

Why is this JNI-based JBoss module throwing Error “Can't find dependent libraries”?

百般思念 提交于 2019-12-23 05:37:37
问题 I have a Java web application myproject.war deployed to JBoss. A portion of the application uses JNI to connect to a C++ DLL, which calls functions from a set of third-party libraries. We are migrating this application from a x32 server to a x64 server. Prior Environment Build 32-bit Windows Server 2003 JBoss 6.X Java 1.6.X New Environment Build 64-bit Windows Server 2008 R2, SP1 (6.1.7601) JBoss AS 7.2.0 Final "Janus" Java Runtime 1.7.0_45-b18. Visual Studio 2010 Redistributable x64

jstl forEach tag in jBoss 7, memory leak?

◇◆丶佛笑我妖孽 提交于 2019-12-23 05:13:28
问题 The YourKit profiler is used to analyze snapshot. Steps that have been performed (for the only user): generation number has been increased. some actions on the application page have been done. most of them get entities and display them via jstl forEach tag. the logout has been performed (session.invalidate()) the session timeout is set to 5 minutes. consequently I've waited for 6-8 minutes to make sure everything in session is invalidated. the snapshot via YourKit profiler was made. What I've