jboss

BlazeDS 3.2.0 and JBoss 5.1 DatabaseServerLoginModule

Has anyone that is using BlazeDS RemoteObject been able to retrieve the authenticated user roles through JBoss DatabaseLoginModule login policy? I'm using using BlazeDS 3.2.0 and JBoss 5.1. I can successfully authenticate but I, users with unauthorized roles are still able to login. I've changed the Realm in default/jbossweb.sar/server....

Why does Java code slow down in debugger?

Some CPU intensive routines get dramatically slower when run through a debugger. Why is this? Currently I'm just using IntelliJ to step through code running in JBoss. When I start JBoss, I use these options: set JAVA_OPTS=-Xms512m -Xmx1024m -XX:MaxPermSize=256m -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=n ...

AOP use cases? ........

Hi, I'd like to make a picture of what are the possible cases for effective invovement of AOP in application design. All I have met so far is: logging-related security checks transaction management tweaking of a legacy application Anything else? (It doesn't have to be necessarily Spring's proxy based AOP - rather JBoss AOP.) (Rela...

Error shutting down JBoss from Eclipse

I get an exception when I shutdown JBoss server from within Eclipse. I run JBoss IDE 1.5.105 and Eclipse 3.3.2 How do I solve this problem? Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/system/server/ServerImplMBean at org.jboss.Shutdown.main(Shutdown.java:118) Caused by: java.lang.ClassNotFoundEx...

Has anybody succeeded in using JBoss AOP in Tomcat?

HI, I'm failing to deploy my application using JBoss AOP within a Apache Tomcat 6.0.16 server. I'm using the VM arg -Djava.system.class.loader=org.jboss.aop.standalone.SystemClassLoader I also have added the jboss aop jars to the classpath. The server and the webapp is starting but I'm getting this error: INFO: Unknown loade...

CASify JBoss Applications

Is there any Tutorial or Example on how to integrate CAS into JBoss (for EJB and WebClient Authentication) without using JBoss Portal ? ...

How to get JBoss log directory

We need to display JBoss log files from within our web application. Is it possible to achieve this without using ServerConfigLocator ? The application must be able to run also with Websphere and we don't want dependencies on specific JARs. ...

how to I have two .war files within one .ear file?

I use jboss 4.0.2 and i want to have two .war files within one .ear file . ...

Spring Timers on JBoss don't stop when undeployed

I'm using the spring Quartz SchedulerFactoryBean to run a task (SimpleTriggerBean) every 10 seconds. It works great, except when I undeploy the app, the timer carries on running. The only way to stop it is to restart the server! Is there some JBoss or Spring configuration which will stop the timer when the app is undeployed? ...

HTTP Basic Authentication in JBoss 4?

How can I enable HTTP Basic Authentication in JBoss 4 for a specific web application? Having a fixed username/password will do. ...

jBPM Web Service

Hi, I ve got a question regarding jBPM. In one of our projects I developed an enterprise service (.Net) that other systems (jBPM, Delphi, etc.) should receive data from. For this I am providing a SOAP interface. Now there's a case that when the a jBPM system contacts the service, some manual work has to be done before the data the syst...

JBoss Compatibility with Windows Server 2008

Our product uses the JBoss 4.0.4 as an application server. Currently we are supporting Windows Server 2003 and planning to support Windows Server 2008. We want to know that is JBoss 4.0.4 fully compatible with Windows Server 2008 (64 bit)? Please respond if anybody installed and used JBoss with Windows 2008. Thanks ...

How to create custom configuration for JBoss 5.1.0?

I need to create my own JBoss configuration. It will be a little changed "web" configuration. Is there any documentation or tutorials - how to do it? What I need in new configuration: 1. Remove JSF implementation included in the JBoss Application Server How to do it - http://community.jboss.org/wiki/RemoveJSF 2. Add possibility to u...

Java start JBoss from ant using Cargo: Failed to create a JBoss 4.2.2 existing configuration

Hello, I am trying to start JBoss from ant, using Cargo. In build.xml I have the following targets set: <project name="" default="" basedir="."> <property name="jboss.logging" value="${jboss.home}/server/default/log/jboss.logging.log" /> <property name="jboss.log" value="${jboss.home}/server/default/log" /> <property name="myear" ...

Java Web Application Error - Can't understand why it's happening now

I am using eclipse and I can build the webapp and deploy it to Jboss4.2.1. It was working previously and I haven't changed anything really extensively to make this error come about. When I go to the webapp thru my browser, I previously have been signing in with a generic username and then I could use my webapp as usual. Now when I go t...

How can I see jboss console with maven

Hello everybody, I started jboss-5.1.0.GA server with maven2, is there a possibility that I can see what is happening in the console. I'm using eclipse plugin to run maven. Is it possible to see console in eclipse or elsewhere? Here is what I mean by console : Is it possible to see this output somewhere? I took this screen shot when...

How to connect to remote web application running on JBOSS server?

I am running an application on my system on JBOSS server which i can run in any browser by giving link http://localhost:8080/. But i want to run the same application on another machine, how to do that. I have tried with http://systemName:8080 and http://systemIP:8080 but didnt work. need help ...

getting javax.servlet.ServletException: when running my eclipse on jboss?

I am getting javax.servlet.ServletException: when running my web application on jboss. I am not getting want to do. need help. below is the log; javax.servlet.ServletException: Failed to load application class: com.example.tutorials.TutorialsApplication com.vaadin.terminal.gwt.server.ApplicationServlet.init(ApplicationServlet.java:7...

Getting java.lang.NoClassDefFoundError: Filter exception on Jboss

I have been using Tomcat 6 for all my application development and deployment purposed, but today decided to use JBoss as it seems to be more scalable. But after configuring JBoss on my eclipse and deploying my application I get the following error, Getting java.lang.NoClassDefFoundError: Filter exception on Jboss I added the server ...

How do I destroy and re-create the ServletContext in my J2EE app?

My question is basically the flip side of a previous question I asked. Is there a way to destroy (and then re-create) a (the?) ServletContext of a web application? Basically I'm trying to programmatically do whatever JBoss does to re-initialized the ServletContext - or just tell JBoss to do it for me. ...