jboss

LDAP JBoss and Drupal authentication

Setup JBoss using LdapExtLoginModule to auth to Microsoft ADAM (Lightweight Directory Server) Drupal using ldap_integration module to auth to the same Microsoft ADAM above Url within JBoss realm that requires user to auth (again) using HTTP Basic Auth Use Case User logs in to Drupal , auth'ed by ADAM. At this point Drupal only kno...

Using the Seam framework without Stateful Session Beans?

Has anyone had success building a SEAM Application without using Stateful session beans? There is some confusion on a new project in which I think several stakeholders have essentially 'banned' stateful session beans... but some development is being done in SEAM. Most of the literature on SEAM encourages the use of Stateful Session B...

Performance benefits of Apache Tomcat native connectors

I have compiled and deployed the native connectors for Tomcat and have run my load testing benchmarks. There is no measurable difference. So my question is, under which circumstances are native connectors demonstratably faster? and can they be tuned to gain more performance from them. I do not mean "how do I benchmark to show an incre...

Active Directory Digest Authentication

Is there a way to do Digest Auth against ActiveDirectory ( or more specifically ActiveDirectory Lightweight Directory Service aka ADAM ) when the servers are not in a domain? I am trying to configure JBoss to auth users against ActiveDirectory Lightweight Directory Service (which is not in a domain). ...

Deploy VisiFire On JBoss Portal

Hi, I am trying to improve my JBoss Portal dashboard using some analytical charting tools then I found VisiFire. So I started to investigate how I could deploy a simple VisiFire page as a portlet onto JBoss Portal dashboard. Below is what I did: - I created a dummy portlet (display "Hello World" on the index page, index.html) - Replaced...

SNMP monitoring of MBeans (attributes.xml in snmp-adaptor.sar) (JBoss)

I want to monitor (via SNMP) some attributes of several JBoss MBeans that are running on my system: I have configured my attributes.xml unders snmp-adaptor.sar to include: <mbean name="jboss.ha:service=HASingletonDeployer"> <attribute name="MasterNode" oid=".1.2.3.4.1.22"/> <attribute name="PartitionName" oid=".1.2.3...

Looking the best way to start jboss

I'm trying find out, how to start jboss with cron job at a particular time. What I'm doing at the moment is setup a cron, then inside jboss startinstance script I put sleep 700 seconds untill jboss starts. Is there a better way to actually know when jboss has successfully started and then continue with the flow after, instead of sleep...

Any good resource on JBoss5.1 class loading

I'm debugging a thorny CL-related problem and need a better understanding of how classloading works in JBoss 5.1. Yes, I read http://community.jboss.org/wiki/JBossClassLoaderIntroduction and http://community.jboss.org/wiki/JBossClassLoaderOverviewandGoals; they are useful to start with, but are not very precise in their description. The...

How to create and read a file from spring web application running on JBoss?

I have a spring web application running on JBoss which is creating a csv file containing a report. The application must provide a link to the report when it finish its generation, and the user should be able to download it. I am thinking to write the file directly inside the war, so then we could read it from the web application. But I ...

Deploying Web Service in JBoss using JAX-WS RI

I am trying to deploy a Web Service in JBoss 5 AS, without using the JBossWS which is the Red Hat's implementation of jsr-224. Thus, I am deploying my services in a .war file that already contains the JAX-WS Reference Implementation. When I try to deploy the service without shipping the JAX-WS RI in my .war, it just deploys without issu...

java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind (JBOSS)

Hi, I'm using JBoss 4.0.5 GA on Windows 7 with Java version 1.5 (I have to use older java version and a JBoss because I'm working with a legacy system). And when I'm starting the server I get the following error: java.net.SocketException: Unrecognized Windows Sockets error: 0: JVM_Bind And I believe this causes many other exception...

Seam framework, maven-ear-plugin and Jboss as 5.1.0

Can someone provide me a working example of pom.xml which is used to build and deploy ear archive on jboss 5.1.0. In my application I have two modules - web (.war archive) and java (.jar). I'm trying to accoplish the above task using the following pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3...

JBOSS get Crashed

What are the possiblities for JBOSS to get crashed ?My complain that it takes a long time before a screen within the My applications opens and often it doesn’t open whereby the screen freezes and they have to kill their session by using Task Manager. ...

javax.net.ssl.SSLException: Received fatal alert: close_notify

I'm receiving a javax.net.ssl.SSLException: Received fatal alert: close_notify error on a test server, from my Axis 1.4 generated proxies, running under JBoss AS 4.2.3, JDK 1.6.0_20. The same setup works on my dev machine, albeit with JDK 1.6.0_21. The failure occurs the SECOND time a call is made to the web service. Here comes the sc...

How do I specify LDAP connection pooling for JBOSS when launching via ant?

Hi all, we use LDAP for authentication in JBoss and I've been trying to play around with the LDAP connection pooling, but so far have had no success in getting it to work. I'm launching JBoss via an ant target and (based on a number of articles I've read) this contains a series of <jvmarg> entires like so: <java classname="org.jboss.M...

Multi-module deploy with Maven, JBoss and Eclipse

Is there a way to do incremental deployments with these three tools when in a multi-module project? Example of Maven project: project project-data project-service project-webapp The above are Maven modules with dependencies between them. The project-webapp module contains the .war file, but I don't want to create a new .war file eve...

Securing JNDI for remote clients on JBoss

Does anybody know how to secure the JNDI access for remote clients on JBoss? I know how to secure remote JMX invokers but even with that in effect it is still possile to lookup, bind and unbind things in JNDI even if the client is not authenticated. I would like that that the server refuses to give you access to the InitialContext if yo...

Getting a list of connections opened with JBoss

I want to know if there exists an annotation or object that gets the open connections in JBoss so they can be closed, and so avoid leaks in the situation where I kill a thread that still has connections opened. I'm using JBoss 4.2.3. Thanks for your help. ...

TomCat jBoss Application

I have a .war(web app) deployed on Tomcat server. I have another application on jBoss server. The application on the Tomcat is the start point and a jsp on the jBoss server gets called from the Tomcat app. Then I am planning to set a session on the jBoss server app and when I am done my processing on the jBoss I will send back the contr...

How to modify JBoss classload to use different versions of third party library jars (parent last)

I'm trying to figure out how to set up JBoss 5.1.0 so that the classloader is parent last, which I have done before with WebSphere. Basically we have several war files that need to use Spring 3. We have put the spring jars in the JBoss lib, so that we don't have to have spring jars inside each and every war file. However, one of the web ...