jboss5.x

How to debug JBOSS application in netbeans?

人盡茶涼 提交于 2019-11-28 01:55:56
问题 I come from a .NET background where I can easily debug a web application by adding a breakpoint and building/running the application. I'm working on a JAVA EJB3 application. I have successfully deployed ejb project to the server, but what I'd like to do know is develop controllers and views. In order to do that I'd like to be able to run/debug the project in net beans. I have added both JBOSS5 and JBOSS6 into the IDE, but it takes over a minute to start. Sometimes it hangs completely. I don't

Jboss only works on localhost:8080 ,but doesnt reply when called by ip

房东的猫 提交于 2019-11-27 15:52:40
问题 I installed JBoss 5.0.1 and ran it , but when i called it from the same computer on localhost:8080 it works but when i call it from other computer it doesnt work at all using the computer IP ... when i had tomcat it used to work on both.so Does anybody know the problem? 回答1: If you want JBoss to communicate on all IP addresses that are on the machine, then you can start it with the -b option passing 0.0.0.0 as the ip address, e.g. -b 0.0.0.0 Probably better is binding to the specific IP

Error starting jboss server

℡╲_俬逩灬. 提交于 2019-11-27 10:11:14
I've just finished re-installing my OS, and as always install and test standard tools which I use, and now I get this error like never before when I tried to start Jboss 5 from eclipse, its quite big exeption : 3:53:10,693 ERROR [AbstractKernelController] Error installing to Instantiated: name=AttachmentStore state=Described java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File] at org.jboss.reflect.plugins.introspection.ReflectionUtils.handleErrors(ReflectionUtils.java:395) at org.jboss.reflect.plugins

Where to put a shared library in JBoss AS 5?

ε祈祈猫儿з 提交于 2019-11-27 09:04:50
I m new to Jboss, but I have multiple web applications each using spring-hibernate and other open source libraries and portlets, so basically now each war file includes those jar files. How do I move these jars to a common location so that I don't have to put these in each war file? I guess location is server/default/lib , but I'm not sure. Also, how is it different to have those jars at WEB-INF/lib vs. JBOSS/server/default/lib ? Will I face any classloader issue? Also I have static data stored in static fields like Singleton , will those be shared across all WAR files? Classloading: You're

How to use JPA2 on JBoss 5.x ? (or How to eliminate class loading isolation issue?)

佐手、 提交于 2019-11-27 03:28:34
问题 I would like JBoss to use only the dependencies located in my war file. Each time I deploy this war file, JBoss still uses its own jars. Here is the jboss-web.xml I use : <?xml version="1.0" encoding="UTF-8"?> <jboss-web> <class-loading java2ClassLoadingCompliance="false"> <loader-repository> my.package:loader=my-app.war <loader-repository-config> java2ParentDelegation=false </loader-repository-config> </loader-repository> </class-loading> </jboss-web> and the jboss-classloading.xml : <?xml

Error starting jboss server

核能气质少年 提交于 2019-11-26 15:04:00
问题 I've just finished re-installing my OS, and as always install and test standard tools which I use, and now I get this error like never before when I tried to start Jboss 5 from eclipse, its quite big exeption : 3:53:10,693 ERROR [AbstractKernelController] Error installing to Instantiated: name=AttachmentStore state=Described java.lang.IllegalArgumentException: Wrong arguments. new for target java.lang.reflect.Constructor expected=[java.net.URI] actual=[java.io.File] at org.jboss.reflect

Where to put a shared library in JBoss AS 5?

时光毁灭记忆、已成空白 提交于 2019-11-26 14:31:38
问题 I m new to Jboss, but I have multiple web applications each using spring-hibernate and other open source libraries and portlets, so basically now each war file includes those jar files. How do I move these jars to a common location so that I don't have to put these in each war file? I guess location is server/default/lib , but I'm not sure. Also, how is it different to have those jars at WEB-INF/lib vs. JBOSS/server/default/lib ? Will I face any classloader issue? Also I have static data