I am looking to access all files in a local directory in a JBoss application. I can put the directory anywhere in my war including WEB-INF if necessary. I then want to access each file in the directory sequentially. In a normal application if the directory was in the run location I could do something like:
File f = new File("myDir");
if...
I implemented a web service with JAX-WS, and my service client is implemented with JAX-WS too, and the client can talk to service with WS-Security username token profile authentication.
Now I want to deploy this service to JBoss 4.2.3 and want to replace the custom authentication with JEE container authentication.
I read some documents ...
I am trying to authenticate into JBoss,
and I got HTTP Status 408 - The time allowed for the login process has been exceeded.(full error message below)
this happens when I try to login using http://dnsname:8080/authenticate
if I replace this with just plain localhost ie http://localhost:8080/authenticate
then everything works fine.
W...
I'm trying bring up a hello world MDB in JBOSS 5.1 to see how i can get our messaging application into JBOSS 5.1 Messaging. The simple hellow world MDB gives me a wired issue. The MDB deployed fine and no problem in starting the JBOSS 5.1 AS. However when i tried to send a message from a client which is also running JBOSS 51 is throwing ...
I am doing some remote debugging with Eclipse attaching the a running JBoss server with EAR deployed.
Most of the time, when I am connected to the remote JVM, I can hot-deploy my change, i.e.
I can change the code in Eclipse and then it deploys.
On some occasions, the JVM just crashes with the error below (if I save my code changes and...
I'm totally a newbie in Java Enterprise and I have a lot stuff yet to learn. Right now I'm working which involves JMS using JBoss and ActiveMQ. An application sends messages to queues in JBoss and my goal is to access those messages using any message broker (in this case I tried to use ActiveMQ). So I think it's better for me to embed Ac...
I have this dependency declared:
<dependency org="org.jboss.jbossas" name="jboss-as-parent" rev="6.0.0.20100216-M2"/>
And it just fetches the pom.
Other dependencies are resolved just fine.
I'm using ivy 2.2.0 rc1 and ant 1.6.
...
I have a a number of jar files that perform rmi. These are all working except one, the problematic one attempts to look up a remote slsb in a different project.
So the code is the same here:
machineNameOrAddress = args[0];
jndiPortNumber = args[1];
action = args[2];
Properties properties = new Properties();
properties.setPrope...
I've been struggling for this for a while now.
I'm trying to gear up for EJB 3.0. I'm using JBoss 5.1.0 GA as my application server. I started with very simple stateless session bean with local interface and a simple jsp-servlet client which invokes session bean method. All this while I've been trying to use @EJB annotation to inject s...
Hello All,
I'm having problems when I'm trying to deploy on JBoss 6.0 a roo spring application.
The exception I'm getting is:
"Deployment "here goes my war file/" is in error due to the following reason(s): java.lang.VerifyError: (class: org/hibernate/bytecode/cglib/CglibClassTransformer, method: doTransform signature: (Ljava/lang/Class...
I'm using JBoss AS 4.2.3.GA and I want to make it to hot reload changed classes.
Now, I have a running JBoss AS with deployed exploded war, after changing (recompiling) some classes, it starts to redeploy all war:
14:14:03,732 INFO [StandardContext] Reloading this Context has started
and redeployment takes a very long time. I wa...
Hi,
I've installed jBPM 4.4 and it looks neat. I've edited a little example process using Signavio, and I'd like to deploy it on the demo server (ant demo.setup.jboss) so that I can see how it works. But I can't figure out how to do that.
I feel like I'm missing something obvious...
Is the .jpdl.xml file all you need for a very basi...
I have this third party framework which comes with a huge set of dependent libraries, which by the way, have not yet been indexed in any Maven repository. I want to use this framework with some Web Apps, but for obvious reasons I don't want to put all those libraries under WEB-INF/lib, neither do I want just to place them all under serve...
Hi all,
I am developing a web app. using struts2 and jboss url rewrite valve as you see from the title. What i want to know is which are the neccessary jboss configuration files to configure rewrite valve settings?
Besides, I couldn't find any information in order to fix my non-english character problem while url rewriting. Some flags l...
Hello.
I'm struggling with JBOss and I'm stuck on a problem which seems trival to fix but it turns out I can't.
When I try to deploy a simple java web app I encounter an exception:
org.hibernate.ejb.HibernatePersistence cannot be cast to avax.persistence.spi.PersistenceProvider
I know that this is a problem with having more then one ...
I wouldn't expect so. Is there anything to point out?
...
Hi,
We have a JBoss server with a single J2EE on it. I wish to find out who are the current active users using that application. Does JBoss give me any utilities that lets me view those existing sessions? (NOT the count, but who all are logged in) The question is kinda lame, but so is my JBoss knowledge :)
I checked the JBoss community,...
Hi, we've bean struggling here at work by somebody suggestion that we should decrease the size of our war file, specifically the WEB-INF/lib directory size, in order to improve our production JBoss instance performance. Something I'm still suspicious about.
We have around 15 web apps deploy in our application server, each about 15 to 2...
When I start JVisualVM on Windows 7 or Windows 2008 there is no way to find JBoss instances running on the same machine
...
I have EAR. This EAR is all-in-one application for JBoss 5.1. I need to change activated functionality of my application depending on configuration in database - run functionality on startup or not.
I am going to put parts of functionality into several SAR files, put them into EAR. How to deploy them manually so that EJB3 Beans inside w...