[jboss-user] [EJB 3.0] - Re: JNDI lookup of EJB3 SLSB from Quartz

2009-01-20 Thread jharby1
I figured this one out by downloading the JBoss source and stepping through everything. It turned out my Intellij build was picking up some old code that was trying to lookup an invalid JNDI name. You were right, I think that bug was coming into play. Thanks for your help. View the original

[jboss-user] [EJB 3.0] - Re: JNDI lookup of EJB3 SLSB from Quartz

2008-12-18 Thread jharby1
jaikiran wrote : I don't think this is the code that is throwing the exception. Going by the exception stacktrace you posted, the exception is being thrown when some object is being injected | | anonymous wrote : at

[jboss-user] [EJB 3.0] - Re: JNDI lookup of EJB3 SLSB from Quartz

2008-12-18 Thread jharby1
I also occasionally see this come up: | | 14:33:07,135 ERROR [STDERR] java.lang.ClassCastException: $Proxy104 cannot be cast to com.csatp.service.policy.FundingService | 14:33:07,135 ERROR [STDERR] at com.csatp.service.scheduler.checkHandlerBean.execute(checkHandlerBean.java:58)

[jboss-user] [EJB 3.0] - Re: JNDI lookup of EJB3 SLSB from Quartz

2008-12-17 Thread jharby1
Ok, thanks here is the Quartz job execute method. | public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException { | try { | Context ctx = getInitialContext(jnp://localhost:1099); | FundingService fs = (FundingService)

[jboss-user] [EJB 3.0] - JNDI lookup of EJB3 SLSB from Quartz

2008-12-16 Thread jharby1
We are on JBoss 4.2.2GA. Was there something we needed to configure for Quartz to do a JNDI lookup for an EJB3 SLSB? We have a Quartz job (using the AnnotatedMDB approach) and a EJB3 SLSB in separate ears and are having problems with JNDI looking up the EJB from the Quartz job. This is my stack

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problems with JPA/Hibernate persist

2008-11-26 Thread jharby1
Ok, thanks. It seems like relying on the container for Txns is not working possibly because I'm not using an entity bean but just an SLSB. dgeraskov wrote : Seems like your transaction never commited. Try to set for transaction autocommit to true. See documentation how to do this. View the

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problems with JPA/Hibernate persist

2008-11-25 Thread jharby1
I am having problems with EntityManager.persist - I am not getting any errors but on this insert I'm trying below nothing is going in the database (MS SQLServer). This is running in JBoss from an SLSB so I am using the CMT. In some prior methods I am successfully populating some objects from

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problems with JPA/Hibernate persist

2008-11-25 Thread jharby1
P.S. I'm using Intellij's ORM generator to create the entity - here is the generated code for that: | package com.csatp.model; | | import javax.persistence.*; | import java.sql.Timestamp; | | @Entity | @Table(catalog = WeekOld, schema = dbo, name = RECORDLOCK) | public class

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Problems with JPA/Hibernate persist

2008-11-25 Thread jharby1
P.S.^2 - I found a way to get this to work by specifying the transaction attribute on the bean method to be NEVER and using the EntityManager Transactions. But is there a better way to do this? It seems like a hack as is. View the original post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Problem deploying SLSB in EAR file

2008-09-08 Thread jharby1
I am trying to deploy an EAR file containing a WAR and a Stateless Session Bean. The WAR is getting deployed fine but the bean is not and no errors are shown in any of the logs. I have pasted my application.xml file below: | ?xml version=1.0 encoding=UTF-8? | application

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem deploying SLSB in EAR file

2008-09-08 Thread jharby1
That worked, thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4175178#4175178 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4175178 ___ jboss-user mailing list

[jboss-user] [EJB 3.0] - EJB3/Quartz problem

2008-08-28 Thread jharby1
We have been using an EJB3 MDB with Quartz and everything was working fine but all of a sudden when I restarted JBoss, I received these errors below and Quartz no longer works. Does anyone know what is causing this? 12:45:21,846 WARN [ServiceController] Problem starting service

[jboss-user] [JBoss/Spring Integration] - jboss-service.xml not found

2008-08-13 Thread jharby1
I downloaded the Spring Deployer 3.1 from SourceForge and followed the instructions on the Wiki. When I tried to deploy it into JBoss 4.2.2 I got an exception that the jboss-service.xml file was not found. Is there another version I should download? View the original post :

[jboss-user] [JBoss/Spring Integration] - Re: jboss-service.xml not found

2008-08-13 Thread jharby1
Thanks for the response. We can't use JBoss 5 in production since it is still just a CR. I don't see any jboss-service.xml file in the 2.1 release of Spring Deployer, can you tell me specifically which version to use? View the original post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem starting JBoss (MBeans waiting for other MBeans)

2008-07-21 Thread jharby1
Still no luck. I am getting this error below when starting JBoss. The loggingDb is just the data source. It seems to be bound alright but then this is stating that it is not installed? 07:35:52,023 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem starting JBoss (MBeans waiting for other MBeans)

2008-07-21 Thread jharby1
This is the exception stack trace I am seeing: 14:36:27,532 ERROR [BasicLazyInitializer] Javassist Enhancement failed: com.csatp.service.logging.Event java.lang.RuntimeException: java.lang.IllegalArgumentException: Can not set static javassist.util.proxy.MethodFilter field

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem starting JBoss (MBeans waiting for other MBeans)

2008-07-18 Thread jharby1
I have the persistence.xml in the META-INF directory of the loggingApp-1.0.ear View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4165345#4165345 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4165345

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Problem starting JBoss (MBeans waiting for other MBeans)

2008-07-17 Thread jharby1
jaikiran wrote : anonymous wrote : ObjectName: persistence.units:unitName=loggingDb | | State: NOTYETINSTALLED | | Have you deployed the persistence unit (through persistence.xml)? Yes, I'm still getting the same result View the original post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Problem starting JBoss (MBeans waiting for other MBeans)

2008-07-16 Thread jharby1
I am getting some deployment errors when starting JBoss. I have an MDB that uses a database appender to do logging but apparently there is some problem with the dependencies between that data source and the ear file in deployment. Does anyone have any suggestions? TIA 1. Output of run.sh