jboss

Deploying multiple versions of same EJBs and classes to same JBoss server

I have a few separate application projects (EARs) with multiple EJBs that I want to deploy to the same JBoss server. Now, some of the projects may have the same EJBs, but different versions. In similar circumstances, some projects may use different versions of the same "ordinary" classes (i.e. classes loaded within VM, without JNDI looku...

jboss connection pooling

I have a question related to Prepared Steatement pooling (across all connections). Here's the config file <datasources> <local-tx-datasource> <jndi-name>JNDI-NAME</jndi-name> <connection-url>jdbc:mysql://<server_name>/<database_name>?useServerPrepStmts=true</connection-url> <driver-class>com.mysql.jdbc.Driver</driver-class...

SSI Jboss not including html (context issues)

Hi I hope that someone out there could give a clue on where to here. Here's the problem. I have enabled SSI in some jboss under Solaris, I have the application web.xml configured as follows: <filter> <filter-name>ssi</filter-name> <filter-class> org.apache.catalina.ssi.SSIFilter </filter-class> <init-param> <param-name>conte...

JBoss / Eclipse RCP Integration

I've run into a problem with RCP and JBoss. I'm attempting to seperate the JBoss client libraries (i.e. the .jar files in the 'client' directory of the jboss distribution) from the ejbmodule. The dependency hierarchy goes: company.client (ejbmodule containing ServiceRemote bean) org.jboss.client (jboss client libraries) The probl...

JBoss Scoped Class Loading

I want to use the latest hibernate version inside the ear without upgrading the jars on the server. I am following the instructions given here - http://jaitechwriteups.blogspot.com/2008/08/how-to-upgrade-hibernate-in-jboss.html. However the problem now is the application is not taking the jboss-local-jdbc.rar sitting in the deploy folde...

JBoss: How to generate a Web Service FROM a WSDL?

I need to prototype a very simple system which sends a request to a remote web service, which will then callback on my own web service once it's finished processing. Unfortunately, I have to implement their WSDL for the callback. Is there a nice simple way of generating a JBoss application which will correctly implement the WSDL, and ru...

Does anyone know if there is a way to use JBoss (4.2.3) as an SMTP server?

I'm after a way of not having to poll an inbox to receive messages, but to receive them directly in JBoss instead. Does anyone know how I can achieve this? ...

how do i wait for service when another service depends on it

Hello everybody, i'm about to deploy two different but dependent war-files into a single jboss (AS 4.2.x GA) One implements some webservices (jax-ws) exposing their interfaces through a wsdl. The other one is a (say) web frontend using the aformentioned webservices. When I drop both warfiles to $JBOSS_HOME/server/default/deploy at the ...

Java development standards and tools (compared to C#)

I don't have any knowledge of Java platform and I wonder which tools (and methodologies) could be used to help developing maintainable code written in Java. I know one can use: Agile methodology in any environment jUnit/jMock for unit testing code (similar to NUnit/Moq in .net world) Checkstyle for coding standards - is this similar t...

classloading in JBOSS

Hi If we have a A.jar that contains B.class and this file is located in JBOSS/server/default/lib and WEB-INF/lib of an EAR file. We have java2ParentDelegation is turned off. if we want to load the B.class which one will be loaded? what if java2ParentDelegation is turned on? ...

using MDB to poll for incoming messages in JBoss

I am using the following example to poll for messages, http://www.jboss.org/community/wiki/InboundJavaMail the setup seems to be ok as when I change the username / password to be invalid, or specify the wrong mailbox I get an error message in the JBoss (4.2.3) log telling me it is wrong at every poll interval. When the settings are c...

JBoss Custom Login Module Only Works Once

I have written a custom login module for JBoss that authenticates/authorizes requests to a web service. The first call to the service authenticates fine. I can connect a debugger to the login module and trace the code execution. However, all subsequent calls to the web service skip the login module entirely. It appears JBoss/jaas is reu...

Retrying container managed transactions from an EJB on JBoss AS

Hi, I am attempting to retry a container managed transaction from an EJB, in JBoss. I have tried creating a retry handler and I am currently getting the below error. 11:35:02,765 INFO [EARDeployer] Init J2EE application: file:/E:/Jboss/jboss-4.2.2.GA/server/default/deploy/RetryTest.ear 11:35:02,984 WARN [ServiceController] Problem cr...

Arabic characters not accepted in Oracle DB

his this is database admin I have a Jboss server with oracle database When I enter the Arabic fonts throung the application the database is not accepting throungh the application ; the arabic charters are also defined ; the operating system is Linux with oracle 10g and Jboss server with j2ee application ...

how to redeploy an application on Jboss within Eclipse ?

Hi there, i'm developing a spring-based application with facelets and Java Server Faces which works on Jboss Application Server. As a development Framework, i'm using Eclipse Ganymede Platform Version: 3.4.2 , which integrates the Web Standard Tools and therefore offers support for different servers, like Jboss 5.0. I'm deploying my a...

JBoss/EJB - location of custom configuration file

I'm implementing an EJB-based system in JBoss. One of my message driven beans will be responsible for sending emails. I want the email template to be stored externally (probably as XML) so that it can easily be changed without having to change the code/redeploy the bean, etc. Where should this file be placed and how do I reference it?...

Remote JMX invocation failed with ClassNotFoundException: ... (no security manager: RMI class loader disabled

I try to invoke the method of MBean from web application from Tomcat. Target MBean is running under JBoss 4.2.3. Both Tomcat and JBoss applications use the same version of jar with the same class, but on invoking I see the following exception: Caused by: java.lang.ClassNotFoundException: ...thisClass... (no security manager: RMI class l...

JBoss 4.3 eap can't find war in an ear

I'm trying to deploy an ear to JBoss. The application.xml has entries looking like: <module id="Core_JavaModule"> <java>APP-INF/lib/core.jar</java> </module> <module id="Public_WebModule"> <web> <web-uri>public.war</web-uri> <context-root>/</context-root> </web> </module> The core.jar is read in OK, but when it tries to read...

How to disable redirection to login page in JBoss, when the session expires?

I'm using JBoss AS 5 and JSF+Seam for my web application. I'm using FORM authentication and have defined the login page in "login-config" tag in web.xml file. I also have a filter which will check for the session expired condition and redirect the user to a session_timed_out page. Now the issue I'm facing is that when the session expir...

EJB does not deploy properly in Eclipse Galileo and JBoss

Hello, I am using eclipse 3.5 with JBoss inside. There is one project that we are currently working on. The problem is that when I deploy the project it reports an exception: org.jboss.deployers.spi.DeploymentException: Exception determining structure: AbstractVFSDeployment(EAR.ear) with a nested exception: java.lang.RuntimeExcept...