[jboss-user] [EJB 3.0] - JMX conflict when embedding

2007-04-09 Thread marcelruff
Hallo, i have embedded jboss EJB3 into my app, and when starting java MyApp it works as expected. As i need JMX i need to start it like: java -Dcom.sun.management.jmxremote MyApp Now the startup fails with: 16:05:51,915 DEBUG JaccHelper:143 - HandlerBean has no @SecurityDomain - ski

[jboss-user] [EJB 3.0] - JMX conflict when embedding

2007-03-20 Thread marcelruff
Hello, i have a problem to embed jboss/EJB3 into my application. As my application uses a lot of JMX it does on startup: java.lang.management.ManagementFactory.getPlatformMBeanServer(); This leads a bit later on startup of embedded jboss org.jboss.ejb3.embedded.EJB3StandaloneBoot

[jboss-user] [EJB 3.0] - Re: Embed EJB3 into my own application (try and errors)

2007-03-09 Thread marcelruff
Ok, the solution is simple if known. Using the jboss packages is the wrong approach, using hibernate jpa/ejb3 demo from http://www.hibernate.org/ works out-of-the-box. Download the Hibernate Annotations and EntityManager "Hello World" package from http://hibernate.org/152.html This works 'standa

[jboss-user] [EJB 3.0] - Embed EJB3 into my own application (try and errors)

2007-03-03 Thread marcelruff
Hi, i'm clicking/trying since several days to create some few EJB3 beans. I would like to have them as plain JDK 1.5 Java beans with some annotations to persist them with hibernate to postgres without any dependency on microkernels and such. I would expect to use some few *.jar files for the an

[jboss-user] [JBoss jBPM] - Hiding ClassNotFoundException for missing assign beans

2006-11-08 Thread marcelruff
Hi, i'm using jbpm 3.1.3. Is it possible to throw the ClassNotFoundException in Delegation.java:142 up to the user code? try { clazz = classLoader.loadClass(className); } catch (ClassNotFoundException e) { log.error("couldn't load delegation class '"+className+"'", e); } ins

[jboss-user] [JBoss jBPM] - How to query process instances by process variables

2006-10-24 Thread marcelruff
Olá, how can i query all process instances which contain a specific process variable like "givenName"="marcel"? (an entry in JBPM_VARIABLEINSTANCE). Is there a convenience method to do so or do i need to create my own queries in hibernate.queries.hbm.xml? And then access it with something like