[JBoss jBPM] - Re: Hibernate problem after upgrading to version 3.1.3
by michaelholtzman
Same problem is ocurring in 3.1.4
This was mentioned in the release notes, but I am still seeing this problem.
Here is the stack trace:
| 07 Feb 2007 13:44:56:TPM Engine(ProcessCommand):(404832/T5_2_Credit Checks) Signal failed: Unknown entity: java.lang.St
| ring
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.ja
| va:550)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1338)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:180)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveE
| ventListener.java:512)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(D
| efaultSaveOrUpdateEventListener.java:80)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(Defaul
| tSaveOrUpdateEventListener.java:70)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:507)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:499)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.engine.CascadingAction$1.cascade(CascadingAction.java:218)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:268)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:216)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:169)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.engine.Cascade.cascade(Cascade.java:130)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.AbstractSaveEventListener.cascadeBeforeSave(AbstractSa
| veEventListener.java:431)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.AbstractSaveEventListener.performSaveOrReplicate(Abstr
| actSaveEventListener.java:265)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.AbstractSaveEventListener.performSave(AbstractSaveEven
| tListener.java:181)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.AbstractSaveEventListener.saveWithGeneratedId(Abstract
| SaveEventListener.java:121)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRe
| questedId(DefaultSaveOrUpdateEventListener.java:187)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveEventListener.saveWithGeneratedOrRequestedI
| d(DefaultSaveEventListener.java:33)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveOrUpdateEventListener.entityIsTransient(Def
| aultSaveOrUpdateEventListener.java:172)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveEventListener.performSaveOrUpdate(DefaultSa
| veEventListener.java:27)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(Defaul
| tSaveOrUpdateEventListener.java:70)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionImpl.fireSave(SessionImpl.java:535)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionImpl.save(SessionImpl.java:523)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.hibernate.impl.SessionImpl.save(SessionImpl.java:519)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.jbpm.logging.db.DbLoggingService.log(DbLoggingService.java:46)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.jbpm.svc.save.SaveLogsOperation.save(SaveLogsOperation.java:47)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.jbpm.svc.Services.save(Services.java:156)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.jbpm.JbpmContext.save(JbpmContext.java:390)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):org.jbpm.JbpmContext.save(JbpmContext.java:397)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):com.olf.bpm.ProcessCommand.signalToken(ProcessCommand.java:1449)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):com.olf.bpm.ProcessCommand.signalToken(ProcessCommand.java:1433)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):com.olf.bpm.ProcessCommand.process(ProcessCommand.java:1330)
| 07 Feb 2007 13:44:56:TPM Engine(Utility):com.olf.bpm.ProcessCommand.run(ProcessCommand.java:98)
| 07 Feb 2007 13:44:56:TPM Engine(Services):problem closing service 'persistence'
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012612#4012612
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012612
19Â years, 2Â months
[JBoss Seam] - Re: Seam and granularity
by hstang
"viniciuscarvalho" wrote :
| Ok, regarding performance. Its just a guess, but a SLSB with all the interceptors it has (tx,security etc...) is a bit heavy in terms of processing time and memory usage than a simple managed bean.
|
There is no doubt there will be additional overhead when you use EJBs, but this is the cost incurred for the additional services your application requires. If you don't need tx, security, pooling, etc., then managed beans would suffice. I would concur with you that processing time will increase, but the burning question: is it real-world noticeable? Could you afford a few more extra clock cycles for the added benefit of services afforded to you by EJB? It really depends on your requirements and your available resources.
As for memory usage, SLSB don't carry any state so they are easier to "scale," at least in theory.
"viniciuscarvalho" wrote : Not trying to create any problems,
There are no problems caused=)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012611#4012611
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012611
19Â years, 2Â months
[Installation, Configuration & Deployment] - Error "Incomplete Deployment" & Scheduler problems
by blynnH
Hope someone can help with this -
I receive the following error in server.log:
2007-02-07 11:50:22,302 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()' Cause: Incomplete Deployment listing: Packages waiting for a deployer: Incompletely deployed packages: MBeans waiting for classes: MBeans waiting for other MBeans: [ObjectName: jboss:service=TranslogScheduler state: FAILED I Depend On: Depends On Me: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=SchedulableClass value=com.genpt.rayloc.common.TranslogScheduler on mbean jboss:service=TranslogScheduler; - nested throwable: (java.security.InvalidParameterException: Given class com.genpt.rayloc.common.TranslogScheduler is not not found), ObjectName: jboss:service=DailySaleSumScheduler
Apparently it can't find the classes in the deployed war file. However, they are there.
I am new to working in JBOSS so your help is greatly needed -Thanks, Lynn
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012609#4012609
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012609
19Â years, 2Â months