jboss

sequence generators are getting ignored

I'm getting the following error while saving a object. However similar configuration is working for other model objects in my projects. Any help would be greatly appreciated. @Entity @Table(name = "ENROLLMENT_GROUP_MEMBERSHIPS", schema = "LEAD_ROUTING") public class EnrollmentGroupMembership implements Serializable, Comparable,Auditabl...

How to use hot deployment and development mode with jboss and gwt

How to configure eclipse to hot deploy to jboss server side code? And how to configure google eclipse plugin to use development mode with jboss and the hot deployed code? What projects should I create? Could someone give me step by step configuration how to do it. I just want to use ejb/jpa/jms(optional) on the server side with hot dep...

Is there any IDE integration for JBoss AS 6?

We have switched to JBoss 6 to make it possible to use a wider range of Java EE technologies. We chose JBoss because of its small memory footprint compared to other application servers, so we have no other choice. Do you know any developer tools that can be integrated with JBoss AS 6? Thanks in advance Jonathan Frank ...

Have an external java application by notified of changes to Entity EJBs in JBoss AS

I'm trying to connect an external application to a JBoss AS container. The external application is a Java application that is currently being notified of changes to database entities through a JMS topic. I've added an EntityLifecycleListener class to all my entities that publishes a serialized (and unwrapped) copy of the entity to the JM...

RichFaces Toolbargroup centering a group

Hello there I am trying use a toolbar so that it has three parts part A is aligned left part B is aligned Center part C is aligned right both the right and left i can use the location attribute ... but since there is no center attribute i am not able to center part b. I can use a rich:spacer but this makes the toolbar rigid and w...

Packaging ejb3 swing client

Hi, I get the "java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFac tory" error while running my packaged ejb3 swing client jar. Here's the stack trace. G:\Courses\OSUMC\Installables\June 5\New>java -jar MetaDB-Client.jar javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interf aces.NamingContex...

"ejb not bound" -- What could be the problem?

Hi! When I'm running my program, I get the following error: ... nested exception is javax.naming.NameNotFoundException: ejb not bound The error occurs at the start up when Java wants to create a certain bean. The Bean is a SimpleRemoteStatelessSessionProxyFactoryBean. Could it be that I ain't got the rights to access the nami...

J2EE project, too much memory??

Hi! I am responsible to maintain one server running a J2EE web application. Jboss 4.0 is used as servlet container and the JVM is started with memory enough to run the application (I think): if [ "x$JAVA_OPTS" = "x" ]; then JAVA_OPTS="-server -Xms1500m -Xmx1500m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval...

running JBoss-3.2.1 in eclipse 3.5.2

When I try to run from eclipse 3.5.2 a "clean" version of JBoss 3.2.1 AS downloaded from it's homepage I get an error message: JBossTools: JBoss 3.2 Runtime - MOCK: invalid option -- b I am using default configuration. When I launch the same server from console everything runs just fine. Any ideas what might be the problem? ...

Turning off JBoss hot deploy service?

What is the correct way to turn off the JBoss hot deploy service? This is a production environment. Edit: JBoss version 5.1.0 GA ...

Enabling gzip compression for Jboss

How is gzip compression for Jboss 5.1.0 enabled? Within the tomcat http connector right? I cant remember where this file is stored, server.xml? ...

Call method in EJB on JBoss startup

Hello, I'm looking for an entry point in an EJB deployed on JBoss. Servlets have the load-on-startup tag to use in its web.xml. I'm searching for similar init() functionality for an EJB. ...

JNDI - how it works

If I understand correctly the default JNDI service runs on my local AS, right? So if I create an EJB and in jboss.xml (running JBoss) I name it "sth" than it is registered in my AS. Correct? In big projects EJBs might be distributed through many servers - on one server EJBs doing sth and on another sth else. When calling JNDI loopup() I...

Tomcat version within JBoss?

What version of Tomcat does JBoss 5.1.0 have embedded? Thanks ...

Jboss EAP 5 and Tomcat 6 on the same Win env. (Jboss gets Toncat`s home page when`s up)

Hi guys, I`m newbie to Java technologies, just trying to catch up some idea of it. I was trying to build a java environment to play with Eclipse, Mysql, Tomcat and Jboss and integrate these together. I did: 1. Installed jdk1.6.0_20 (including JAVA_HOME and path variables; I work on Win Vista), mysql 5 and eclipse-jee-galileo (the lates...

Why do I have a dependency to gwt?

In a seam-gen generated application the following exception is thrown during deployment: ERROR [LoadMgr3] Not resheduling failed loading task, loadTask=org.jboss.mx.loading.ClassLoadingTask@8c5c9c{classname: org.jboss.seam.remoting.gwt.GWT14Service, requestingThread: Thread[ScannerThread,5,jboss], requestingClassLoader: org.jboss.mx.loa...

Hot deploy not longer working on JBoss ("Scheme change not implemented")

Hi! I've got a pretty annoying problem with my JBoss AS 4.2.3 GA. Until recently everything was running fine, but now the hot deploy feature is now longer working. And -- as always -- I don't know what I did to cause this behaviour. My projects are built with Maven. I've cleaned every target directory, installed the projects and then ...

JAAS custom login module

I've got a custom login module in an ear on jboss. The ear's META-INF has a jboss-app.xml which points at a login-service.xml which contains an mbean that points to a login-config.xml which defines the custom login module. The jboss.xml in the ear's META-INF uses the same security-domain as that defined for the login module in login-con...

Class ConfigurableObject not found when using Spring in a JBoss 5 SAR

I'm packaging a couple JMX MBeans inside a JBoss SAR file. However, when I try to introduce Spring (3.0.2.RELEASE) into the project by marking the class as @Configurable and one of the dependencies as @Autowired, I get the following error during deployment: java.lang.ClassNotFoundException: org.springframework.beans.factory.aspectj.Con...

How can I create global context variables in JBOSS?

This is a follow-up to a question I posted a while back: "Can I use a single WAR in multiple environments?". I was able to create a single-war solution in Tomcat, but now we are migrating our app to JBoss 4.2 and I can't figure out how to set up global environment variables. In Tomcat 6 this was pretty straightforward: I simply put t...