[jboss-user] [JBoss jBPM] - Re: Is JBPM Compatible with other applications servers like
Sorry for the delay. It was a problem between Suns JSF and MyFace. In Suns App-Server thy are using JSF and i am not allowed to remove it. And the Web-console is using MyFace. It looks that they are not 100% compatible. I talked about it in: http://www.jboss.com/index.html?module=bbop=viewtopict=94997 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004714#4004714 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004714 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: IdentitySession commit exception
I have realy no Idea why it won't run? Please help me :). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004715#4004715 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Clustering issue / SEAM
maybe someone can give me a pointer what to check to solve this issue. I am working with JBoss-4.0.5.GA installed with the latest JEMS-installer. I installed the EJB3-cluster profile and I am using the latest SEAM-release 1.1.1.GA. In my application I have several SFSBs annotated with @Clustered and after a certain amount of time the following huge stacktrace is printed. The class which is not found can be any of my SFSBs so it is not always the same class which is not found. The my.TestSFSBean has 3 private String members and a private static Collection where SelectItem implements Serializable. Any idea? btw. I already posted the same question in the SEAM forum.. | 16:10:48,031 ERROR [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: my.TestSFSB | ean | 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryC | lassLoader.java:511) | 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClass | Loader.java:405) | 16:10:48,031 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | 16:10:48,031 ERROR [STDERR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | 16:10:48,031 ERROR [STDERR] at java.lang.Class.forName0(Native Method) | 16:10:48,031 ERROR [STDERR] at java.lang.Class.forName(Class.java:242) | 16:10:48,031 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.resolveClass(JBossObjectI | nputStream.java:141) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream$1.resolveClass(JBossObjec | tInputStream.java:127) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.resolveClassBy | Name(ClassMetamodelFactory.java:266) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaDa | ta(ClassMetamodelFactory.java:289) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.StreamingClass.readStream(StreamingC | lass.java:72) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectD | escriptionFromStreaming(ObjectDescriptorFactory.java:381) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromD | escription(ObjectDescriptorFactory.java:82) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectIn | put.readObject(DataContainer.java:643) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersi | ster.java:196) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.ja | va:172) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectD | escriptionFromStreaming(ObjectDescriptorFactory.java:412) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromD | escription(ObjectDescriptorFactory.java:82) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectIn | put.readObject(DataContainer.java:643) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossO | bjectInputStream.java:163) | 16:10:48,046 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndIntercepto | rs(StatefulBeanContext.java:342) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.getInterceptorInstances( | StatefulBeanContext.java:333) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.getLifecyc | leInvocationContext(LifecycleInvocationContextImpl.java:65) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate( | LifecycleInterceptorHandler.java:143) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.invokePostActivate(Statefu | lContainer.java:376) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.postActivate(StatefulBea | nContext.java:183) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.cache.tree.StatefulTreeCache$ClusteredStatefulCacheLi | stener.nodeActivate(StatefulTreeCache.java:275) | 16:10:48,046 ERROR [STDERR] at
[jboss-user] [JBoss jBPM] - Re: Create programmatically Subprocess
kukeltje wrote : did you look at the testcases? Yes but I found nothing.. :( My need is based on runtime informations (on node enter !?) to be able to create N subprocess. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004717#4004717 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Stateless Session bean throwing error
Hi I am getting error from the statless session bean after some subsequent request to the bean, First 10 or 20 calls works fine, after some time it gives the below error And also please tell me how i can check the number of instances created for a Bean in Jboss Web Console. | message font face='Verdana, Arial, Helvetica' size='2'Sorry, an error has occurred: null/fontbrbrfont face='Verdana, Arial, Helvetica' size='1'com.tlc.report.ReportExceptionbr at com.tlc.report.ReportBean.load(ReportBean.java:1087)br at com.tlc.report.ReportBean.load(ReportBean.java:1244)br at sun.reflect.GeneratedMethodAccessor160.invoke(Unknown Source)br at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)br at java.lang.reflect.Method.invoke(Method.java:585)br at org.jboss.invocation.Invocation.performCall(Invocation.java:359)br at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:237)br at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158)br at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:169)br at org.jboss.ws.server.ServiceEndpointInt! erceptor.invoke(ServiceEndpointInterceptor.java:64)br at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)br at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)br at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)br at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)br at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)br at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)br at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136)br at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)br at org.jboss.ejb.Container.invoke(Container.java:954)br at sun.reflect.GeneratedMethodAccessor125.invoke(Unknown Source)br at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)br ! at java.lang.reflect.Method.invoke(Method.java:585)br at org.jboss.m x.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)br at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)br at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)br at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)br at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)br at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169)br at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118)br at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:206)br at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:192)br at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)br at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)br at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112)br at org.jboss.! proxy.ClientContainer.invoke(ClientContainer.java:100)br at $Proxy106.load(Unknown Source)br at com.tlc.isupport.ISupport.reportCaseLogged(ISupport.java:503)br at com.tlc.isupport.ISupport.service(ISupport.java:219)br at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)br at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)br at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)br at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)br at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)br at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)br at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)br at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)br at org.jboss.web.t! omcat.security.SecurityAssociationValve.invoke(SecurityAssociationValv e.java:175)br at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)br at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)br at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)br at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)br at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)br at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:199)br at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:282)br at
[jboss-user] [JNDI/Naming/Network] - Getting started guide?
Here's the simple thing I need to do: I have a JBoss server with a bunch of EJB3 entities in it. I also have some session beans to handle various things. That's the server side. On the client side, I have some custom-written Swing applications which need to interact with session beans (on the server), fetch entities, updated entities, and persist the changed entities (all of which are on the server). I know that JBoss / J2EE are designed from the get-go to make such a usage easy. But my problem is, how do I get started? I read the section on JNDI. I have Googled around. But could anyone point me to a getting started example? I suppose I would need to create @Remote interfaces on entities. I would need to do something to configure a JNDI server running on JBoss that takes requests over HTTP. Then on the client side I would need to specify connection properties, create an InitialContext, and then do my work I guess? I can see the outline but I don't know where to begin with all this. Btw I'm using JBoss 4.0.5 and Java 6 for all this. It's all new code so no legacy anything. I want to do it whatever is the best practices way. Thank you for any suggestions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004723#4004723 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004723 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Clustering issue / SEAM
maybe someone can give me a pointer what to check to solve this issue. I am working with JBoss-4.0.5.GA installed with the latest JEMS-installer. I installed the EJB3-cluster profile and I am using the latest SEAM-release 1.1.1.GA. In my application I have several SFSBs annotated with @Clustered and after a certain amount of time the following huge stacktrace is printed. The class which is not found can be any of my SFSBs so it is not always the same class which is not found. The my.TestSFSBean has 3 private String members and a private static Collection where SelectItem implements Serializable. Any idea? btw. I already posted the same question in the SEAM forum.. | 16:10:48,031 ERROR [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: my.TestSFSB | ean | 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryC | lassLoader.java:511) | 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClass | Loader.java:405) | 16:10:48,031 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | 16:10:48,031 ERROR [STDERR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | 16:10:48,031 ERROR [STDERR] at java.lang.Class.forName0(Native Method) | 16:10:48,031 ERROR [STDERR] at java.lang.Class.forName(Class.java:242) | 16:10:48,031 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.resolveClass(JBossObjectI | nputStream.java:141) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream$1.resolveClass(JBossObjec | tInputStream.java:127) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.resolveClassBy | Name(ClassMetamodelFactory.java:266) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaDa | ta(ClassMetamodelFactory.java:289) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.StreamingClass.readStream(StreamingC | lass.java:72) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectD | escriptionFromStreaming(ObjectDescriptorFactory.java:381) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromD | escription(ObjectDescriptorFactory.java:82) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectIn | put.readObject(DataContainer.java:643) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersi | ster.java:196) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.ja | va:172) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectD | escriptionFromStreaming(ObjectDescriptorFactory.java:412) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromD | escription(ObjectDescriptorFactory.java:82) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectIn | put.readObject(DataContainer.java:643) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossO | bjectInputStream.java:163) | 16:10:48,046 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndIntercepto | rs(StatefulBeanContext.java:342) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.getInterceptorInstances( | StatefulBeanContext.java:333) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.getLifecyc | leInvocationContext(LifecycleInvocationContextImpl.java:65) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate( | LifecycleInterceptorHandler.java:143) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.invokePostActivate(Statefu | lContainer.java:376) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.postActivate(StatefulBea | nContext.java:183) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.cache.tree.StatefulTreeCache$ClusteredStatefulCacheLi | stener.nodeActivate(StatefulTreeCache.java:275) | 16:10:48,046 ERROR [STDERR] at
[jboss-user] [Clustering/JBoss] - Clustering Issue / SEAM
maybe someone can give me a pointer what to check to solve this issue. I am working with JBoss-4.0.5.GA installed with the latest JEMS-installer. I installed the EJB3-cluster profile and I am using the latest SEAM-release 1.1.1.GA. In my application I have several SFSBs annotated with @Clustered and after a certain amount of time the following huge stacktrace is printed. The class which is not found can be any of my SFSBs so it is not always the same class which is not found. The my.TestSFSBean has 3 private String members and a private static Collection where SelectItem implements Serializable. Any idea? btw. I already posted the same question in the SEAM forum.. | 16:10:48,031 ERROR [STDERR] java.lang.ClassNotFoundException: No ClassLoaders found for: my.TestSFSB | ean | 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryC | lassLoader.java:511) | 16:10:48,031 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClass | Loader.java:405) | 16:10:48,031 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | 16:10:48,031 ERROR [STDERR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | 16:10:48,031 ERROR [STDERR] at java.lang.Class.forName0(Native Method) | 16:10:48,031 ERROR [STDERR] at java.lang.Class.forName(Class.java:242) | 16:10:48,031 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.resolveClass(JBossObjectI | nputStream.java:141) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream$1.resolveClass(JBossObjec | tInputStream.java:127) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.resolveClassBy | Name(ClassMetamodelFactory.java:266) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetamodelFactory.getClassMetaDa | ta(ClassMetamodelFactory.java:289) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.classmetamodel.StreamingClass.readStream(StreamingC | lass.java:72) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectD | escriptionFromStreaming(ObjectDescriptorFactory.java:381) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromD | escription(ObjectDescriptorFactory.java:82) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectIn | put.readObject(DataContainer.java:643) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readObjectArray(ArrayPersi | ster.java:196) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.persister.ArrayPersister.readData(ArrayPersister.ja | va:172) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectD | escriptionFromStreaming(ObjectDescriptorFactory.java:412) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromD | escription(ObjectDescriptorFactory.java:82) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectIn | put.readObject(DataContainer.java:643) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.JBossObjectInputStream.readObjectOverride(JBossO | bjectInputStream.java:163) | 16:10:48,046 ERROR [STDERR] at java.io.ObjectInputStream.readObject(ObjectInputStream.java:333) | 16:10:48,046 ERROR [STDERR] at org.jboss.serial.io.MarshalledObject.get(MarshalledObject.java:68) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndIntercepto | rs(StatefulBeanContext.java:342) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.getInterceptorInstances( | StatefulBeanContext.java:333) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.getLifecyc | leInvocationContext(LifecycleInvocationContextImpl.java:65) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.postActivate( | LifecycleInterceptorHandler.java:143) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.invokePostActivate(Statefu | lContainer.java:376) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.postActivate(StatefulBea | nContext.java:183) | 16:10:48,046 ERROR [STDERR] at org.jboss.ejb3.cache.tree.StatefulTreeCache$ClusteredStatefulCacheLi | stener.nodeActivate(StatefulTreeCache.java:275) | 16:10:48,046 ERROR [STDERR] at
[jboss-user] [JBoss Seam] - Re: Please help me, urgent, waiting online
Some one help me? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004728#4004728 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004728 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Create programmatically Subprocess
ppc wrote : kukeltje wrote : did you look at the testcases? | | Yes but I found nothing.. :( | | My need is based on runtime informations (on node enter !?) to be able to create N subprocess. | | founds (i was only looking in the starter-kit..) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004734#4004734 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004734 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Persistence context injection problem - is it a bug ?
Hello, I have a very strange problem. I try to deploy 2 applications (in the same JBoss AS) with same session and entity beans (and 1 persistence unit for each application of course !). Application which deploies first, deploies well, but the second one try to use the unit context of the first application ! Here is the log (first application which deploies) : anonymous wrote : | 09:49:15,219 INFO [EARDeployer] Init J2EE application: file:/home/popom/Documents/labosun/2006-2007/Devs/LaboSite/jboss/server/default/deploy/AppEjb1EAR.ear | 09:49:15,935 INFO [Ejb3Deployment] EJB3 deployment time took: 531 | 09:49:16,004 INFO [JmxKernelAbstraction] installing MBean: persistence.units:ear=AppEjb1EAR.ear,jar=AppEjb1.jar,unitName=app1EM with dependencies: | 09:49:16,006 INFO [JmxKernelAbstraction] jboss.jca:name=MysqlDS,service=DataSourceBinding | 09:49:16,110 INFO [Version] Hibernate EntityManager 3.2.0.GA | 09:49:16,192 INFO [Version] Hibernate Annotations 3.2.0.GA | 09:49:16,202 INFO [Environment] Hibernate 3.2.0.ga | 09:49:16,210 INFO [Environment] hibernate.properties not found | 09:49:16,212 INFO [Environment] Bytecode provider name : javassist | 09:49:16,218 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | 09:49:16,438 INFO [Ejb3Configuration] found EJB3 Entity bean: com.supinfo.entities.Category | 09:49:16,443 WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null. | 09:49:16,617 INFO [Configuration] Reading mappings from resource: META-INF/orm.xml | 09:49:16,620 INFO [Ejb3Configuration] [PersistenceUnit: app1EM] no META-INF/orm.xml found | 09:49:16,758 INFO [AnnotationBinder] Binding entity from annotated class: com.supinfo.entities.Category | 09:49:16,878 INFO [EntityBinder] Bind entity com.supinfo.entities.Category on table LS3_CATEGORY | 09:49:17,190 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider | 09:49:17,194 INFO [InjectedDataSourceConnectionProvider] Using provided datasource | 09:49:17,878 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.24a-Debian_9-log | 09:49:17,878 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-3.1.11 ( $Date: 2005-09-21 18:20:03 + (Wed, 21 Sep 2005) $, $Revision: 4287 $ ) | 09:49:17,974 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect | 09:49:17,981 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.ejb.transaction.JoinableCMTTransactionFactory | 09:49:17,985 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup | 09:49:17,989 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup | 09:49:17,990 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled | 09:49:17,990 INFO [SettingsFactory] Automatic session close at end of transaction: disabled | 09:49:17,990 INFO [SettingsFactory] JDBC batch size: 15 | 09:49:17,990 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled | 09:49:17,991 INFO [SettingsFactory] Scrollable result sets: enabled | 09:49:17,992 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled | 09:49:17,992 INFO [SettingsFactory] Connection release mode: auto | 09:49:17,993 INFO [SettingsFactory] Maximum outer join fetch depth: 2 | 09:49:17,994 INFO [SettingsFactory] Default batch fetch size: 1 | 09:49:17,994 INFO [SettingsFactory] Generate SQL with comments: disabled | 09:49:17,994 INFO [SettingsFactory] Order SQL updates by primary key: disabled | 09:49:17,994 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory | 09:49:17,999 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory | 09:49:17,999 INFO [SettingsFactory] Query language substitutions: {} | 09:49:18,000 INFO [SettingsFactory] JPA-QL strict compliance: enabled | 09:49:18,000 INFO [SettingsFactory] Second-level cache: enabled | 09:49:18,000 INFO [SettingsFactory] Query cache: disabled | 09:49:18,000 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider | 09:49:18,002 INFO [SettingsFactory] Optimize cache for minimal puts: disabled | 09:49:18,003 INFO [SettingsFactory] Structured second-level cache entries: disabled | 09:49:18,090 INFO [SettingsFactory] Statistics: disabled | 09:49:18,091 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled | 09:49:18,092 INFO [SettingsFactory] Default entity-mode: pojo | 09:49:18,201 INFO [SessionFactoryImpl] building session factory | 09:49:18,540 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured | 09:49:18,547 INFO [SchemaUpdate]
[jboss-user] [Security JAAS/JBoss] - Re: Propagating Roles from Servlet Security Context to EJB3
If you wrote a tutorial can you give here the link to it please? I really would like such a tutorial, thanks ^_^ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004742#4004742 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004742 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Using Jasper Reports with Seam/JBoss
Hi, I'm trying to integrate JasperReports with a Seam application. I can compile and fill the reports, but I can't find any documentation on how to return the generated report to a web-page, especially using the Seam forwarding methods. Can anybody please advise? I feel like I'm punching around in the dark a bit here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004743#4004743 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004743 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Stateless Session bean throwing error
Any updates Somebody Please help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004745#4004745 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam and JSTL
Hi, I'm still quite new to SEAM and Java coding at all. Is there anything specific needed to setup Seam with JSTL? I use Facelets as recommend in the book and reference manual. page.xhtml | ui:composition xmlns=http://www.w3.org/1999/xhtml; | xmlns:s=http://jboss.com/products/seam/taglib; | xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:c=http://java.sun.com/jsp/jstl/core; | template=layout/template.xhtml | ui:define name=body | | c:if test=true | Generate this template text if s true | /c:if | c:if test=false | Generate this template text if s false | /c:if | /ui:define | /ui:composition Produces: anonymous wrote : Generate this template text if s true Generate this template text if s false Source of rendered HTML page: anonymous wrote : | c:if test=true | Generate this template text if s true | /c:if | c:if test=false | Generate this template text if s false | /c:if | I guess the code is just copied to output and not processed by JSTL? I'm using seam-gen to generate project and so far I've only modified build.xml to copy jstl-1.1.0.jar to WEB-INF/lib of app.war. I've also tried to substitute true with #{true} and ${true}, not sure if that matters. JBOSS server output did not tell anything suspicious. Any hints? Best regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004746#4004746 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004746 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using Jasper Reports with Seam/JBoss
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamResourceLoader or better, consider using Seam's built in PDF generation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004747#4004747 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and JSTL
Try xmlns:c=http://java.sun.com/jstl/core; With facelets it's recommended not to use JSTL except if you really need to and you understand how it will interact with facelets. Certainly for the above you would be much better off using the rendered attribute View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004748#4004748 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004748 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using Jasper Reports with Seam/JBoss
That looks like it may just work. Don't want to return a pdf though - ideally I want to just return a HTML/jsf page that displays the report. Could I just use the same method but return a HTML version? Or is there a simpler way? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004749#4004749 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004749 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using Jasper Reports with Seam/JBoss
For an HTML doccument yes, AFAICS. If you have a (generated?) JSF view, then you would need to run it through the correct (JSP/facelets) renderer first - which the example resource loader won't do. Set the disposition to INLINE, the type to text/html, and don't override the filename and your browser should interpret it properly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004750#4004750 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004750 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: NullPointerException when adding ActionHandlers with GPD
[EMAIL PROTECTED] wrote : Strange. What deployment trouble did you have with the newer version and what version would that be? | I wasn't able to deploy the process I created by following the instructions in the Wiki JbpmGettingStarted article. There were no errors or anything (after some initial problems were solved), but the new process just wasn't visible in the web user interface. Here is some discussion of the problem: http://www.jboss.com/index.html?module=bbop=viewtopict=97651 I was using Eclipse 3.2.1 and I think the GPD was from the starter's kit version 3.1.3, although the default deployment URL offered by GPD apparently suggested otherwise. I did a fresh re-install after that, so I cannot verify the version numbers anymore. regards, Saku View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004751#4004751 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004751 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and JSTL
After reading Facelets API, Ifound it is supposed to support IF tag. Then I checked dvdstore example and found I was using wrong namespace definition (I copied it from somewhere in the internet). Now it is working very fine. xmlns:c=http://java.sun.com/jstl/core; is the right namespace not xmlns:c=http://java.sun.com/jsp/jstl/core; as I had previously. Thank you for quick reply and for SEAM examples, they are great source! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004752#4004752 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004752 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: problem deploy in jboss 4.0.5.
hi, These are the debug information when trying to deploy: 2007-01-16 19:29:52,280 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment of package: http://localhost:8080/AppSight/download/installer?filename=/jboss/AppSightInstallerService.deployer 2007-01-16 19:29:52,280 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: http://localhost:8080/AppSight/download/installer?filename=/jboss/AppSightInstallerService.deployer 2007-01-16 19:29:52,280 DEBUG [org.jboss.deployment.MainDeployer] Copying http://localhost:8080/AppSight/download/installer?filename=/jboss/AppSightInstallerService.deployer - C:\jboss\jboss-4.0.5.GA_Inst\jboss-4.0.5.GAInst\server\default\tmp\deploy\tmp14799installer 2007-01-16 19:29:53,639 DEBUG [org.jboss.deployment.JARDeployer] Found entry: 'META-INF/jboss-service.xml', matching: 'jboss-service.xml', rejecting jar 2007-01-16 19:29:53,639 DEBUG [org.jboss.deployment.MainDeployer] No deployer found for url: http://localhost:8080/AppSight/download/installer?filename=/jboss/AppSightInstallerService.deployer 2007-01-16 19:29:53,639 DEBUG [org.jboss.deployment.MainDeployer] deployment waiting for deployer: http://localhost:8080/AppSight/download/installer?filename=/jboss/AppSightInstallerService.deployer 2007-01-16 19:29:53,639 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: http://localhost:8080/AppSight/download/installer?filename=/jboss/AppSightInstallerService.deployer 2007-01-16 19:29:53,639 DEBUG [org.jboss.deployment.MainDeployer] Deployment of package: http://localhost:8080/AppSight/download/installer?filename=/jboss/AppSightInstallerService.deployer is waiting for an appropriate deployer. It seems there is something with the jboss-server.xml. Do you know what might be the problem with it ? Any idea what I need to check on it ? Thanks again, Lital View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004755#4004755 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004755 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Scheduler problems jbpm.war(3.1.3) to jboss as 4.0.5GA
Yes, I had that configuration in my configuration file, that was the thing.. Anyhow, it works for me now and I have no qlue what it was that was wrong. I am running Quartz in the application I am developing and I updraged that from verstion 1.5.2 to 1.6.0. When I restarted the server and tried to add a timer to a node, it just worked. Well, now it works and I am leaving it with that. /Jesper View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004758#4004758 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004758 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Configuration Type, while defining an action handler???
Can anyone Please tell me what is the importance of putting the Configuration type, while defining an action handler. Configuration Types (Field, Bean, Constructor, Compatibility) what does this have utility??? Also if we select Field option we have to write a field name and a field value, why?? Please elaborate your answers. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004763#4004763 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004763 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - AOP integration with JMX question
Hi, I posted this in the JMX forum first, but since nobody replyed I thougt I could try here as this is about AOP as well. I need to create an aspect that can be managed by JMX. The idea is to use the aspect to obtain some stats(by intercepting calls) and to use JMX console to retrieve the stats. I created an XMBean and I added methods wich I use as advices. Everything works fine( the calls are intercepted and the XMBean is registered and accessible from the JMX console) with one exception - it seems that AOP and JMX create their own instances of the class. Aop intercepts the calls I make and updates the stats, but the XMBean values of the same stats(attributes) remain the same ( null in my case). I tried to use separate XMBean and aspect classes, but the problem is that in order to use the XMBean methods to update my stats, I have to expose them and once I do this - they are available to the users in the JMX console. My question is - is it possible to do write an Ascpect XMBean and if so - where should I look for more details. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004764#4004764 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004764 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1.1.GA
[EMAIL PROTECTED] wrote : Actually Seam 1.1.1 bundles ICEFaces 1.5.2. | | But we are really waiting for a bugfix that will be released in ICEFaces 1.5.3. Then things should be working much nicer together. That's nice. But does it mean what I think it means? I don't have to download ICEfaces and fiddle with icefaces.jar and so on? I just use the jars from Seam and can use ice:menuBar and the rest? That would be really nice. At the moment I've problems related to errors in the jscripts from ICEfaces. Would this bugfix solve those problems? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004766#4004766 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004766 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - datasources auto-reset conection on database fails?
Hello, I´d want to know if when a database fails (for example the database server stop and then it restarts) the datasource auto resets the connecction pool to de database or is necesary doing it manualy or redeploing the datasource. Sorry of my poor english. thanks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004772#4004772 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004772 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - ID-Handling
Hi @all, I have the following scenario: I´ve got a user-object that gets it´s ID through a @SequenceGenerator. Inside this user-object I´ve got an object VerificationCode. The ID of the VerificatinCode should be the same as the ID of the user, but the problem is, that I receive the id only while persisting, so I cannot instantiate the VerificationCode with a User-object and use it´s id with my getId()-method. One solution I found was to use the @PrePersist and do a MyVerificationObject.setId(myUserObject.getId()) in this method. But is this the way to go or is there a more elegant (object-oriented) way? Thanks Thomas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004773#4004773 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss and NetBeans] - JBoss getting Null ponter Exception
Dear All, I am getting a java.lang.NullPointer Exception. I am using my Application JBoss and JSP while i tried to login its logged in first time if i idle then my jsp page will thorugh a server side exception i.e java.lang.NullPointer Exception . In this time what can i do... How can i rectify the Exception.. Plz solve the problem... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004775#4004775 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: datasources auto-reset conection on database fails?
Looks like you need to configure check-valid-connection in -ds.xml file . It is explained here check-valid-connection-sql - an sql statement that is executed before it is checked out from the pool to make sure it is still valid. If the sql fails, the connection is closed and new ones created. For more details please refer to the following link I have pulled the above contents from here http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources I hope this is what you have been asking for . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004776#4004776 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004776 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Jboss does not respond to 100+ http request (AJAX)
Hi all, I am getting a weird behavior from JBoss 2.3.7. I am using the XMLHttpRequest (Mozilla firefox ver2.0 and IE6) object to send Http request to my servlet which is sending a simple response. My problem is when I do 100+ of those requests JBoss stops responding. It does not connect to the servlet from that session and it does not create any more sessions. The problem look like that Tomcat is not listesting anymore to the selected port. When JBoss stops responding I refresh the page and then I can send another 100+ requests. Obviously you will tell me to upgrade to the latest JBoss, I tried that but unfortunatly the problem is similar but this time I am allowed to do 200+ requests. Is this a known bug, has anyone of you this problem. Thank you for your time Adam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004777#4004777 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004777 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: java.lang.ClassNotFoundException
Hello, Hope the problem may be in the structure of EAR. Refer the following link. http://www.iona.com/support/docs/e2a/asp/5.1/j2ee/reference/EARSCO_ref4.html And make sure that the structure of EAR is as specified in the above link. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004794#4004794 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: removeTaskInstance doesn't work!
Hi! After turning on the show sql parameter i saw that no DELETE statement appears in my console. So i do this test case that is OK and continues to not show any DELETE jbpm.TASKINSTANCE...: | public void testToken() { | JbpmContext jc = jbpmConfiguration.createJbpmContext(); | TaskMgmtSession tms = jc.getTaskMgmtSession(); | try { | GraphSession gs = jc.getGraphSession(); | ProcessDefinition pd = gs.findLatestProcessDefinition(XXX); | ProcessInstance pi = new ProcessInstance(pd); | | Token token = pi.getRootToken(); | assertEquals(INIT, token.getNode().getName()); | pi.signal(); | assertEquals(REG, token.getNode().getName()); | pi.signal(); | assertEquals(PRO, token.getNode().getName()); | | //remove logs ( a despaired try :))) | LoggingInstance li = pi.getLoggingInstance(); | List x= li.getLogs(); | x.removeAll(x); | | TaskInstance tit = (TaskInstance) tms.findTaskInstancesByToken(token.getId()).get(0); | assertEquals(REG, tit.getName()); | pi.getTaskMgmtInstance().removeTaskInstance(tit); | | jc.save(pi); | }catch (Exception e) { | System.out.println(no catch enter :(); | } finally { | jc.close(); | } | } | Any idea? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004793#4004793 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Deploy problem on Portal 2.6.0.ALPHA1
Using: JBoss 4.0.5 (JEMS Installer, EJB3 profile) Portal 2.6.0.ALPHA1 MySQL Fedora Core 6 Sun JDK 1.5.0_10 Problem: java.lang.ClassCastException: org.jboss.portal.core.impl.model.portal.PortalImpl | org.jboss.portal.core.impl.model.CustomizationManagerService.getDashboard(CustomizationManagerService.java:250) | sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | java.lang.reflect.Method.invoke(Method.java:585) | org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | $Proxy79.getDashboard(Unknown Source) | org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.injectDashboardNav(PageCustomizerInterceptor.java:191) | org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:127) | ***.***.portal.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:37) | ... | The last PageCustomizerInterceptor is a subclass of the one that comes with the portal. However, this used to work fine on portal 2.6.0.DR1. Since I switched the portal version, I can see the login page, but after hitting the login button, I'm presented with this exception. I suspect it is related to the fact that our portal is heavily hacked into, in order to change the default theme, but I'm not sure... Any ideas/hints/pointers/anything? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004787#4004787 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004787 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - java.lang.ClassNotFoundException
Hi, I'm using JBOSS 4.0.5. When i tried to deploy my ear file, error occurred as below, when it was trying to load WurflServletInit class, which is a wurfltags.jar located in the WEB-INF/lib . I had also change UseJBossWebLoader atrribute to true in jboss-service.xml. Please advice. Thanks. servlet-nameinit/servlet-name servlet-classnet.sourceforge.wurfl.wurflapi.WurflServletInit/servlet-class load-on-startup1/load-on-startup 19:18:44,890 INFO [EARDeployer] Init J2EE application: file:/C:/Program Files/jboss-4.0.5.GA/server/default/deploy/WapWurlWeb.ear 19:18:45,843 WARN [DeployerInterceptorJSE] Cannot load servlet class: net.sourceforge.wurfl.wurflapi.WurflServletInit 19:18:45,984 INFO [TomcatDeployer] deploy, ctxPath=/wurfl, warUrl=.../tmp/deploy/tmp27070WapWurlWeb.ear-contents/WapWurlWeb-exp.war/ 19:18:46,234 INFO [[/wurfl]] Marking servlet init as unavailable 19:18:46,234 ERROR [[/wurfl]] Error loading [EMAIL PROTECTED] net.sourceforge.wurfl.wurflapi.WurflServletInit java.lang.ClassNotFoundException: net.sourceforge.wurfl.wurflapi.WurflServletInit at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1034) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:932) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3951) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4225) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:5052) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at
[jboss-user] [JBoss Seam] - Re: Please help me, urgent, waiting online
I recommend you use a dataTable. There's plenty of sample code within the Seam examples, I'd take a look at the Booking example first. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004786#4004786 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Process Definition Deployment in jbpm-starters-kit-3.1.3
Hi, I have installed jbpm-gpd-feature-3.0.12.zip (eclipse plugin) in eclipse 3.2.1 for JBPM. I am using jbpm-starters-kit-3.1.3 in the Place of JBoss Application Server. I developed a Process Definition. My deployment Server Settings are as follows. Server Name: localhost Server Port: 8080 Server Deployer: /jbpm Test Connection is Successful. When i click Deploy Process Archive, I am getting the following message. The Process Archive Deployed Successfully. When i launch the URL http://localhost:8080/jbpm, then my process definition link is not getting displayed. Also can some one please tell me the location where the Process Definition file (or Process Archive file ) will be deployed. Thanks in advance. Regards Christopher Pradeep View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004785#4004785 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004785 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: JBoss 5 Tx Enlist Problem
I can post any further information as required. Just let me know. Cheers. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004784#4004784 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004784 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Error connecting to ejb3 cluster
rhasselbaum wrote : I have tried specifying -Djboss.bind.address=my_ip_address at startup, but it does not seem to have any effect. And even if it did work, I need a solution that is DHCP-friendly because this is a development workstation.Using -b your_ip doesn't work either? Anyway, it seems this problem is related to the /etc/hosts file on linux systems. In many installations I encountered the first line showed something like: | 127.0.0.1 localhost.localdomain localhost your_hostname | This is probably what makes JBoss bind itself to 127.0.0.1. If you want to change this behaviour, just edit /etc/hosts to resemble something like this: | 127.0.0.1 localhost.localdomain localhost | your_ip your_hostname | This worked in all cases I encountered. Unfortunately I don't know how to fix this problem permanently when you're using DHCP, but I guess there is more information to be found on this subject on the Internet. Maybe just leave your hostname out of /etc/hosts? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004780#4004780 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - JBoss 5 Tx Enlist Problem
I have an issue with my EJB3 application since migrating to JBoss 5 Beta 1. The initial error I receive is.. | 10:19:53,324 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null | 10:19:53,324 ERROR [JDBCExceptionReporter] Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple ac, BasicAction: -53efc9f2:c46d:45b48f67:6f status: 3 ); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple ac, BasicAction: -53efc9f2:c46d:45b48f67:6f status: 3 )) | My setup is.. EAR file contains i. Domain model jar for the main database access ii. Domain model for an external contact address database iii. EJB jar for accessing the main database iv. EJB jar for accessing the external address system The scenario is.. 1. Client application calls a SLSB (Stateless Session Bean) that accesses the main application database (item iii. in the EAR file content list above) 2. This EJB then calls a SLSB for the external address system to get some address details from the external address system (item iv. in the EAR file content list above) 3. This should return to the calling SLSB and then that call should return to the client application. The exception is thrown when the first SLSB calls the second SLSB. More complete logs including the server log with TRACE logging switched on for org.jboss.resource.connectionmanager.TxConnectionManager are available at: http://devissues.googlepages.com/jboss5txenlistproblem The jboss console output at the time of the error is: | 10:19:53,324 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: null | 10:19:53,324 ERROR [JDBCExceptionReporter] Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple ac, BasicAction: -53efc9f2:c46d:45b48f67:6f status: 3 ); - nested throwable: (org.jboss.resource.JBossResourceException: Could not enlist in transaction on entering meta-aware object!; - nested throwable: (javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist resource, see the previous warnings. tx=TransactionImple ac, BasicAction: -53efc9f2:c46d:45b48f67:6f status: 3 )) | 10:19:53,450 WARN [loggerI18N] [com.arjuna.ats.internal.jta.transaction.arjunacore.enliststarterror] [com.arjuna.ats.internal.jta.transaction.arjunacore.enliststarterror] TransactionImple.enlistResource - XAResource.start returned: XAException.XAER_PROTO for 131075, 28, 26, 1--53efc9f2:c46d:45b48f67:7f-53efc9f2:c46d:45b48f67:8b | 10:19:53,450 ERROR [STDERR] org.jboss.resource.connectionmanager.JBossLocalXAException: Trying to start a new tx when old is not complete! old: 131075, 28, 26, 1--53efc9f2:c46d:45b48f67:6f-53efc9f2:c46d:45b48f67:7e , new 131075, 28, 26, 1--53efc9f2:c46d:45b48f67:7f-53efc9f2:c46d:45b48f67:8b , flags 0 | 10:19:53,451 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource.start(TxConnectionManager.java:938) | 10:19:53,451 ERROR [STDERR] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:667) | 10:19:53,451 ERROR [STDERR] at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:415) | 10:19:53,451 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:825)10:19:53,451 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:616) | 10:19:53,451 ERROR [STDERR] at org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:373) | 10:19:53,451 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:516) | 10:19:53,451 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:397) | 10:19:53,451 ERROR [STDERR] at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:838) | 10:19:53,451 ERROR [STDERR] at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) | 10:19:53,451 ERROR
[jboss-user] [Messaging, JMS JBossMQ] - InvalidDestinationException with Null Persistence
If I use a Topic with Null Persistence, I receive the error above: javax.jms.InvalidDestinationException: This destination does not exist! TOPIC.centroMessaggiQuotista | at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:407) | at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:399) | at org.jboss.mq.server.JMSServerInterceptorSupport.addMessage(JMSServerInterceptorSupport.java:106) | at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:168) | at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:226) | at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:112) | at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:111) | at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:395) | at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) | at java.lang.Thread.run(Thread.java:595) What do I miss about config? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004795#4004795 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: AOP integration with JMX question
bossy wrote : | My question is - is it possible to do write an Ascpect XMBean and if so - where should I look for more details. | Not really, but it should be possible to have your plain aspect delegate onto an MBean that can be used to store/display the stats? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004796#4004796 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Configuration Type, while defining an action handler???
A pretty blatant case of RTFM, no wonder Ronald gets so ornery! See http://docs.jboss.org/jbpm/v3/userguide/jpdl.html#configurationofdelegations View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004797#4004797 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004797 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Hiding of portlet
Hi , I have a portal page(Home) whose security policy as security-constraint policy-permission action-nameviewrecursive/action-name /policy-permission /security-constraint I have admin, HR , Telecom as roles defined. I want a portlet (in Home page) should not be visible when the user is not logged in. As soon as a user having Role as HR logs in the porlet should be visible. Again if a user with role Telecom logs in the portlet should not be visible. I have found that in http://jira.jboss.com/jira/browse/JBPORTAL-405 URL that it should be possible. But I am not understanding which XML file setting should be changed. Please help me on the same. regards Surajit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004803#4004803 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: JBoss 5 Tx Enlist Problem
I've found what appears to be the solution. JBoss TS in JBoss 5 does not support multiple Local datasources. They need to be XA data sources. See http://www.jboss.com/index.html?module=bbop=viewtopict=95615postdays=0postorder=ascstart=0 http://www.jboss.com/index.html?module=bbop=viewtopicp=3988662#3988662 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004816#4004816 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache: java.lang.NoSuchMethodException: addObserver
Thanks! Also, I wrote down all the steps it took to install and run PojoCache in JBoss 4.0.5. Since I found the info scattered across various documents and questions in the forum, it was a several day effort which could be cut to 15 mins with a list of steps in one place. Would you like me to pass it along to you? J View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004814#4004814 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: AOP integration with JMX question
Thanks, but could you be more specific about what you mean when you say: anonymous wrote : ... plain aspect delegate onto an MBean ... I tried the following: In my aspect I make this call: server.invoke(statsMBean, increaseCount, null,null); , which works fine, but the problem is that in order to be able to call the increaseCountmethod from my aspect I need to expose it in the -xmbean.xml, which in turn makes it available to the user in the JMX console, i.e the user can increase the count from the JMX console. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004818#4004818 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Maven2
I have come a long way of getting all the dependencies by looking at the source. But I encountered some problems. 1. To compile Seam it depends on Embeddable EJB3 (version ALPHA_8-patch2 for Seam 1.1.0GA). The available jar of this library (jboss-ejb3-all.jar) not only contains the specific embeddable ejb3 classes but also a lot of classes from other libraries. If I would use this library in the POM then it could cause dependency conflicts, so we shouldn't to that. The best solution is probably to compile this library without those third-party libraries within it. I haven't tried this yet... 2. Seam depends on several libraries that are only distributed via the JBoss AS. What version number should they get? The same as JBoss AS? These libraries should become available in the Maven repository as separate libraries. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004811#4004811 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004811 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - unable to run webservice as window service
i am using jboss.i am able to run the webservice from cmd.but when i am running the same code as windows service i am geeting the follwing exception org.apache.axis.ConfigurationException: org.apache.axis.deployment.wsdd.WSDDException: Must include type attribute for Handler deployment! org.apache.axis.deployment.wsdd.WSDDException: Must include type attribute for Handler deployment! at org.apache.axis.deployment.wsdd.WSDDHandler.(WSDDHandler.java:50) at org.apache.axis.deployment.wsdd.WSDDChain.(WSDDChain.java:66) at org.apache.axis.deployment.wsdd.WSDDRequestFlow.(WSDDRequestFlow.java:44) at org.apache.axis.deployment.wsdd.WSDDGlobalConfiguration.(WSDDGlobalConfiguration.java:62) at org.apache.axis.deployment.wsdd.WSDDDeployment.(WSDDDeployment.java:230) at org.apache.axis.deployment.wsdd.WSDDDocument.setDocument(WSDDDocument.java:139) at org.apache.axis.deployment.wsdd.WSDDDocument.(WSDDDocument.java:65) at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.java:179) at org.apache.axis.AxisEngine.init(AxisEngine.java:172) at org.apache.axis.AxisEngine.(AxisEngine.java:156) at org.apache.axis.client.AxisClient.(AxisClient.java:52) at org.apache.axis.client.Service.getAxisClient(Service.java:104) at org.apache.axis.client.Service.(Service.java:144) at systemlookup.SystemLookupRemoteServiceLocator.(SystemLookupRemoteServiceLocator.java:17) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at com.doubleclick.dart.ui.dfptool.wolf.wolfwebservices.RemoteUtils.createServiceOfType(RemoteUtils.java:182) at com.doubleclick.dart.ui.dfptool.wolf.wolfwebservices.RemoteUtils.getServiceOfType(RemoteUtils.java:98) at com.doubleclick.dart.ui.dfptool.wolf.wolfwebservices.RemoteStubProvider.getRemoteService(RemoteStubProvider.java:49) at com.doubleclick.dart.ui.dfptool.wolf.wolfwebservices.WebserviceClient.(WebserviceClient.java:40) at com.doubleclick.dart.ui.dfptool.wolf.wolfadcreation.WolfAdCreationAction.processWolfShow(WolfAdCreationAction.java:490) at com.doubleclick.dart.ui.dfptool.wolf.wolfadcreation.WolfAdCreationAction.perform(WolfAdCreationAction.java:99) at com.doubleclick.struts.action.Action.execute(Action.java:420) at com.doubleclick.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:485) at com.doubleclick.thinclient.action.ThinClientRequestProcessor.processActionPerform(ThinClientRequestProcessor.java:64) at com.doubleclick.struts.action.RequestProcessor.process(RequestProcessor.java:276) at com.doubleclick.struts.action.ActionServlet.process(ActionServlet.java:1485) at com.doubleclick.thinclient.action.ThinClientActionServlet.process(ThinClientActionServlet.java:928) at com.doubleclick.thinclient.action.ThinClientActionServlet.doPost(ThinClientActionServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.doubleclick.dart.ui.dfptool.filter.PreEntryFilter.doFilter(PreEntryFilter.java:84) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at com.doubleclick.thinclient.filter.EntryFilter.doFilter(EntryFilter.java:128) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:153) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at
[jboss-user] [JBoss Seam] - Some basic JPDL questions
Hi, I´ve got some basic JPDL-questions while trying to create a wizard for registering new user. I had a jpdl-flow, which started with the following JSF-Tag: | s:link id=registerNewUser view=/registerUser/registerNewUser.xhtml propagation=begin pageflow=registerUser#{messages.userCreateUser}/s:link Now I changed this call to the following code-snippet, because I have to call a method to do something before the pageflow starts: | s:link id=registerNewUser2 action=#{ registerUserAction.startRegisterUser() }#{messages.userCreateUser}/s:link This goes together with the following jpdl-file: | ?xml version=1.0 ? | | pageflow-definition name=registerUser | | start-state name=start | transition name=next to=userData/ | /start-state | | page name=userData view-id=/registerUser/registerNewUser.xhtml | redirect/ | transition name=next to=evaluateUserEmail / | transition name=cancel to=cancelRegistration / | /page | | | | decision name=addNewUser expression=#{registerUserAction.addNewUser} | transition name=true to=finish / | transition name=false to=finalSummary/ | /decision | | page name=finish view-id=/registerUser/finish.xhtml no-conversation-view-id=/registerUser/registerNewUser.xhtml | redirect/ | end-conversation/ | /page | | /pageflow-definition | The method startRegisterUser(), that´s called before jdpl starts looks like this: | @Begin(pageflow=registerUser) | public String startRegisterUser() { | System.out.println(Starting process startRegisterUser); | | | return next; | } | Now I experience the following problems: 1. It seems, as if the pageflow doesn´t end properly. Although I have the end-conversation/-Tag in my jpdl-definition, I still get the values from the last conversation in my form, when clicking the link again after the old one has ended? Same thing if I use the @End annotation and call it within one method. Do I have to reset all objects used in my conversation manually or is there a way to invalidate them, so they don´t show up again? 2. When I click on my link and start my jpdl with the action, I get the following exception, but the pageflow works anyway. But I guess there´s a reason for it and I should solve this somehow. 14:01:26,135 ERROR [PhaseListenerManager] Exception in PhaseListener RENDER_RESPONSE(6) beforePhase. | java.lang.IllegalStateException: No page context active | at org.jboss.seam.core.FacesPage.instance(FacesPage.java:87) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:219) | at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:51) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at
[jboss-user] [EJB/JBoss] - Cluster and EJB through IIOP
Hello everybody, I have EJB's deployed on my jboss4.0.5GA. They are invoked by .Net client through IIOP. I'd like to have a cluster with two nodes. I'm trying to do it with the same client but it doesn't work.The client code to call the EJB is: string nameserviceLoc = corbaloc:: + server + : + nameServicePort + /JBoss/Naming/root; NamingContext m_nameService = (NamingContext)RemotingServices.Connect(typeof(NamingContext), nameserviceLoc); It only works if the jboss is running on the server machine. When I stop the jboss on server machine the client cannot communicate with the other node of the cluster. Can this configuration works? Is clustering incompatible with IIOP in .net client? Thanks in advance and best regards. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004819#4004819 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: MBean indicators
THe HSQLDB-DS.xml file looks like this: ?xml version=1.0 encoding=UTF-8 ? - !-- The Hypersonic embedded database JCA connection factory config $Id: hsqldb-ds.xml,v 1.15 2004/09/15 14:37:40 loubyansky Exp $ -- - - local-tx-datasource - !-- The jndi name of the DataSource, it is prefixed with java:/ -- - !-- Datasources are not available outside the virtual machine -- jndi-nameDefaultDS/jndi-name - !-- for tcp connection, allowing other processes to use the hsqldb database. This requires the org.jboss.jdbc.HypersonicDatabase mbean. connection-urljdbc:hsqldb:hsql://localhost:1701/connection-url -- - !-- for totally in-memory db, not saved when jboss stops. The org.jboss.jdbc.HypersonicDatabase mbean necessary connection-urljdbc:hsqldb:./connection-url -- - !-- for in-process persistent db, saved when jboss stops. The org.jboss.jdbc.HypersonicDatabase mbean is necessary for properly db shutdown -- connection-urljdbc:hsqldb:${jboss.server.data.dir}${/}hypersonic${/}localDB/connection-url - !-- The driver class -- driver-classorg.hsqldb.jdbcDriver/driver-class - !-- The login and password -- user-namesa/user-name - !-- example of how to specify class that determines if exception means connection should be destroyed -- - !-- exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.DummyExceptionSorter/exception-sorter-class-name -- - !-- this will be run before a managed connection is removed from the pool for use by a client -- - !-- check-valid-connection-sqlselect * from something/check-valid-connection-sql -- - !-- The minimum connections in a pool/sub-pool. Pools are lazily constructed on first use -- min-pool-size5/min-pool-size - !-- The maximum connections in a pool/sub-pool -- max-pool-size20/max-pool-size - !-- The time before an unused connection is destroyed -- - !-- NOTE: This is the check period. It will be destroyed somewhere between 1x and 2x this timeout after last use -- - !-- TEMPORARY FIX! - Disable idle connection removal, HSQLDB has a problem with not reaping threads on closed connections -- idle-timeout-minutes0/idle-timeout-minutes - !-- sql to call when connection is created new-connection-sqlsome arbitrary sql/new-connection-sql -- - !-- sql to call on an existing pooled connection when it is obtained from pool check-valid-connection-sqlsome arbitrary sql/check-valid-connection-sql -- - !-- example of how to specify a class that determines a connection is valid before it is handed out from the pool valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.DummyValidConnectionChecker/valid-connection-checker-class-name -- - !-- Whether to check all statements are closed when the connection is returned to the pool, this is a debugging feature that should be turned off in production -- track-statements / - !-- Use the getConnection(user, pw) for logins application-managed-security/ -- - !-- Use the security domain defined in conf/login-config.xml -- security-domainHsqlDbRealm/security-domain - !-- Use the security domain defined in conf/login-config.xml or the getConnection(user, pw) for logins. The security domain takes precedence. security-domain-and-applicationHsqlDbRealm/security-domain-and-application -- - !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -- - type-mappingHypersonic SQL/type-mapping - !-- This mbean can be used when using in process persistent hypersonic -- jboss:service=Hypersonic,database=localDB /local-tx-datasource - !-- This mbean should be used only when using tcp connections. Uncomment when the tcp based connection-url is used. 1701 true default false true -- - !-- This mbean can be used when using in process persistent db -- - localDB true And the file we use as default looks like - - local-tx-datasource jndi-nameDB2DS/jndi-name connection-urljdbc:db2:mvs.xx/connection-url driver-classCOM.ibm.db2.jdbc.app.DB2Driver/driver-class user-namexx/user-name xxx /local-tx-datasource - local-tx-datasource jndi-namejdbc/clr/jndi-name connection-urljdbc:oracle:thin:@xx/connection-url driver-classoracle.jdbc.driver.OracleDriver/driver-class user-nameorbit_clm/user-name orbit_clm max-pool-size20/max-pool-size exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name /local-tx-datasource I know that the Oracle connection is valid, but I am not sure of the DB2 connection, since that is an older connection string to a legacy application View the original post :
[jboss-user] [JBoss Seam] - Re: Can't get the Seam Exception Handling feature to work.
Does seam exception handling only handle in invoke application phase? or is suppose to handle exceptions in ALL phases? BTW, my environment is MyFaces 1.1.3, Facelets 1.1.11, Seam 1.1.0, A4J 1.0.2, weblogic.. Everythings else works great including seam(mainly use for wizard conversation) Thanks, Bill View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004825#4004825 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Creating a new file using CMS and French language
JBOSS 2.6 ALPHA1 (bundled) on Windows 2003 I was trying to create a file named index.html in the default folder but using French instead of English as the chosen language. I know that a file already exists in the default folder with the same filename (using English as the selected language) however in previous JBOSS versions I was able to create more than one file with the same filename as long as the language was different. In this case, as soon as I clicked on the Create button I got the following error message: - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:407) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause java.lang.IllegalStateException org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:418) org.jboss.portal.core.controller.classic.AbstractResponseHandler.sendStatusCode(AbstractResponseHandler.java:44) org.jboss.portal.core.controller.portlet.PortletResponseHandler.handleResponse(PortletResponseHandler.java:136) org.jboss.portal.core.controller.classic.ClassicController.handleResponse(ClassicController.java:166) org.jboss.portal.core.controller.classic.ClassicController.handle(ClassicController.java:91) sun.reflect.GeneratedMethodAccessor300.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) org.jboss.mx.server.Invocation.invoke(Invocation.java:88) org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) org.jboss.mx.server.Invocation.invoke(Invocation.java:88) org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287) $Proxy171.handle(Unknown Source) org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51) org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:67) org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:108) org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:194) org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:85) org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49) org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N514360653004530.invokeNext(TransactionInterceptor$invoke_N514360653004530.java) org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262) org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N514360653004530.invokeNext(TransactionInterceptor$invoke_N514360653004530.java) org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java) org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
[jboss-user] [JBossCache] - Could a recent version be uploaded to the maven2 repository
The latest version on ibiblio is 1.2.2? Are there any plans to upload any of the later versions? If this is impossible due to to legal/technical/political reasons, could the wiki document which files need to be in our local repository? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004828#4004828 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004828 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - who can help me?I am stamped by Interceptor of seam
When I run example icefaces,I debug class LoggedInInterceptor.But I found : import javax.faces.event.PhaseId; | | import org.jboss.seam.annotations.Interceptor; | import org.jboss.seam.contexts.Contexts; | import org.jboss.seam.contexts.Lifecycle; | import org.jboss.seam.interceptors.BijectionInterceptor; | import org.jboss.seam.interceptors.BusinessProcessInterceptor; | import org.jboss.seam.interceptors.ConversationInterceptor; | import org.jboss.seam.interceptors.RemoveInterceptor; | import org.jboss.seam.interceptors.ValidationInterceptor; | | @Interceptor(around={BijectionInterceptor.class, ValidationInterceptor.class, | ConversationInterceptor.class, BusinessProcessInterceptor.class}, | within=RemoveInterceptor.class) | public class LoggedInInterceptor | { | |@AroundInvoke |public Object checkLoggedIn(InvocationContext invocation) throws Exception |{ | boolean isLoggedIn = Contexts.getSessionContext().get(loggedIn)!=null; | if ( Lifecycle.getPhaseId()==PhaseId.INVOKE_APPLICATION ) | { | if (isLoggedIn) | { | return invocation.proceed(); | } | else | { | return login; | } | } | else | { | if ( isLoggedIn ) | { | return invocation.proceed(); | } | else | { | | Method method = invocation.getMethod(); | if ( method.getReturnType().equals(void.class) ) | { |return null; | } | | else | { |return method.invoke( invocation.getTarget(), invocation.getParameters() ); | } | } | } |} | | } Why return null not return 'login' in red fragment. I clicked link http://localhost:8000/seam-registration/main.seam?cid=2; , it did not return to login page. So I fixed retrun null above to return 'login', but it still did not return to login page. Through logging, I found if Lifecycle.getPhaseId()!=PhaseId.INVOKE_APPLICATION, it will never be redirect to new page. How can I redirect to new page in Interceptor, and who can tell me how does Interceptor work? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004831#4004831 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Will jbpm 3.2 Beta2 Suite be released?
Hi, was wondering, if jbpm 3.2 Beta2 suite will be released, as the roadmap says that 19.01.2007 should have been the release date for that. I write my thesis on workflow-systems and chose jbpm for an implementation of a test system in a organisation. As i am not an Information Science student i am not able to build files from the cvs (yet). The Beta1 release comes with the navigation-bug which causes, that when the user finishes a task an error message is displays (although the token is fired correctly). I've read on the forum, that this is caused because of a typo and the issue is fixed in current versions inside the cvs. Thanks in advance for your answer. Any hint is appreciated... BTW: You are doing a great job, guys! I've been observing the development of different systems during the last few month. The JSF-based Web-App finally led me to the choice of jbpm for my studies. Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004833#4004833 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004833 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using Jasper Reports with Seam/JBoss
petemuir wrote : http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamResourceLoader | | or better, consider using Seam's built in PDF generation. We're not there yet, but I am planning to add charting to the PDF generation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004834#4004834 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Re: Javassist PermGen Problem with MyFaces
We were having similar problems with PermGen unrelated to remote calls, we upgraded to Javassist 3.4 and Hibernate 3.2.1.GA off of HEAD, and it looks to have greatly improved the problem. Might be worth trying for you as well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004837#4004837 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Changing context root
Hi All, I'm using Jboss Portal 2.4 bundled version. I downloaded the sample for defining a new portal instance. By navigating to the URL http://localhost:8080/portal/portal/HelloPortal, I was able to view the default page. How can I access the default page by typing the URL as http://localhost:8080/HelloPortal ? I want to remove /portal/portal from the URL. How can I achieve it? I tried changing the jboss-web.xml (ie., I changed context-root/HelloPortal/context-root) from the location jboss-portal-2.4.0\server\default\deploy\jboss-portal.sar\portal-server.war\WEB-INF Restarted the server and accessed the http://localhost:8080/HelloPortal I was able to see the default page of the default portal. when I accessed http://localhost:8080/HelloPortal/foobar I'm still viewing the default page instead of foobar page. Please help me. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004838#4004838 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to create JBOSS AS for dubug?
You are right. It's SDK 3.2 with JBOSS IDE 1.6. If there are not compatible, what's the solution for my request? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004839#4004839 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Resource Not Available during shutdown
I have a two-node cluster (Apache v2.2, JBoss 4.0.5.GA) with HTTP session replication set up per instructions in the JBoss documentation. Everything works great. Except... During the time that jboss is shutting down on one of the servers, Apache will still direct requests to it. Because my web app is no longer deployed, Tomcat sends a Resource Not Available error. If I wait for JBoss to quit, the session fails over to the other node, and everything is fine. Is there a way I can force Apache to stop sending requests to a Tomcat instance the instant JBoss starts shutting down? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004842#4004842 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - query builder api
what do we mean by query builder api in hibernate? is it mean using HQL api in Hibernate or something else. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004841#4004841 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Logging question (repository selector with local and global
Hi, I have a question regarding logging with log4j. I used the example repositoryselector.zip (http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging) from the Wiki Knowledge Base to enable logging on a per-webapp basis, i.e. now I can use a log4j.xml file for each deployment I have. This works fine so far. The problem I have now is that all logging messages are written to the appenders I specified in those 'local' log4j.xml file. How would I be able to specify that only some logging messages are written to the 'local' logging-file while others are still written, say, to the server.log? Is there a way to access the 'global' specified appender FILE from the JBoss\conf\log4j.xml file? To make it a bit more precise, say, I have two classes A and B deployed as mydeployment application. Within the log4j.xml file below mydeployment I would like to specify that logging msgs from class A are written to a 'local' log-file (say classA.log), while logging messages from class B are written to the server.log (the server.log that is specified in JBoss\conf\log4j.xml). The example in repositoryselector.zip shows me only how to log either all msgs to server.log or to the 'local' specified log-file. Please note that the logging messages should appear only once, i.e. either in the server.log file xor in the 'local' log-file. Is there a way to do this by configuration, or will I need to change the repository selector implementation? Anyway a detailed answer would be appreciated. Thank you very much for your time and help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004846#4004846 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: PojoCache: java.lang.NoSuchMethodException: addObserver
Sure. Please open up a jira for it and attach your doc. I will then merge it into the regular doc. thanks again! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004847#4004847 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: access faces-config.xml in a java bean
Halo, thx for the answer i have 2 questions on this. 1) Why the seam developers decided to introduce a new workflow config file (pages.xml) instead using the jsf approach (faces-config.xml), are there any real advantages on this ? (i have about 50 navigation rules in faces-config.xml, would be a pain to migrate them) 2) Is there a short example with pages.xml and how to acces them with the build in component your mentionend ? Thank your very much, Holger View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004844#4004844 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: How to create JBOSS AS for dubug?
You'll either need to download jboss ide 1.6 with eclipse 3.1 and run it as per the tutorial, or, download jboss ide 2.0 beta2 and use the new server ui. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004850#4004850 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004850 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Can't get the Seam Exception Handling feature to work.
I am seeing this on my log 2007-01-22 10:26:06,636 INFO org.jboss.seam.core.Exceptions - reading exceptions.xml 2007-01-22 10:26:06,667 ERROR org.jboss.seam.core.Exceptions - redirecting to debug page Looks like I am in the right path, but I don't remember requiring to create a debug page and how come it does not redirect to my error page.. Thanks, Bill View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004851#4004851 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Many-to-one writes non-existing IDs to the DB occasionally
Hello, I have encountered a strange problem. I'm using JBoss4.0.4GA with EJB3. I have a global ID scheme for all my Entity beans, the IDs are generated by a TableGenerator, and are Longs which start with 100.000 and count upwards. I have an instance of bean A with a many-to-one relationship to instances of bean B. Recently I got the follwing exception when loading an certain instance of A from the DB: javax.persistence.EntityNotFoundException: Unable to find {bean B} with id 87005 Which is pefectly sane, because there is no bean B with this ID (I checked in the DB). But I also found in the DB that in the row for bean A, in the column where B's Id should be found, there was indeed the value '87005'. That ID can never have existed before, because as I said, they started with 100.000 and count upwards. Does anyone have an explanation for that behaviour? Why was this impossible ID ever written to the DB? It is not reproducable, I have many rows in the table for bean A where the relationship to B is just fine. This occured for only 6 of about 6000 beans of type A. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004853#4004853 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 interfaces questions
1) Nope. I would recommend keeping the methods in your interface Reverse, then make a couple of children, ReverseLocal and ReverseRemote, and making these your @Local and @Remote APIs. 2) Depends on your packaging. http://docs.jboss.org/ejb3/app-server/tutorial/jndibinding/jndi.html ...shows the defaults. http://jboss.org/wiki/Wiki.jsp?page=DisplayTheJDNITreeWithTheJMXConsole ... shows how to see what's actually in the JNDI Tree. 3) Servlet injection is not currently supported, though will be in the future. 4) You mean the JAR that contains all the classes needed of an EJB3 client? Everything you need should be in $JBOSS_HOME/client, most notably the jboss-all-client.jar and the EJB3 JARs. 5) http://trailblazer.demo.jboss.com/EJB3Trail/ ...and http://docs.jboss.org/ejb3/ ...which is a little outdated. S, ALR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004854#4004854 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - java.lang.ClassCastException
hey guys, i am stuck on this problem for a very long time and need some helpi request the Jboss technical team to please help me on this... i am trying to deploy a struts application as a portlet on jboss portal 2.4.0.GA. However the application gets deployed successfully and i see the portal-page when i access http://localhost:8080/portal. However when i click on the portal page It gives an error Object not found SETLInstanceName. | 2007-01-22 20:25:20,271 DEBUG [org.jboss.portal.portlet.container.PortletContainer] Loading portlet class org.apache.portals.bridges.struts.StrutsPortlet | 2007-01-22 20:25:20,286 DEBUG [org.jboss.portal.portlet.container.PortletContainer] Creating portlet object org.apache.portals.bridges.struts.StrutsPortlet | 2007-01-22 20:25:20,302 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=portal:container=Portlet,id=SETLAppName.SETLPortletName state=Create | org.jboss.portal.portlet.container.PortletInitializationException: The portlet SETLPortletName threw a runtime exception during initat org.jboss.portal.portlet.container.PortletContainer.start(PortletContainer.java:287) | at org.jboss.portal.portlet.container.PortletContainerAdapter.start(PortletContainerAdapter.java:74) | at sun.reflect.GeneratedMethodAccessor126.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.joinpoint.plugins.reflect.ReflectMethodJoinPoint.dispatch(ReflectMethodJoinPoint.java:72) | at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:92) | at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:452) | at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:147) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151) | at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:74) | at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:232) | at org.jboss.portal.core.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:79) | at org.jboss.portal.server.deployment.jboss.PortalDeploymentInfo$DeploymentContext.start(PortalDeploymentInfo.java:211) | at org.jboss.portal.server.deployment.jboss.ServerDeployer.start(ServerDeployer.java:242) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) | 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:585) | 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:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy107.deploy(Unknown Source) | at org.jboss.portal.server.deployment.jboss.ServerDeployer.deploy(ServerDeployer.java:296) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at
[jboss-user] [JBoss Seam] - Re: Injection in Interceptor classes
Ya me agregué. contá con lo que sea que pueda darte una mano. Suerte con el foro View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004856#4004856 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 interfaces questions
Dear All, Thank you very much for all your comments. I really appreciate them. Best regards. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004857#4004857 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - PersistenceContext in distributed environment
Hi, I want to split up my seam application into 2 different application, so that I can use one JBoss as a webserver and another one as the application-server with the underlyng database. Therefor I use the EntityManager only on the application-server, so that all the updates etc. on the database all go through the same method. Now I experience problems when using my entities and want to use object, that are lazy-loaded. One example, I have a User-object with a UserLog: | @Name(user) | @Scope(ScopeType.SESSION) | public class User implements Serializable { | ... | | @OneToMany(cascade = CascadeType.ALL, mappedBy = user, fetch=FetchType.LAZY) | private SetUserLog userLogCollection ; | | ... | | public SetUserLog getUserLogCollection() { | return this.userLogCollection; | } | | protected void setUserLogCollection(SetUserLog userLogCollection) { | this.userLogCollection = userLogCollection; | } | | public void addUserLog(UserLog userLog) { | if (this.userLogCollection == null) { | this.userLogCollection = new HashSet(); | } | this.userLogCollection.add(userLog); | } | | When I Login I query the EnitityManager through my application-server and return the user-object. When I try to add a new UserLog-Object using the methods of my entity object I get a LIE, probably because the user-object is detached: | 16:45:59,978 ERROR [LazyInitializationException] failed to lazily initialize a collection of role: common.entity.User.userLogCollection, no session or session was closed | org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: common.entity.User.userLogCollection, no session or session was closed | at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358) | at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350) | at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:343) | at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86) | at org.hibernate.collection.PersistentSet.toString(PersistentSet.java:309) | at java.lang.String.valueOf(String.java:2615) | at java.lang.StringBuilder.append(StringBuilder.java:116) | When I do this through a method on my application-server together with a em.merge, everything works fine, because the entity becomes managed again. But this cannot be the solution, as would have to write a method for every lazy-loaded object on my application-server. | public User addUserLog(User user, UserLog userLog) { | User userTmp = (User) em.merge(user); | userTmp.addUserLog(userLog); | return userTmp; | } | I tryied to work with the Seam Managed Persistence Context, but as far as I could see in the documentation I have to initialize the EntityManager through the [EMAIL PROTECTED], which doesn´t seem very good, if I would like to have seam-independent controller-beans on my application server. What would be the best solution to work with lazily-loaded objects in a distributed environment? Does anyone have some experiences with that and therefor has a good recommendation? Thank you very much Thomas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004859#4004859 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Allocate Transitions / States to Swimlanes
Hi all, I'm trying to model a process where I would like to allocate not only tasks, but also transitions and states to swimlanes. The reason is that if the model reaches a particular state-node/task-node, and there is more than one transition out of the state, I only want particular users to be able to choose particular transitions. For example, if I was modelling the process of producing content for a website, I might have a process that goes: Start - Created - Authored - Reviewed At the Reviewed stage, there are transitions called fail review, pass review and delete. I want standard users to be able to choose the transitions fail review and pass review, but admin users are also able to choose delete. Is this kind of thing possible? Cheers, Phil. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004861#4004861 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004861 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Please help me, urgent, waiting online
No, I means that the datatable wouldn't help either. Because the parameter to pass is the sub-objects in the datamodel ProductCCList. It isn't a datamodel, so the parameter passing not work. Just as christian.bauer said, the parameter should be the varible in the scope, so the product list don't work. So what else can be used except pull style? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004863#4004863 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Stateless Session bean throwing error
Hi Vishnu, seems a Null pointer exception has occured in ReportBean.java:1087. Could you post the code of this method ? Wolfgang View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004865#4004865 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Configuration Type, while defining an action handler???
:-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004867#4004867 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004867 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: access faces-config.xml in a java bean
Take a look at 5.1.1.2 in the 1.1.1.GA reference manual - it has the advantages and how to use them. It looks to me like Pages.getPage(viewId).getNavigations should be allow you access to navigation rules. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004868#4004868 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: removeTaskInstance doesn't work!
do you see sql statements at all? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004870#4004870 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004870 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Configuration Type, while defining an action handler???
nice word btw... ornery lots of different 'synonyms' http://thesaurus.reference.com/browse/ornery View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004869#4004869 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004869 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - JMS MessageID generation logic in JBossMessaging 1.2.x (clus
Hi, What is the logic in generating the JMS Message IDs in case of a clustered deployment? Will the message IDs be tagged with the serverID? or Will the message IDs be using blocks of sequence assigned to each server in the cluster? Essentially, will the IDs be unique between the servers in the cluster (if I ignore the non-numeric part)? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004871#4004871 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - New fileUpload component
I've committed a basic working version of a fileUpload tag to CVS. It doesn't need all the additional jar files that the tomahawk component requires, and is greatly simplified from the 17 levels of abstraction that the Apache version implements. Usage is as such: page: s:fileUpload id=picture value=#{register.picture}/ web.xml: filter | filter-nameSeam Multipart Filter/filter-name | filter-classorg.jboss.seam.servlet.SeamMultipartFilter/filter-class | /filter | | filter-mapping | filter-nameSeam Multipart Filter/filter-name | url-pattern*.seam/url-pattern | /filter-mapping action class: | @Name(register) | public class RegisterAction implements Register | { |private byte[] picture; | |public void setPicture(byte[] picture) |{ | this.picture = picture; |} | |public byte[] getPicture() |{ | return picture; |} | } | That's all there is to it. It doesn't do anything fancy yet such as progress notification, etc, or for that matter even store the filename. It would be nice though if someone could give it a try and report back any issues/feature requests either in this thread, or on the following JIRA page: http://jira.jboss.org/jira/browse/JBSEAM-630 Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004872#4004872 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004872 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Securing the Default Page
Hi, Is there a way to secure all access to Portal, I want the user to be brought to a login page right away to be authenticated. I cannot seem to get the default page secured. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004873#4004873 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004873 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: access faces-config.xml in a java bean
thx for the tip, ill put some time on it and take a look at it right now. If i got any problem, can i post in this thread again? thx very much(this is really the only bulletin board where ppl understand what i want and help me), Bye, Holger View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004874#4004874 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: xml encription and signature in JBossWS
We have JBoss 4.0.5, which includes JBossWS. From the following page http://labs.jboss.com/portal/jbossws/user-guide/en/html/wssecurity.html it looks like I should be able to do XML signing of Web Service requests. Is it true or do I need additional components to digitally sign my SOAP request? Thanks. [EMAIL PROTECTED] wrote : WS-Security is only available in HEAD, where Apache Axis does not enter the game. There is no backport to jboss-4.0.x, yet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004879#4004879 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS MessageID generation logic in JBossMessaging 1.2.x (
Message ids are generated from blocks leased from the servers. Of course, they will be unique. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004876#4004876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - resourceBundle not working...
hello in my components.xml i have: | component name=org.jboss.seam.core.resourceBundle | property name=bundleNames | valuecountries/value | valuemessages/value | /property | /component | when i try to get the countries resource i get null. for some reason this resource is not loaded. is this not the way to define a resource ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004883#4004883 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004883 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Can't get the Seam Exception Handling feature to work.
I am having the same problem, I'm eager to see the solution to this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004884#4004884 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - change database
Hi, I am new user jbpm. I read the starter guide (the post above). It is wonderful and helpful for me, but how I can change the database?? I would like use a sql database, no hypersonic. Anyone can to help me?? It is urgent, please!! Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004885#4004885 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004885 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Jboss shut itself down, when I close a Apllet.
What were the lines in the log file immediately before this line: 04:36:07,767 INFO [Server] JBoss SHUTDOWN: Undeploying all packages That line does not state what caused the server to shut down, only that it is shutting down. The lines before that will give some clues as to why the server shut down. Was there a line similar to the following: [Server] Runtime shutdown hook called, forceHalt: true If so, then the either your code or PDFBox called System.exit(), or an INT signal was sent to the server. The again, someone could have called the shutdown method on the jboss.system:type=Server MBean. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004886#4004886 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Securing the Default Page
Try this. In the Administration Portlet, select the default portal and then click on Security. Remove all access rights from the Unchecked role (to unselect an access right, hold the CTRL key while clicking the left mouse button). Now ensure that the User role have view or viewrecursive access. Repeat this for each of the pages in the portal. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004887#4004887 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004887 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: javax.ejb.EJBAccessException while deploying session bea
Hi ! I'm sorry but I have no further ideas. You could try to reinstall the JBoss, maybe something went broken. How did you install it ? Do you start it from console (run.bat) or from inside JBossIDE ? If you did the latter: try to start it from console and copy your app directly to the deploy dir. Wolfgang View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004890#4004890 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - JBossCache with Firebird (using Jaybird driver)
Hello, I am trying to JBoss Cache working with a Firebird database using the Jaybird JDBC driver. However, when I start up my example I get the following exception (see below). I am sure this is because of the BLOB type size limitations, however I'm not entirely sure. I know there is a workaround for Mysql to use longblob instead of blob in the configuration file. Is there something similar for Firebird? Any help is greatly appreciated. Thanks, Ryan Exception in thread main org.firebirdsql.jdbc.FBSQLException: GDS Exception. 335544351. unsuccessf ul metadata update key size too big for index JBOSSCACHE_PK at org.firebirdsql.jdbc.AbstractStatement.executeUpdate(AbstractStatement.java:281) at org.jboss.cache.loader.JDBCCacheLoader.start(JDBCCacheLoader.java:726) at org.jboss.cache.loader.AsyncCacheLoader.start(AsyncCacheLoader.java:303) at org.jboss.cache.loader.CacheLoaderManager.startCacheLoader(CacheLoaderManager.java:353) at org.jboss.cache.TreeCache.startService(TreeCache.java:1413) at org.jboss.cache.aop.PojoCache.startService(PojoCache.java:94) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:181) at TestCache1.main(TestCache1.java:25) at org.firebirdsql.gds.GDSException: unsuccessful metadata update key size too big for index JBOSSCACHE_PK at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.readStatusVector(AbstractJavaGDSImpl.ja va:2113) at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.receiveResponse(AbstractJavaGDSImpl.jav a:2063) at org.firebirdsql.gds.impl.wire.AbstractJavaGDSImpl.iscDsqlExecute2(AbstractJavaGDSImpl.jav a:1155) at org.firebirdsql.gds.impl.GDSHelper.executeStatement(GDSHelper.java:223) at org.firebirdsql.jdbc.AbstractStatement.internalExecute(AbstractStatement.java:1109) at org.firebirdsql.jdbc.AbstractStatement.executeUpdate(AbstractStatement.java:277) at org.jboss.cache.loader.JDBCCacheLoader.start(JDBCCacheLoader.java:726) at org.jboss.cache.loader.AsyncCacheLoader.start(AsyncCacheLoader.java:303) at org.jboss.cache.loader.CacheLoaderManager.startCacheLoader(CacheLoaderManager.java:353) at org.jboss.cache.TreeCache.startService(TreeCache.java:1413) at org.jboss.cache.aop.PojoCache.startService(PojoCache.java:94) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:181) at TestCache1.main(TestCache1.java:25) Configuration file: org.jboss.cache.loader.JDBCCacheLoader !-- same as the old CacheLoaderConfig attribute -- cache.jdbc.table.name=jbosscache cache.jdbc.table.create=true cache.jdbc.table.drop=true cache.jdbc.table.primarykey=jbosscache_pk cache.jdbc.fqn.column=fqn cache.jdbc.fqn.type=varchar(255) cache.jdbc.node.column=node cache.jdbc.node.type=blob cache.jdbc.parent.column=parent cache.jdbc.driver=org.firebirdsql.jdbc.FBDriver cache.jdbc.url=jdbc:firebirdsql:127.0.0.1/3050:pango.fdb cache.jdbc.user=sysdba cache.jdbc.password=xxx !-- whether the cache loader writes are asynchronous -- true !-- only one cache loader in the chain may set fetchPersistentState to true. An exception is thrown if more than one cache loader sets this to true. -- true !-- determines whether this cache loader ignores writes - defaults to false. -- false !-- if set to true, purges the contents of this cache loader when the cache starts up. Defaults to false. -- false View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004892#4004892 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: AOP integration with JMX question
Hmm, What you mention is a problem with JMX, there is no proper way to work around this. One way to enforce that the values can only be set by your aspect would be to have your aspect set/clear a value in a ThreadLocal surrounding the call to invocation.invokeNext() and in the increaseCount() method of your MBean check for the exsistance of that value in the ThreadLocal. If called by the JMX console, i.e. not from the aspecy that ThreadLocal value will not exist, so it is a noop. Alternatively, you could use the aspect instance as a parameter to the increaseCount method, which would make it impossible to invoke via the console. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004893#4004893 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: change database
@estaub: Do you respond or do I? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004894#4004894 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Allocate Transitions / States to Swimlanes
there is a jira issue for this conditional transitions View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004895#4004895 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004895 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - can't find debug.xhtml
For some reason, I cannot get debug.xhtml to work. Note, I had it working before, but after doing some tweaks to my application, it won't find it--gives a 404. The app runs fine. jboss-seam-debug.jar is definitely in WEB-INF/lib. I see this in my log: | 2007-01-22 12:12:39,447 INFO | [org.apache.myfaces.config.FacesConfigurator] Reading config | jar:file:/E:/Dev/jboss-4.0.5.GA/server/default/./deploy/sa.ear/sa.war/WEB-INF/lib/jboss-seam-debug.jar!/META-INF/faces-config.xml | When I enter the URL [http://localhost:8080/sa/debug.seam] it gives a 404, and with the following log: | 2007-01-22 12:22:50,015 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter] Filter start request processing at 1/22/07 12:22 PM for uri: /sa/debug.seam | 2007-01-22 12:22:50,015 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter] Filter request output to XML | 2007-01-22 12:22:50,015 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process before phase RESTORE_VIEW(1) | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] before phase: RESTORE_VIEW(1) | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] beginning transaction prior to phase: RESTORE_VIEW(1) | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.contexts.Lifecycle] Begin web request | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.beforePhase | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.jsf.SeamPhaseListener] after phase: RESTORE_VIEW(1) | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.afterPhase | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.manager | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.manager | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.manager | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.manager | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.manager | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.manager | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.Component] instantiating Seam component: org.jboss.seam.core.facesPage | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.core.facesPage | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.facesPage | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.facesPage | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.facesPage | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.facesPage | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.core.Manager] No stored conversation, or concurrent call to the stored conversation | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] After restoring conversation context: ConversationContext(7) | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.jsf.AbstractSeamPhaseListener] committing transaction after phase: RESTORE_VIEW(1) | 2007-01-22 12:22:50,015 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2007-01-22 12:22:50,015 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process after phase RESTORE_VIEW(1) | 2007-01-22 12:22:50,015 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] Process before phase RENDER_RESPONSE(6) | 2007-01-22 12:22:50,015 DEBUG [org.ajax4jsf.framework.renderer.AjaxPhaseListener] PhaseListener enter Before RenderView Phase with ViewId /debug.xhtml and RenderKitId HTML_BASIC | 2007-01-22
[jboss-user] [JBoss Seam] - Re: can't find debug.xhtml
Nice. Thanks mariuszs. Facelets was already installed. The tweak from before was made in components.xml: before | core:init jndi-pattern=@PROJECT.NAME@/#{ejbName}/local/ | after (now working) | core:init jndi-pattern=@PROJECT.NAME@/#{ejbName}/local debug=true/ | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004899#4004899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Task assignment to group or pooledActors
Hi, I use jbpm-starters-kit-3.2.1 and I have the same problem. When I use swimlane with user expression, that works fine but I don't get to use group expression ) . I defined users, groups and memberships and that is ok but it don't work fine. I don't want to use a alpha version, can anyone help me? thanks and sorry with my english. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4004911#4004911 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4004911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user