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
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
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)
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)
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
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
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
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
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 :
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
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
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
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 :
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 :
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
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
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
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 :
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
19 matches
Mail list logo