I'm deploying a StatelessSessionBean annotated with @WebService to JBoss. I'm taking the WSDL generated by JBoss to generate client stubs. My problem is in calling a method which returns a list of objects. If the list is empty the call succeeds however if the list is not empty then I get the following exception:
com.sun.xml.ws.encoding....
Hello All,
I am working for a migration project in which jms code is written using stadard code javax.jms and running on jboss-3.x.
Now we are migrating to jboss-4.3, which support Jboss Messaging(JBM), I want to what kind of changes i have to do in JMS code.
Please help me in this Regard.
Thanks and Regards,
Rahul Aahir.
...
I am trying to invoke a web service from within a Java application deployed to JBoss 4.2.3. When I exercise the code that is invoking the web service from within Eclipse, I get no problems. When I exercise the code in a standalone application outside of JBoss, I get no problems. When I deploy that code though I get the exception below...
How do you enable remote debugging in JBoss 5? The usual line from JBoss 4:
set JAVA_OPTS= -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n %JAVA_OPTS%
As can be found in other answers like this do not seem to work. The server never suspends. Googling "jboss 5 remote debug" doesn't bring up anything in t...
Hye Everybody
I faced a problem when deploying solr on jboss. I wanted to log the messages for solr on jboss into a separate file like solr.log instead of appearing in console or server.log. So I tried by making changes in jboss-log4j.xml and added following configuration into it.
<appender name="SOLR" class="org.jboss.logging.append...
Hi. I'm running a Stripes web app on Jboss 4.2.3.GA and am trying to call a method when I start JBoss. I created a ServletContextListener like so:
public class TimerContextListener implements ServletContextListener {
@Inject
private TimerManager timerManager;
public void contextInitialized(ServletContextEvent servletcont...
I'm having trouble with adding Richfaces to my Maven project, which is deploying to JBoss AS 6. Here is my pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<mode...
I have an application in JBoss. For some reason I had to enable classloader isolation.
To do so, I had to dublicate remoting.jar inside application ear.
Now, I am trying to implement EJB3 Session Bean and after InitialContext.lookup for my session I cannot do anything with it because of:
at org.jboss.ejb3.BlockContainerShutdownInte...
I got this exception while calling a named HQL query in an EJB. I'm quite puzzled though because the app. functions fine with named queries and all. Only when it throws some exception, it can't find the JDBCExceptionHelper.
javax.ejb.EJBTransactionRolledbackException: Unexpected Error
java.lang.NoClassDefFoundError: org/hibernate/exce...
Hi,
I am writing a simple web application to call a stored procedure and retrieve some data.
Its a very simple application, which interacts with client's database. We pass employee id and company id and the stored procedure will return employee details.
Web application cannot update/delete data and is using SQL Server.
I am deploying ...
Now we have a project with java 1.4 and ejb 2.1 running on jboss 3.2.1. We are trying to update up to java 6 and ejb3.1, but we are doing it in steps. So my question is simple, can we use ejb2.1 on jboss6?
...
In hornetmq-jms.xml i see
<queue name="ExpiryQueue">
<entry name="/queue/ExpiryQueue">
</queue>
but how to configure a topic?
in jboss 3.2.1 we did it throght jbossmq-destinations-service.xml
...
I'm developping simple app where one EJB should be injected into another. I'm developping in IDEA Jetbrains IDE. But after i make @EJB annotation in Ejb local statless class my IDE highlight it with error:
EJB '' with component interface 'ApplicationController' not found.
Can anyone tell Why?
...
I have project X ( a deployable war file ) which is depended on project Y ( as a jar dependency ) . Anytime i change anything in project Y I have to build a jar and add it to Web-inf/lib folder ( ofcourse i have ant scripts to automatically do it ) .
I am wondering how to avoid this additional step . I would ideally want eclipse to co...
We are planning to migrate to a new WebServer (bye bye Websphere), the main considerations are
transaction management
persistence
message/event handling
maintainability
distributed architecture
MBD/EJB support
We are very happy with TC Server but the only problem is that it does not support EJB's and MDB's and we use them pretty he...
Can anyone please tell me why ServletContextListener.contextInitialized() gets called once for each virtual host that's configured in jboss-web.xml? Is there is any way of having multiple virtual hosts while forcing contextInitialized() to only be called once?
...
What is the recommended approach for an application deployed as an EAR in JBoss 5.1 to access JMS destinations on WebLogic 9.2?
The current implementation, which worked just fine on 4.2.3, does not even start without errors on JBoss 5.1. The application deployed to 4.2.3 used a Spring JmsTemplate to connect to WebLogic. WebLogic's clien...
I'm using JBoss 5.1.0.GA, I notticed the tmp folder at: server/default/tmp is mora than 1GB big.
Can I safely delete all the files in it?
...
We have a project that we shoud update from ejb2.1 to 3.1 and jboss from 3.2.1 to latest Jboss6 milestone.
Our Project Structure: we have an ear that contains application.xml, that points to ejb-jar(2.1) classes, but actual clasess are stored in WEB-INF/classes. Now when we load ejb via jndi we get it, but when we are trying to cast in ...
I have an application running on a JBoss server. We need update the application time to time.
However, the JBoss is not allowed stop(restart) during update for business reason. How do I handle this tricky situation? Thanks!
2 cases:
If the application is deployed in
multi servers in cluster mode.
If the application is deployed in a
si...