jboss

Can JBoss 5 application access jars outside the EAR structure

When the jars are packaged within EAR/lib, all works fine, but I cannot use this approach and need to refer to them from the filesystem (maybe using absolute/relative paths) Also adding the jars to the system classpath (using conf/jboss-service.xml) is not an option. I have already defined a scoped classloading using loader-repository ...

help me in Stateful beans

Question 1: As per the book I follow to learn EJB author told that every lookup creates a new stateful session bean. So, what I did is defined a method init() with @PostConstruct annotation with a sysout statement. So, that need to be executed for every Stateful bean instantiated. But the same is not happening. Consider the following cod...

Jboss runtime error "Worker Thread Initialization Failure"

I got "Worker Thread Initialization Failure +jboss-4.2.2.GA" error in My production server.What is solution to solve this? ...

Reinitialize log4j on web app deployment using Log4jConfigListener

Hello, I have setup Log4jConfigListener in my web.xml and it works fine, however, if I redeploy the web app without restarting the server then log4j shuts down and does not reinitialize. If I remove the Log4jConfigListener from my web.xml then everything works fine. I am using JBoss 4.2.3-GA as the app server. I notice that when I am...

Porting J2EE application from weblogic to Jboss, JTS? (weblogic.jdbc.jts.Driver)

My weblogic(8.1) application uses weblogic.jdbc.jts.Driver to connect to Oracle. I'd like to port this app to JBOSS(4.0) and quick googling did not yield the correct driver to replace this JDBC JTS driver with in order to connect from Jboss, ideas? ...

Jboss Seam Booking Example Extract Shared Libs From Ear

Example Booking Application, which JBoss Seam is shipped with, build into EAR file of about 7 MB. That's pretty much if you consider deploying this package to a remote Jboss server and possibly redeploying it package many times during your regular work. Lib files like richfaces and jsf-facelet make the lion's share of that EAR size. Why...

jboss 4.2.2 to 5.0.1 migration:needed jboss client jar files

im switching jboss 4.2.2 to 5.0.1 and i have installed jboss. now on client side i replaced existing jar files. jbossall-client.jar,jboss-client.jar,commons-logging.jar,jboss-serialization.jar,jnp-client.jar. but still error came on logging. java.lang.NoClassDefFoundError: org/jboss/logging/Logger at org.jnp.interfaces.NamingCont...

Flex file upload with HTTPS and JAAS ?

We're trying to upload a file from a flex client to a JEE app. In a full HTTPS environment JEE server is JBoss 5 Using BlazeDS 'Custom' authentication (username and password are entered trhough a flex form) Using BlazeDS per session authentication In regular AMF calls, we can access user principal and use role mecanism. However, in ...

How to indicate failed authentication reason to flex client with JAAS ?

We're using : JBoss 5 Flex SDK 3.5 BlazeDS 3, with integrated authentication (through JAAS and JBossSX) Failed login are always indicated to the flex client by the same fault code : Client.Authentication However, the underlying JAAS LoginModule throws a specific javax.security.auth.login.LoginException subclass. How can we propagat...

JBoss Seam using LDAP Indetity Store and JPA Identity Store together

Hello all, I've been recently working on a JBoss Seam project (v2.1.1) where I want to autheticate against LDAP/AD and store premissions in a custom DB schema. The documentation states that this is possible and I saw a text-book example that doesn't work for me since the DB schema is managed by Hibernate. Has anyone out there done some...

Seam unit test can't connect to JBoss4.0.5GA

Does anybody know how to connect with JBoss4.0.5GA in Seam2.2.0GA unit test? I'm using Seam2.2.0GA with the embeded JBoss to run the unit test, the module needs to call old JBoss server (EJB2, because the vendor locked in JCA has to deploy on old JBoss). it's typical seam test case, and I can't get it connect to JBoss4.0.5GA by using jbo...

verisign certificate into jboss server SSL

Hi all, i'm trying to enable jboss to uses ssl protocol using a previously generated certificate from verisign, i imported both certificate, server certificate and ca certificate into the keytore file, and i configured the server.xml to use that keystore and activate ssl protocol, then when i run the jboss, I got this error "certificate ...

How can I make a batch file calling JBOSS to run like a service?

Just curious if theres a way to do this... Basically I'll be calling Jboss from a batch file, and I want to have it run in a seperate thread or service Any idea how to do this? ...

Can you reload JBoss ESB services via an MBean or something similar?

The services defined in my jboss-esb.xml refer to properties from the SystemProperties service. When I change a property in the properties file (ie, /conf/my-props.properties) I can reload them using the SystemProperties MBean. I am unsure, however, how to get the services to reload using the new properties without redeploying the esb ...

make full use of 24G memory for jboss

we have a solaris sparc 64 bit running the jboss. it has 24G mem. but because of JVM limitation, i can only set to JAVA_OPTS="-server -Xms256m -Xmx3600m -XX:MaxPermSize=3600m". i don't know the exactly cap. but if i set to 4000m, java won't like it. is there any way to use this 24G mem fully or more efficiently? if i use cluster on on...

Does an EJB-QL UPDATE statement defeat CMP...

Does running an EJBQL UPDATE statement defeat the performance benefits of container managed persistance when compared to modifing the accessors on a managed entity? I'm interested in this specifically for a database load / performance perspective. For example, if I have an entity called MyEntity and I want to update myField1 and myFiel...

JBoss RMI Transaction

Hi, How can i can achieve remote transaction while using Remote EJB (over RMI/IIOP or RMI/JRMP). Is that JBoss 4.0 support this kind of transaction or should i use jotm or atomikos? Thanks in advance ...

SOA Resource Discovery vs. Service Discovery

I've recently been tasked with performing a comparison of SOA suites. I've been looking into the SOA offerings of jBoss, Oracle, WSO2, etc.., and comparing everything SOA from ESB, application servers, middleware, BPM, goverance and discovery. I thought I had a pretty clear understanding of Service Discovery and UDDI, but in the JBoss do...

JBOSS Exception formatter for MySQL

We have a solution that uses JBoss and Oracle, in the datasource configuration file it makes reference to a OracleXAExceptionFormatter class. We are migrating from Oracle to MySQL, my question is does JBoss have an equivalent exception formatter class for MySQL or at least a generic equivalent? <datasources> <xa-datasource> <jndi-...

clear jBoss DLQ

hi, Does anyone know how to clear DeadLetterQueue from jBoss? When i start jBoss, it is waiting 4 minutes at: 12:09:06,281 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' and other 4 min at: [DLQ] () Bound to JNDI name: queue/DLQ a...