In JBoss 4.2.3 the System property 'user.dir' is defined to be
<JBoss-root>/bin
when I ran the same application on JBoss 5.1 I noticed that it cannot find the System property user.dir
why there is no default definition for version 5.1?
and how can I define it manually? I followed this suggestion
and added my property into propertie...
I'm using jboss 4.2 AS and I want to dynamically undeploy an MDB, what is the way to do it ?
The MDB is defined using EJB 3.0 (@MessageDriven annotation) which means that the jboss deploys it automatically once it detects it in the classpath. I want to have control on whether the MDB is deployed or not. maybe utilizing JBoss specific MBe...
I don't have any service connector port setting for rmi in file /deploy/jboss-web.deployer/server.xml. I have an mbean for org.jboss.invocation.jrmp.server.JRMPInvoker in /conf/jboss-service.xml in which I have settings for ports, serveraddress, etc. How do I specify cipher-suites for rmi so that I am able to disable week ciphers (less t...
Limits:
JBoss AS 5.
Business logic based on stateless EJB3. Some methods very long calculate data process.
Client based on Swing.
I want to:
Various context of data storage (transactional, request, session context).
Caching the result of calling methods in EJB3 (in context). Emulate pure function of the functional programming (M...
This instance of JBoss deploys several war files. The rest of the JBoss startup takes about 5 minutes or less. But when it gets to one particular war file, startup just hangs with no further output to the jboss log. It waits there for about 15 minutes and then suddenly the war starts deploying. The rest of the JBoss startup is then f...
What technologies are used / recommended for HTTP Rpc Calls from Silverlight. My Server Side stack is JBoss (servlets / json_rpc [jabsorb]), and we have a ton of business logic (object creation, validation, persistence, server side events) in place that I still want to take advantage of.
This is our first attempt at bringing an applet ...
In a jboss service I need to mock some inner class (not EJB) with JMockit. Just for tests I've created inner class ToBeMocked and another one Mock. While deploying to jboss I get error NoClassDefFoundError in line:
Mockit.setUpMock(ToBeMocked.class, new Mock());
with message:
java.lang.NoClassDefFoundError: mockit/Mockit
jmockit.ja...
I have created the following entity bean, and specified two columns as being unique. Now my problem is that the table is created without the unique constraint, and no errors in the log.
Does anyone have an idea?
@Entity
@Table(name = "cm_blockList", uniqueConstraints = @UniqueConstraint(columnNames = {"terminal", "blockType"}))
public c...
Hello, I have a working example of sending message to server and server receiving it via qpid messaging. Here is simple hello world to send to server :
http://pastebin.com/M7mSECJn
And here is server which receives requests and sends response(the current client doesn't receive response) :
http://pastebin.com/2mEeuzrV
Here is my prope...
Is there any way to configure JNDI so the lookup first checks localhost and if it doesn't find matching name it performs automatic discovery of other jndi servers?
...
I created a servlet wich works fine when deployed in a separate war file, but I intend to use it as part of a seam application.
I use commons-fileupload but the iterator (see snippet) returns false (only when included in the seam-app).
Any ideas?
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws S...
I cannot see this behavior in JBoss 4.2.3. If I try to call addCookie() on HttpServletResponse and my cookie value has accented characters in it (ex. ç) I get this exception:
java.lang.IllegalArgumentException: Control character in cookie value, consider BASE64 encoding your value
Does anyone know what change in JBoss 5.1.0 could be ca...
I have entities that required versioning support and from time to time, i will need to retrieve old version of the entity . should i just use
options available
1. http://stackoverflow.com/questions/762405/database-data-versioning
2. jboss envers (can this be used on any web server,tomcat,jetty, appengine) ?
3. any similar library like...
I would like to know how to increase the session-timeout of an EJB-based Web Service.
Can the automatically created web.xml found in the JBOSS_HOME/server/default/tmp/deploy/WebService.war/WEB-INF be modified or customize the creation of this file?
Thank you
...
Dear community,
We are having a Wicket-based Java application deployed in a production
server cluster using Apache (2.2.3) with mod_jk (1.2.30) as load balancing
component w/ sticky session and Jboss 5 as application container for the
Java application.
We are inconsistently seeing an issue in our production environment where
our AJP qu...
I am using MyEclipse 7.5 with JBoss 4.2.3 GA.
When I define my local development JBoss server in MyEclipse it always wants to deploy jars, wars etc. to the "server/default/deploy" directory.
Unfortunately our JBoss directory structure for production is "server/XYZ/deploy/abc" (driven by a third party).
As a result our Dev JBoss instanc...
I am trying to integrate IBMMQ v6.0.2 with jbossESB.
we have local Queue available on IBMMQ on one of our QA QUEUEMANAGER.
I am able to listen to the QUEUE using JMSprovider of jboss ESB. As soon as a message (of type jms_text ) is dropped , esb listen to it and pick it up and before it hit the next action it throws following error mes...
Hi *,
I was wondering what would be the most practical approach to JSF 2.0 web development using IntelliJ 9, targetting JBoss 6.
My project has a Maven Structure, though I would like to shortcut the build/deployment cycle as much as possible.
How can I exploit the flexibility of an exploded WAR?
Can somebody point me into the right d...
Yesterday I created a simple image servlet and attempted to deploy it. I am getting an error on JBoss startup, and then further errors on trying to invoke the servlet.
I spent about 8 hours yesterday searching the web for answers and trying different scenarios. I ended up making my JBoss problems worse and then fixing them, but I never ...
Hi,
I am trying to debug web service call which uses JMS in the background.I have JBoss running in debug mode. What happens is that when I press F6 in Eclipse (to execute current line) it skips certain lines. I have this method:
@Override
public void log(MsgPayload payload) {
1 Date startTime = new Date();
logger.inf...