jboss

xalan and xerces in jboss eap 6.0.1

China☆狼群 提交于 2020-01-15 07:04:03
问题 I'm migrating an application from Glassfish 2.1 to Jboss eap 6.0.1. Now I deploy my app in Jboss correctly but it doesn't work. I have made debug and I saw the problem. When the code arrives to this line: OutputFormat format = OutputFormat(doc); It fails. I made a new watch of "OutputFormat(doc)" and in the value appears this: Unknown type "org.apache.xml.serialize.OutputFormat"< This class is inside xerces library. This library is installed as a module in my jboss. I have tried many things:

xalan and xerces in jboss eap 6.0.1

混江龙づ霸主 提交于 2020-01-15 07:03:39
问题 I'm migrating an application from Glassfish 2.1 to Jboss eap 6.0.1. Now I deploy my app in Jboss correctly but it doesn't work. I have made debug and I saw the problem. When the code arrives to this line: OutputFormat format = OutputFormat(doc); It fails. I made a new watch of "OutputFormat(doc)" and in the value appears this: Unknown type "org.apache.xml.serialize.OutputFormat"< This class is inside xerces library. This library is installed as a module in my jboss. I have tried many things:

xalan and xerces in jboss eap 6.0.1

吃可爱长大的小学妹 提交于 2020-01-15 07:03:04
问题 I'm migrating an application from Glassfish 2.1 to Jboss eap 6.0.1. Now I deploy my app in Jboss correctly but it doesn't work. I have made debug and I saw the problem. When the code arrives to this line: OutputFormat format = OutputFormat(doc); It fails. I made a new watch of "OutputFormat(doc)" and in the value appears this: Unknown type "org.apache.xml.serialize.OutputFormat"< This class is inside xerces library. This library is installed as a module in my jboss. I have tried many things:

Gradual increase in Resident Memory usage by Jboss(Java) process

随声附和 提交于 2020-01-14 16:03:18
问题 We are facing an issue where the Resident memory of the Java process grows gradually. We have Xmx defined at 4096 MB and XX:MaxPermSize=1536m. The number of active threads ~1500 with an Xss of 256K defined. When the application server(JBoss 6.1) starts the resident memory used is ~5.6GB(have been using top command to monitor it); it gradually grows(around 0.3 to 0.5 Gb per day) till it grows to ~7.4 Gb, when the kernel's OOM killer kills the process due to shortage of RAM space(The server has

How to remove hash from URL in Angular5?

与世无争的帅哥 提交于 2020-01-14 14:47:09
问题 Angular Routing(In my app-routing.module.ts) @NgModule({ exports: [ RouterModule ], imports: [ RouterModule.forRoot(routes) ], declarations: [] }) In index.html I have added <base href="/"> But in the URL I can see the # My application is deployed on JBoss AS 7.1.1 Server 回答1: In your app module do this. Find more information in here about hash location strategy. @NgModule({ imports: [ // other imports RouterModule.forRoot(routes, { useHash: false }) ], declarations: [ ], providers: [ ],

problem configure JBoss to work with JNDI(2)

自闭症网瘾萝莉.ら 提交于 2020-01-14 13:58:11
问题 in continuation to the question from last week: problem configure JBoss to work with JNDI I'm trying to bind datasource in JBoss and use it in my application. In my struggling, I already managed to avoid the javax.naming.NameNotFoundException by: 1. using in java new InitialContext().lookup(connection); instead of new JndiObjectFactoryBean().setJndiName(connection); 2. changing the connection name from: 'jndi-name' to 'java:jndi-name' Now the problem is that the datasouce that I get from the

Atomikos vs. Bitronix vs. JBossTS - MVCC and Nested Transactions

a 夏天 提交于 2020-01-14 04:45:14
问题 I want to implement one of the former Transaction Manager. However, since I am still in the concept phase I would like to try all of these Transaction Manager. My criterias for the final choice are the ease of use, use of Tomcat , the adaptility and most of all the support of nested transactions AND MVCC. I was not able to find any Information about the possible support of the latter criteria for Bitronix and Atomikos. I know that JBossTS supports MVCC and NT - but I'm not sure if JBoss would

How to fix hibernate.transaction.flush_before_completion issue with JTA transactions in JBOSS EAP 7.2?

左心房为你撑大大i 提交于 2020-01-14 04:04:27
问题 We have recently migrated from JBOSS EAP 6.4 (JEE 6) to JBOSS EAP 7.2 (JEE 8). In the new version of EAP we are facing issues with the CMT transactions. The flush is not working until we explicitly add the method call entityManager.flush(). The same configuration was working fine in the old EAP server. The new version of container is not flushing the SQL queries during the commit of the transaction. We have setup the following properties in the persistence.xml. <persistence-unit name="ACCOUNT

com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Can't call rollback when autocommit=true

夙愿已清 提交于 2020-01-14 03:03:33
问题 Im using Jboss5.0 with mysql in my application. and there will be lot of concurrent actions and DB contains considerably lot of records. this error is coming frequently.. every now and then. com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Can't call rollback when autocommit=true at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:888) at com.mysql.jdbc.Connection.rollback(Connection.java:5192) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.rollback

Apache in front of JSF

帅比萌擦擦* 提交于 2020-01-13 20:41:27
问题 In Jboss AS 7: Putting Apache in front of Jboss with this works fine: ProxyPass / http://localhost:8080 ProxyPassReverse / http://localhost:8080 So app is accessed by domain.com/app . Problem appears when aiming for a clearer URL(Just domain.com ): ProxyPass / http://localhost:8080/app ProxyPassReverse / http://localhost:8080/app All javax.faces.resource are not delivered in the second case, because they don't use the war context URL. Any idea how to get the faces resources in the second case