[JBoss JIRA] Created: (JBESB-78) Remove dependencies of new user classes in JBossEsbPersistHandlerBean (and EJB interfaces)
by Esteban Schifman (JIRA)
Remove dependencies of new user classes in JBossEsbPersistHandlerBean (and EJB interfaces)
------------------------------------------------------------------------------------------
Key: JBESB-78
URL: http://jira.jboss.com/jira/browse/JBESB-78
Project: JBoss ESB
Issue Type: Task
Security Level: Public (Everyone can see)
Components: ESB Core
Affects Versions: 4.0 Alpha 1
Reporter: Esteban Schifman
Assigned To: Esteban Schifman
Fix For: 4.0 Alpha 1
Public local and remote interface of the persistence handler EJB now takes BaseBusinessObject as argument for several methods. An unwanted consequence of this signature, is that if future users wish to use the object store, implementation of the persistence handler would have to be aware of these user classes (for example via a user jarfile in the classpath).
It is advisable to replace references to BaseBusinessObject in EJB method signatures, by references to BobjStdDTO. All classes (current and future) have a toDTO() method, and the base BobjStdDTO is enough to manipulate the object store. By doing so, current and future implementations of the IpersistHandler interface will not need to know about user specialization of the BaseBusinessObject class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
20 years
[JBoss JIRA] Commented: (JBCACHE-85) PojoCache object event listener
by Ben Wang (JIRA)
[ http://jira.jboss.com/jira/browse/JBCACHE-85?page=comments#action_12339662 ]
Ben Wang commented on JBCACHE-85:
---------------------------------
Currently, we use the AOP interceptors to implement the event notification.
1) For PojoCache API like attach and detach, we directly intercept and emit the notification in the code level.
2) For field access, we have a modified Oberserved/Oberserver pattern to do this with PojoCacheImpl as the Observer.
> PojoCache object event listener
> -------------------------------
>
> Key: JBCACHE-85
> URL: http://jira.jboss.com/jira/browse/JBCACHE-85
> Project: JBoss Cache
> Issue Type: Feature Request
> Components: PojoCache
> Reporter: Ben Wang
> Assigned To: Ben Wang
> Fix For: POJOCache
>
> Original Estimate: 2 weeks
> Remaining Estimate: 2 weeks
>
> Need to add a TreeCacheAop object event listener. Currently we have TreeCache listener to listen for individual node event. We need to listen the event at the object level instead. User may not be interested to listen at the node level.
> We should have events for:
> * Object level
> * Field level
> 1. We will need to define a PojoCacheListener that has all these callbacks.
> 2. We should use annotation for user to denote interested points, e.g., a la EJB3 style call back
> Class Pojo
> {
> int key;
> @preCreated(pojoEvent)
> @preModified(pojoEvent)
> void someHandler();
> }
> where
> Interface preModified {
> getPojoEvent();
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
20 years
[JBoss JIRA] Commented: (JBAS-3358) Work directory shouldn't be deleted
by Javid Jamae (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-3358?page=comments#action_12339659 ]
Javid Jamae commented on JBAS-3358:
-----------------------------------
I was able to produce this on several machines with 4.0.4GA. Vicky Kak (from JBoss support) was able to produce it as well. The following is the output after I do a Ctrl-C in the console window:
20:38:15,281 INFO [Server] Runtime shutdown hook called, forceHalt: true
20:38:15,281 INFO [Server] JBoss SHUTDOWN: Undeploying all packages
20:38:15,281 INFO [TomcatDeployer] undeploy, ctxPath=/simple, warUrl=.../deploy/simple.war/
As you can see, the application is undeployed and in turn the work directory is deleted. My Web application is called "simple" and as you can see (below) the entire work directory for my app is deleted on shutdown.
Before shutdown:
/cygdrive/c/jboss-4.0.4.GA-ejb3/server/default/work/jboss.web/localhost
$ ls -la
total 0
drwx------+ 6 Javid Jamae None 0 Jul 11 21:36 .
drwx------+ 3 Javid Jamae None 0 Jul 11 15:05 ..
drwx------+ 2 Javid Jamae None 0 Jul 11 20:29 _
drwx------+ 2 Javid Jamae None 0 Jul 11 20:29 jbossws
drwx------+ 2 Javid Jamae None 0 Jul 11 20:37 jmx-console
drwx------+ 2 Javid Jamae None 0 Jul 11 21:36 simple
After shutdown:
/cygdrive/c/jboss-4.0.4.GA-ejb3/server/default/work/jboss.web/localhst
$ ls -la
total 0
drwx------+ 5 Javid Jamae None 0 Jul 11 20:38 .
drwx------+ 3 Javid Jamae None 0 Jul 11 15:05 ..
drwx------+ 2 Javid Jamae None 0 Jul 11 20:29 _
drwx------+ 2 Javid Jamae None 0 Jul 11 20:29 jbossws
drwx------+ 2 Javid Jamae None 0 Jul 11 20:37 jmx-console
> Work directory shouldn't be deleted
> -----------------------------------
>
> Key: JBAS-3358
> URL: http://jira.jboss.com/jira/browse/JBAS-3358
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: JBossAS-4.0.4.GA
> Reporter: Javid Jamae
>
> I tried enabling HTTP session persistence, but found out that the default directory that it writes to is the work directory. Working with JBoss support, I discovered that the work directory is deleted when the server shuts down.
> Either the work directory should not be deleted, or the default directory where the persistent HTTP sessions are serialized to a file should be changed to be in a directory other than work (since it is being deleted).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
20 years
[JBoss JIRA] Resolved: (JBPORTAL-877) Shutdown error
by Julien Viet (JIRA)
[ http://jira.jboss.com/jira/browse/JBPORTAL-877?page=all ]
Julien Viet resolved JBPORTAL-877.
----------------------------------
Resolution: Rejected
Non JBoss Portal issue, its resolution does not depend on a JBoss Portal version but on the application server.
> Shutdown error
> --------------
>
> Key: JBPORTAL-877
> URL: http://jira.jboss.com/jira/browse/JBPORTAL-877
> Project: JBoss Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Portal CMS
> Affects Versions: 2.4 Final
> Reporter: Chris Laprun
> Priority: Minor
> Fix For: 2.4 Final
>
>
> 20:40:03,932 ERROR [MainDeployer] Deployer destroy failed for: file:/server/default/tmp/deploy/tmp3231jboss-portal.sar-contents/portal-cms.war
> java.lang.reflect.UndeclaredThrowableException
> at $Proxy85.destroy(Unknown Source)
> at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:693)
> at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:685)
> at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:632)
> at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:510)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:1050)
> at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:1025)
> at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:988)
> Caused by: javax.management.InstanceNotFoundException: jboss.web:service=WebServer is not registered.
> at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
> ... 20 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
20 years
[JBoss JIRA] Updated: (JBPORTAL-877) Shutdown error
by Julien Viet (JIRA)
[ http://jira.jboss.com/jira/browse/JBPORTAL-877?page=all ]
Julien Viet updated JBPORTAL-877:
---------------------------------
Comment: was deleted
> Shutdown error
> --------------
>
> Key: JBPORTAL-877
> URL: http://jira.jboss.com/jira/browse/JBPORTAL-877
> Project: JBoss Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Portal CMS
> Affects Versions: 2.4 Final
> Reporter: Chris Laprun
> Priority: Minor
> Fix For: 2.4 Final
>
>
> 20:40:03,932 ERROR [MainDeployer] Deployer destroy failed for: file:/server/default/tmp/deploy/tmp3231jboss-portal.sar-contents/portal-cms.war
> java.lang.reflect.UndeclaredThrowableException
> at $Proxy85.destroy(Unknown Source)
> at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:693)
> at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:685)
> at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:632)
> at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:510)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:1050)
> at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:1025)
> at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:988)
> Caused by: javax.management.InstanceNotFoundException: jboss.web:service=WebServer is not registered.
> at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
> ... 20 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
20 years
[JBoss JIRA] Updated: (JBPORTAL-877) Shutdown error
by Julien Viet (JIRA)
[ http://jira.jboss.com/jira/browse/JBPORTAL-877?page=all ]
Julien Viet updated JBPORTAL-877:
---------------------------------
Workaround Description: Deploy the portal in exploded mode.
Workaround: [Workaround Exists]
> Shutdown error
> --------------
>
> Key: JBPORTAL-877
> URL: http://jira.jboss.com/jira/browse/JBPORTAL-877
> Project: JBoss Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Portal CMS
> Affects Versions: 2.4 Final
> Reporter: Chris Laprun
> Priority: Minor
> Fix For: 2.4 Final
>
>
> 20:40:03,932 ERROR [MainDeployer] Deployer destroy failed for: file:/server/default/tmp/deploy/tmp3231jboss-portal.sar-contents/portal-cms.war
> java.lang.reflect.UndeclaredThrowableException
> at $Proxy85.destroy(Unknown Source)
> at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:693)
> at org.jboss.deployment.MainDeployer.destroy(MainDeployer.java:685)
> at org.jboss.deployment.MainDeployer.undeploy(MainDeployer.java:632)
> at org.jboss.deployment.MainDeployer.shutdown(MainDeployer.java:510)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:324)
> at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
> at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
> at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
> at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
> at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:260)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
> at org.jboss.system.server.ServerImpl$ShutdownHook.shutdownDeployments(ServerImpl.java:1050)
> at org.jboss.system.server.ServerImpl$ShutdownHook.shutdown(ServerImpl.java:1025)
> at org.jboss.system.server.ServerImpl$ShutdownHook.run(ServerImpl.java:988)
> Caused by: javax.management.InstanceNotFoundException: jboss.web:service=WebServer is not registered.
> at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523)
> at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:653)
> at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:190)
> ... 20 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
20 years