I plan to deploy an EAR packaged application into JBoss v4.2 as a folder containing the content of the EAR. Until now the EAR is deployed as a single file. I hope to be able to replace single JARs without the need to restart the application.
Is there any kind of event listener or annotation that can be used to register those JAR files u...
I'm trying to write the part of my app so that it handles session timeouts gracefully, but I can't seem to control how the duration of time before a timeout occurs for testing.
I am using JBoss 5.1, and I am modifying the session-config my web descriptor (web.xml) such that the session times out after a minute (just for testing)
<sessi...
I want to have a Hudson setup that has two cluster nodes with JBoss. There is already a test machine with Hudson and it is running the nightly build and tests. At the moment the application is deployed on the Hudson box.
There are couple options in my mind. One could be to use SCPplugin for Hudson to copy the ear file over from master t...
Now I configured snmp-adaptor of jboss community to get/send snmp trap.
I modified the ReadCommunity attribute of jboss-service.xml. That is I set the password to get/send trap.
And I found the new ReadCommunity really works. I will get snmp trap only when I used the new ReadCommunity to query.
But when I capture the packet send between...
Hi there,
I'm trying to use the Spring JMX Exporter to define a MBean in my JBoss Portal Server (2.7.0) which is built on a JBoss AS 4.2.3.
The MBean is exported correctly but I want to trigger some of the PortalEvents now here comes my problem:
If I declare a service in my jboss-service.xml I have to define a dependency for this MBea...
I have a scenario where we deployed two EAR's on JBoss4.2.3. Each Ear has its own applicationContext defined. But I realized while debugging, one application bean definitions overriding the other.
Here is the server log:
09:23:23,962 INFO
[XmlWebApplicationContext] Refreshing
org.springframework.web.context.support.XmlWebAppli...
Hi All,
I have two machines with difference JVM versions (1.6 and 1.5)
I have a JBOSS Server running on the one of JDK1.5.
I've created a ejb jar file on the machine of JDK1.6
When I get to deploy the EJB Jar into the JBOSS(4.3), I get the following error:
16:05:41,878 WARN [ServiceController] Problem creating service jboss.j2ee:ser...
Hello!
I started a new job in a company that loves using the word, "enterprise." As such, everything they've written is in Java. I come from a very web-development heavy background, mainly working with LAMP stacks.
Now, up until three days ago I knew nothing about Java other than people used it and that it is a programming language. ...
I use Jboss-Maven-Plugin by 1.4 version. I look JBoss Maven Plugin Usage Example,And I pom.xml is
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jboss-maven-plugin</artifactId>
<version>1.4</version>
<configuration>
<jbossHome>E:\JavaWorkingTools\JBoss\jboss-5.1...
I am trying to create a web application with a display that updates based on messages on an Enterprise Service Bus (specifically, running on JBoss EAP 5). At present, we have a cache service sitting on the ESB, and the web application polls the service periodically to update its display. I would like instead for the cache service to be a...
I'm trying to deploy a war file in JBoss 4.2.2GA. A previous version was deployed without issue, but now I see:
Deployment of package: file:....war is waiting for an appropriate deployer.
followed by a list of a bajillion Packages waiting for a deployer along with their deployment status.
What do these messages mean? Before I start...
I have a question about outputing a list of objects as a comma separated list in JSF.
Let's say:
public class SomeObj {
private String name;
... constructors, getters and setters ...
}
and List<SomeObj>:
List<SomeObj> lst = new ArrayList<SomeObj>();
lst.add(new SomeObj("NameA"));
lst.add(new SomeObj("NameB"));
lst.add(new SomeOb...
javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: (no security manager: RMI class loader disabled)]
...
I have a two Stateless EJB3 beans with bean1 depending on bean2.
During deployment i get the error below
2010-07-13 12:30:43,480 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
DEPLOYMENTS MISSING DEPENDENCIES:
...
Hi,
I have a web application deployed on JBoss 5.1.0 with a couple of webservices.
When i use the JBossWS console to see the registered service endpoints, all my webservices follow the same URL pattern:
http://my_machine:8080/some_default_name/webservice_name?wsdl
The problem is that i need to change the some_default_name part of the...
I trying cargo-maven2-plugin, but I don't deploy in jboss5x I pom.xml is
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.0.2</version>
<configuration>
<container>
<containerId>jboss51x</containerId>
...
Somewhere way inside JBoss in a hibernate query I'm catching an error that leaves me with a ResultSet. This code is a plugged in custom data type.
It would be nice if I could simple do rs.getStatement().toString() and be done with it, but that unfortunately doesn't give away anything about the sql statement that went into it.
I was thi...
Dear all,
I'm having a hard time figuring out where the problem is coming from, so I'm posting this in the hopes that others might have found something similar to this elsewhere and are kind enough to share their insight.
I'm using a JBoss 5.0.1.GA application server running on top of a Sun Java 1.6.0-13 JDK. For the WAR file in the ge...
I'm pretty new to JBoss and Seam. My project has a REST service of the style
@Path("/media")
@Name("mediaService")
public class MediaService {
@GET()
@Path("/test")
public Response getTest() throws Exception {
String result = "this works";
ResponseBuilder builder = Response.ok(result);
return builder...
Hi everyone!
I'm trying to get a scheduler working in JBoss as 5.
So far, I've created my own MBean (it works) and I created my scheduler like this:
<mbean code="org.jboss.varia.scheduler.Scheduler"
name=":service=Scheduler,name=SchedulableMBeanExample">
<depends>user:service=Print</depends>
<attribute name="StartAtStart...