jboss5.x

problem with seam and mdb on jboss5.1

老子叫甜甜 提交于 2019-12-06 20:08:26
I have a problem when using a mdb as a seam component. In the bean I inject some other seam somponents. The problem is that when the server restart after a crash and the mdb is deployed it starts reading the messages but seam is not initialized yet and I got an exception(listed above). If i start the server whith the queues empty and submit a message to queue after the server start it is working ok. Is there a posibility to stop or delay the sending off messages on server startup and start sending them only when seam is fully funcional? I tried the @Depends antotatin on the bean but withowt

JBoss AS7 - Failed to process phase POST_MODULE of deployment

半世苍凉 提交于 2019-12-06 11:18:18
Always when I deploy my project (jsf) I get the following error on my JBoss AS7. On JBoss 6 everything worked fine. What can be reasons for that error message? Do you have any idea how I can solve that? JBoss AS7-Console 21:25:17,026 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "myproject.war" 21:25:17,662 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-5) MSC00001: Failed to start service jboss.deployment.unit."seminarpla ner.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."myproject.war"

JBoss ManagedConnectionPool attributes

六月ゝ 毕业季﹏ 提交于 2019-12-06 10:42:53
问题 If I issue the following command against a JBoss 5 server: ./twiddle.sh -s myserver:1099 get jboss.jca:service=ManagedConnectionPool,name=MYPOOL ConnectionCount ConnectionCreatedCount MaxConnectionsInUseCount ConnectionDestroyedCount AvailableConnectionCount InUseConnectionCount MaxSize I get the following output AvailableConnectionCount=100 ConnectionCount=5 ConnectionCreatedCount=38 ConnectionDestroyedCount=33 InUseConnectionCount=0 MaxConnectionsInUseCount=2 MaxSize=100 My understanding of

JBoss server connection refused on localhost:1099

梦想与她 提交于 2019-12-06 10:41:05
I have an instance of JBoss 5.0.1 GA running on a remote server. The server attempts to start a batch service located on the same instance, but it reports connection refused. I found some webpage that said to add the localhost address to jndi.properties, but then the server fails to start altogether. The error code: 10:27:23,831 DEBUG [TimedSocketFactory] createSocket, hostAddr: localhost/127.0.0.1, port: 1099, localAddr: null, localPort: 0, timeout: 0 10:27:23,831 DEBUG [NamingContext] Failed to connect to localhost:1099 javax.naming.CommunicationException: Failed to connect to server

How to make my localhost available over internet

≡放荡痞女 提交于 2019-12-06 10:01:59
I have hosted an application on JBoss on my local machine and I can access by localhost or over my IP also. Now I want the same application to be accessed by other users over the internet by my IP. Could you let me know how to configure my JBoss to server these requests? You could start your JBoss server with this param -b to bind to a specific IP: run.bat -b <IP> For example if you adapter is configured with the IP 192.168.0.1 use the following command to bind your JBoss server to this adapter and listen on this interface: run.bat -b 192.168.0.1 You can use 0.0.0.0 to bind to all available

JBoss 5 truncates trailing = of a base64 cookie string

孤街浪徒 提交于 2019-12-06 05:04:41
问题 After upgrading from JBoss 4 to JBoss 5, I've noticed the most annoying regression. It truncates the trailing equal sign ('=') of a base64 cookie value. It took me so much time to understand that the problem wasn't my code but JBoss', I googled it and find out it's a known issue . The suggested work around is to calculate the string length and pad it with trailing equal signs (to a length that is multiplicity of 4). As our application can run on several application servers (e.g. WebLogic,

JBOSS dependencies for project using maven

妖精的绣舞 提交于 2019-12-05 23:02:02
This should be simple but can't figure it out. I have a web project that is built using Maven and will be deployed on a JBOSS-EAP 5.1 server. What do I add to my pom.xml so that Maven has access to the JBOSS EAP libraries at build time? Is there a particular dependency or plugin I can use? AFAIK this is a feature for EAP 6, and experimental even at that. See more information from here and here : A magnificent enhancement to the previous version is, that the EAP 6 ships with a Maven repository, which includes all EAP-related Maven artifacts. The missing maven repository was a big disadvantage

How to connect JMS queues from JBOSS 4 and 5?

丶灬走出姿态 提交于 2019-12-05 20:50:01
I have a server on which a Jboss 4.2.2 and a Jboss 5.1.0 runs. The problem is that a 3rd party is not able to upgrade its application to Jboss 5.1.0 in the near future, for us it is a simple matter. Unfortunately we need to send and receive some JMS messages from the third party app running on Jboss 4.2.2. What is the easiest way to enable the transfer of JMS messages between JbossMQ and JbossMessaging? I think I found the solution for my problem. The JBOSS documentation has a chapter to migrate messages between JBOSS Messaging and JBOSS MQ: http://www.redhat.com/docs/en-US/JBoss_Enterprise

org.apache.cxf.BusException: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http/

天涯浪子 提交于 2019-12-05 18:14:31
In a wsdl-file I have the following line: When I deploy the webapplication (on JBOSS 5.1.0) and try to access the wsdl I get the following exception: org.apache.cxf.BusException: No DestinationFactory was found for the namespace http://schemas.xmlsoap.org/soap/http/. org.apache.cxf.transport.DestinationFactoryManagerImpl.getDestinationFactory(DestinationFactoryManagerImpl.java:115) org.apache.cxf.endpoint.ServerImpl.initDestination(ServerImpl.java:85) org.apache.cxf.endpoint.ServerImpl.<init>(ServerImpl.java:69) org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:118) org

Creating XA DataSource to DB2 on JBoss

一曲冷凌霜 提交于 2019-12-05 17:13:28
I trying to configure an XA DB2 DataSource, xa-datasource (based on http://community.jboss.org/wiki/SetUpADB2Datasource ) using com.ibm.db2.jcc.DB2XADataSource class ( local-tx-datasource works using the com.ibm.db2.jcc.DB2Driver ). The target server is DB2 Connect V9.7 Actual xa-datasource config: <xa-datasource> <jndi-name>jdbc/DB2ServerDS</jndi-name> <use-java-context>false</use-java-context> <track-connection-by-tx>true</track-connection-by-tx> <xa-datasource-class>com.ibm.db2.jcc.DB2XADataSource</xa-datasource-class> <xa-datasource-property name="URL">jdbc:db2://db2server:50000/FINDB</xa