jboss5.x

WAR does not work under JBoss, but exploded application - works

From time to time we have very strange problem - if we deploy war into JBoss then our application(JSF+Spring+Hibernate) does not work. But if use exploded deployment then everything works ok. We have such problems very rarely. At the same time on one box the same war does not work, but on another - works normally. Boxes are the same - th...

best way to access Web Service hosted in JBOSS 5.0.GA + Apache 2.2.2 from WCF .Net 3.5 ?

We are in a position to consume the Web Service hosted in JBOSS as explained above. We tried to generate proxy classes using VS 2008, but we are not successful in calling the Web Services using WCF. Please share your views? ...

How can I obtain port binding information at runtime? (JBoss 5.1)

Basically what I want to do is to obtain the port number on which JBoss is listening for HTTP requests (the one that is normally 8080). I came upon this article, which sounds promising, but unfortunately some of the links are broken and I cannot figure out the part: ManagementView managementView = getManagementView(); // via JNDI looku...

Does Struts2 Application Run on Jboss5.0.0GA??

Does Struts2 Application Run on Jboss5.0.0GA?? Getting the error in struts-default.xml file ...

Is it possible to disable traces printed to console in JBoss 5.1?

By default there are two appenders in JBoss5.1 - CONSOLE and FILE. Do we need to use both of these appenders in production? Is it possible to use FILE appender only? I removed CONSOLE appender from web\conf\jboss-log4j.xml but there are still a lot of traces in console. Why? I do not want traces in console in production. Is it possibl...

Category VS logger tags in jboss-log4j.xml

What should we use in jboss-log4j.xml in order to turn on/off traces for our product - "category" or "logger" tag? By default JBoss uses "category" in jboss-log4j.xml. But as far as I know "category" is deprecated and "logger" should be used instead. Why JBoss uses deprecated "category" tag in a new product? ...

JBoss 5.0.0.GA datasource security-domain and login-config.xml

Running into an issue where our datasources for two different DBMS (MS-SQLServer and Informix) are not picking up the security-domain configuration in the login-config.xml file. Our datasources look like this: <datasources> <local-tx-datasource> <jndi-name>ourTX</jndi-name> <connection-url>jdbc:informix-sqli:/...

Persistence provider caller does not implement the EJB3 spec

WARN [Ejb3Configuration] Persistence provider caller does not implement the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoad er() is null. How do you get rid of the above warning? 0:42:08,032 INFO [PersistenceUnitDeployment] Starting persistence unit pe rsistence.unit:unitName=k12-ear.ear/k12-ejb-1.0.0.jar#k12 10:42:08,3...

Error starting jboss server

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

which web services stacks are supported on JBoss AS 5?

Hi, I've been trying to find this info in JBoss docs/forums/WIKIs - but could not get a concise answer to this question: Which web services stacks are supported (or you can make work on) in JBoss 5? I have a huge legacy app using Axis 1 web services which is running fine on WLS9.2. Now I have to migrate it to JBoss 5 and I have to deci...

Web service request ignores basic WSDL XML element restrictions

Hi all, I have encountered some difficulties while trying to validate an incoming soap message to a service I have running on JBoss AS (v. 5.1.0). In my code, I have explicitly set some fields to be required, eg: public class MyClass { @XmlElement(required=true, nillable=false) private List<myOtherObjects> myList; } This req...

Is it possible to change folder where JBoss 5.1 writes its boot traces?

By default JBoss 5.1 writes boot traces to $JBOSS_HOME/server/default/log folder. Is it possible to change location for boot traces? Boot traces - traces in file boot.log. ...

maven-ear-plugin works if jboss version is 4.2, but not 5. Why ?

I am using maven to configure maven-ear-plugin. I am getting following exception when I say jboss version is 5 (See below code, under tag). It works if I replace version to 4.2 <build> <finalName>tactical</finalName> <plugins> <plugin> <artifactId>maven-ear-plugin</artifactId> <configuration>...

Can I make a WAR depend on a JNDI entry in JBoss 5.1?

Hi. As part of an upgrade from JBoss 4.0.4 to 5.1, I am trying to get a WAR to deploy after an EAR is successfully deployed. JBoss 5.x does not support PrefixDeploymentSorter like 4.x did, which means that I have to use <depends> in the WAR's jboss-web.xml. It seems I cannot depend on the EAR itself, so I pick the last deployed EJB in...

Different versions of JBoss on the same host

I have JBoss 4 installed on my PC to directory C:\JBoss4 And environment variable JBOSS_HOME set to this directory: JBOSS_HOME=C:\JBoss4 I need to install JBoss 5.1 on the same PC. I installed it into C:\JBoss51 In order to start JBoss 5.1 on the same host where JBoss 4 was already started, I need to redefine properties jboss.home...

JBoss 5.1 binds to host address while run in vserver with -b <guest address>

Hello, while starting JBoss 5.1.0.GA in virtual server machine on Debian (linux-VServer technology) I get the following error: ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.remoting:protocol=rmi,service=JMXConnectorServer state=Create mode=Manual requiredState=Install...

Hibernate 3.5-Final in JBoss 5.1.0.GA

Hibernate 3.5-Final is finally here and it offers the much anticipated JPA2 support, amongst other features. I am working on a project(EJB3 based) using JBoss 5.1.0.GA and Hibernate 3.3, but I wanted to take advantage of the JPA2 and tried to upgrade to Hibernate 3.5. What I did was fairly simple and standard - I just put all the hibern...

MDB listening a Topic in JBoss 5.1

Hi, I have a topic configured correctly like this, in jboss 5.1: <mbean code="org.jboss.jms.server.destination.TopicService" name="jboss.messaging.destination:service=Topic,name=GreetingsTopic" xmbean-dd="xmdesc/Topic-xmbean.xml"> <depends optional-attribute-name="ServerPeer">jboss.messaging:service=ServerPeer </depends> <d...

Issues Migrating Ejb 2.0 from jboss 4 to jboss 5.1

Deploying an EAR application in jboss 5.1 throws an error. Below is the error The content of element type "message-driven" must match "(description?,display-name?,small- icon?,large-icon?,ejb-name,ejb-class,transaction-type,message-selector?,acknowledge- mode?,message-driven-destination?,env-entry*,ejb-ref*,ejb-local-ref*,security-ide...

Version/source of Tomcat in my JBoss AS?

I am debugging a really tricky problem with servlet filters in a web application running on a JBoss 5.1.0 AS. I really need the source of the tomcat that runs inside my JBoss. I already downloaded the src-Package from JBoss but could not find the tomcat sources in it. Any suggestions? ...