[jboss-user] [JBoss Portal] - Re: JSF 1.2 + Woodstock
Actually, there are other comments saying that it should work, so i'm puzzled like you, till i try by myself (But don't have the time right now). Sorry for the confusion. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071837#4071837 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Portlet with Ajax4jsf
A wiki page has started to list the supported components if you try some and sucessfully have them working in a portlet environment please update the page: http://wiki.jboss.org/wiki/Wiki.jsp?page=JSFInPortletEnvironment View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071838#4071838 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF 1.2 + Woodstock
Thomas, thanks for all support you give, and short response time!! I will try putting up a prototype with this combination today to see if it works: JSF RI 1.2 JBoss AS 4.2.0.GA JBoss Portal 2.6 RichFaces (perhaps also Tomahawk, as I need a tree component with checkboxes next to each node in the tree. I've got an example in another thread how to accomplish that). I will of course give feedback in various thread where these topics are covered as soon as I get the results:) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071839#4071839 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Live Sites Using SEAM?
The company I work for has recently launched a new version of our site using Facelets, EJB3, and JSF/Seam. Although I see a lot of activity on these boards, I have yet to see any other sites built on this stack. I know they are out there! Can anyone point me to a few? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071843#4071843 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071843 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SEAM2 fails to inject EntityManager
Such a quick response, such a simple thing, yet such big accomplishment. Thank you ; ) ... now some other things are broken, but I can take it from here ; ) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071845#4071845 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071845 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Maven 2 plugin?
ill try to take care of this today/tomorrow. i just have to decide if we go for multiple aoppath elements ala: aoppaths | aoppathjboss-aop.xmlaoppath | aoppaths or just the pathseparator thats used in ant. - ill probably go for the above since the use of pathseparator isnt very portable... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071847#4071847 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: JNDIDetector removes detections
Hi Alexey, Sorry for the delay in responding. Have you solved your problem, or is it still outstanding? -Ron View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071849#4071849 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to end a conversation with free form navigation
I am thinking if it is a good idea to end the conversation on every link that is not part of the conversation wizard (like menu links , etc). Like h:outputLink s:conversationPropagation type=end/ /h:outputLink View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071850#4071850 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071850 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
Hi Yoni Could you please elaborate on that? Did you manage to get the Jboss Forums application running under JBoss Portal 2.6.1? The setup that Thomas suggets doesn't seem to work. I have trid with a fresh installation of Jboss AS 4.0.5 from the JEMS installer and the binary version of JBoss Portal 2.6.1. This works fine, but when I deploy the Forums application I get: | 09:02:13,781 INFO [FacesConfigurator] Reading config /WEB-INF/forums-config.xml | 09:02:14,062 ERROR [ClassUtils] Class org.jboss.portal.faces.el.DelegatingPropertyResolver not found | java.lang.ClassNotFoundException: No ClassLoaders found for: org.jboss.portal.faces.el.DelegatingPropertyResolver | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:511) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:242) | at org.apache.myfaces.shared_impl.util.ClassUtils.classForName(ClassUtils.java:138) | at org.apache.myfaces.shared_impl.util.ClassUtils.simpleClassForName(ClassUtils.java:157) | at org.apache.myfaces.config.FacesConfigurator.getApplicationObject(FacesConfigurator.java:531) | at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:460) | at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:141) | at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:69) | at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:52) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4211) | 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.GeneratedMethodAccessor163.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | 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.GeneratedMethodAccessor159.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | 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) | . | . | . | /Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071851#4071851 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071851 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF 1.2 + Woodstock
Thanks ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071852#4071852 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to end a conversation with free form navigation
ilya78 wrote : | h:outputLink | s:conversationPropagation type=end/ | /h:outputLink | h:commandLink is correct View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071853#4071853 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: help me with Jboss Forums Problem?
Hello All, If someone has encountered the same question, please reply this topic. Thanks a lot! Scott. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071854#4071854 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: RMI call from JBoss Servlet : Security Exception
Sorry for the delay. If your problem is still outstanding, I'm going to suggest that you post a question on the Installation, Configuration DEPLOYMENT forum at http://www.jboss.com/index.html?module=bbop=viewforumf=61. -Ron View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071855#4071855 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: help me with Jboss Forums Problem?
Hi Scott I am currently trying to get the JBoss Forums application to run under portal 2.6.1 ( I think that is what you mean). So far however I have not been able to do so. You should watch another thread in the JBoss Forum group: [url] http://www.jboss.com/index.html?module=bbop=viewtopict=115459 [/url] Hopefully this will resolve the problem. /Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071856#4071856 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Simple Socket Server (TEXT)?
anonymous wrote : Appologies in advance if the questions are too naive, but I'm just starting with Jboss and have a head full of doubts. No apologies necessary. We all start somewhere. anonymous wrote : I have try to implement a socket server using this approach and have hit a wall. | the timeout attribute works but doesn't close the socket instead it sends error messages to the console. Actually, ServerThread should catch the SocketTimeoutException, close the socket, and return itself to the thread pool. See org.jboss.remoting.transport.socket.ServerThread.dorun(). anonymous wrote : How do I send multiple messages back to the client. There is a callback mechanism in which the server may asynchronously send callbacks to a listener (org.jboss.remoting.callback.InvokerCallbackHandler) on the client side. See Section 5.6. Callbacks in the Remoting Guide (http://labs.jboss.com/jbossremoting/docs/guide/). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071858#4071858 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
Weird because that's what is running on http://portal.demo.jboss.com if i remember well View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071859#4071859 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
Thomas Have you seen this topic: [url] http://www.jboss.com/index.html?module=bbop=viewtopict=115459 [/url] /Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071861#4071861 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071861 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Exposing MBeans with remoting
You might want to look into JSR 160 (JMX Remoting). From the JSR 160 home page (http://jcp.org/en/jsr/detail?id=160): anonymous wrote : | The JMX specification (JSR 3) currently provides the means to create Java based management agents, through standardized techniques for instrumentation, and standardized agent services. But it does not standardize the means to access these agents remotely. | | This JSR will provide one mechanism for remote access by building on the JMX notion ofconnectors. A connector provides a remote client API for a JMX-based agent that is very similar to the local client API. This means that remote clients can call the familiarMBeanServer operations and can register for notifications using the NotificationListener interface. | | This JSR will define what the remote client API looks like and how it behaves. It will also define standard transport protocols that an implementation of the JSR must support, so that different implementations will interoperate. There are multiple implementations, including a JBoss implementation in the SVN repository http://anonsvn.jboss.org/repos/jbossas/trunk/jmx-remoting. There is a brief discussion about it on the wiki page http://www.jboss.org/wiki/Wiki.jsp?page=Remoting. Of course, I suppose you could roll your own by wrapping an org.jboss.remoting.ServerInvocationHandler around an MBeanServer. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071867#4071867 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071867 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
Hi Mimra, I didnt try the 4.05 jboss alternative... I will be interested to know though how do you get it to work? Yoni. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071868#4071868 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Invoke remote EJB3 from JVM 1.4 client
I managed to call remote EJB3 from a JVM 1.4 client. I would be glad to have some feedback on the way I dit it : is it safe? Should I open a JIRA to publish a patch? I use JBoss 4.0.3SP1 with EJB3 RC6. A JDK 1.5 is needed for the EJB3. I need to remotely call some of these EJB from a client that runs on JDK 1.4. It doesn't work natively, because the jboss-ejb3.jar bundled with EJB3 RC6 is compiled with JDK 1.5. It gives errors on major/minor version. So I used JBossRetro (http://labs.jboss.com/jbossretro/) to convert this jar in jdk 1.4 compatible format. That gave me a jar that works in my jdk 1.4 client. I also needed to create a client jar for my EJBs, compiled with a 1.4 target. I had to include the EJB interfaces in it, but they don't compile by default because of the annotations @Local and/or @Remote, so I needed to remove these annotations when I compile the client jar. Thus, I can call my EJB 3 Session Stateless Beans. I need on my client : - the client jar for my EJBs, compiled as explained above - the generated jboss-ejb3-client14.jar - jbossretro-rt.jar - jboss-backport-concurrent.jar - javassist.jar I tested that on JBoss 4.0.3SP1+EJB3 RC6, with Session Stateless Beans only. I have a patch for the current version of ejb3/build.xml. I could not test the generated jar from this script, because I only use JBoss 4.0.3SP1 that doesn't support the latest version of EJB3 jars. I generated my jboss-ejb3-client14.jar with another ant script, that does this : - uncompress the file jboss-ejb3.jar bundled with EJB3 RC6 - delete all files that are not included in jboss-ejb3-client.jar (based on the list of current ejb3/build.xml) - run jbossretro on the classes, using the jboss 4.0.3SP1 libraries on the classpath - recompress the jar Should I create a JIRA for that ? I would be glad to have some feedback on all that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071870#4071870 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071870 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:link EL bug, seam-2.0.0.BETA1
Hello, i moved my project to seam-2.0.0.BETA1, because of great new jboss-el PROBLEM: i am looping over conversation scoped array and generating links with action with integer parameter: | ui:repeat value=#{someArray} var=item | h:commandLink action=#{util.action(item.id)} .../ | /ui:repeat | where util is application scoped object: | @Name(util) | @Scope(APPLICATION) | @Startup | public class Utils { | public String action(Integer id) { | ... | } | } | which works fine until i change h:commandLink to s:link, because of right onversation management s:link always call action with parameter 0, h:commandLink calls action with right integer if this is bug, please repair it, i really like new jboss-el Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071871#4071871 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
i've just seen the topic, so i guess i had a previous version of JBoss Forums that wasn't using the portal faces library. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071872#4071872 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071872 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 remote client
I managed to generate a client jar to call remote EJB3 from a JVM 1.4 client, at least in my case (Session Stateless, JBoss 4.0.3SP1 + EJB3 RC6) I'd like to have your feedback on the way I did it. See http://www.jboss.com/index.html?module=bbop=viewtopict=115520 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071875#4071875 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Any possibility to invoke EJB3 from 1.4 client?
I managed to generate a client jar to call remote EJB3 from a JVM 1.4 client, at least in my case (Session Stateless, JBoss 4.0.3SP1 + EJB3 RC6) I'd like to have your feedback on the way I did it. See http://www.jboss.com/index.html?module=bbop=viewtopict=115520 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071876#4071876 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception thrown on Stateful Session Bean lifecycle
The problem is caused by ... at java.lang.Class.newInstance0(Class.java:335) ... Try this fix: All stateful bean's variables should implement serializable object and contain their own default constructor View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071877#4071877 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to end a conversation with free form navigation
Yeah, probably. Depends if you want them to be able to back-button into the conversation they were working on. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071878#4071878 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071878 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
Hi All, First of all, please use JBoss Forums' forum for this kind of discussions : http://www.jboss.com/index.html?module=bbop=viewforumf=247 Secondly, I'm already working to solve all those issues and yes there are problems with portal-faces-lib. Forums were using it from the beginning but lately you hid it Thomas from other deployments. I didn't look into Portal sources but my guess would be that you placed this lib with jsf libs in a folder that is not visible to main classloader or you declared a scoped one for them, right ? This is not a big deal, I have other issues with packaging myfaces. So, please be patient and use proper forum. Regards -- Ryszard Kozmik JBoss Forums Lead JBoss Labs Team View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071880#4071880 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071880 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: deleted entity passed to persist
Do you also remove the entity from the datamodel and/or list that is backing the table? Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071888#4071888 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:link EL bug, seam-2.0.0.BETA1
The code that you posted uses h:commandLink View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071890#4071890 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] jboss management console
Hi, I want to view connections, memory, transactions etc, status to my jboss server, is there any comprehensive management console to do it. thanks -- Nayyar Ahmad ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jboss-forums-1.0.0RC-P2.6Alpha Errors
I understand the need of hiding JSF libs but portal-faces-lib isn't bound to any specific JSF implementation, is it ?. So, I'm not sure why it is hid as well. Nevertheless, not a big problem for me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071891#4071891 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: logging with log4j under JBoss4
as far as i can see... yes I have the file jabba.war deployed on the jboss and I wrote filter class=org.jboss.logging.filter.TCLFilter | param name=AcceptOnMatch value=true/ | param name=DeployURL value=jabba.war/ | /filter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071892#4071892 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Nested EL in .xhtml and s:hasRole hard-coding removal
Well that's what I'm worried about (in case of refactoring, you'd have to make the reference change to 'admin' or whatever the role is in many xhtml files). so is there no way around this? There's no solution for this in Seam 2.0? ahem, Gavin, calling Gavin... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071893#4071893 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Saving my Spring invesment
There is already a component in Seam to integrate Spring beans and Seam so that Spring beans will be available to be used in Seam and vice-versa. Perhaps you can read the document regarding Seam-Spring integration View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071896#4071896 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071896 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - HANamingService already bound to port 1100
Hi there .. sorry if this question has been asked before, but I did not find a valid response. Starting a simple cluster, both nodes detect each other and the jmx-console reveals that both nodes are properly part of the cluster. The only annoying thing happens during bootstrap of the second node: 10:01:35,077 INFO [Partition1] Number of cluster members: 2 10:01:35,117 INFO [Partition1] Other members: 1 10:01:35,154 INFO [Partition1] Fetching state (will wait for 3000 milliseconds): 10:01:35,298 INFO [Partition1] state was retrieved successfully (in 144 milliseconds) 10:01:35,433 ERROR [HANamingService] Could not start on port 1100 java.net.BindException: Address already in use at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.(ServerSocket.java:185) at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:169) at org.jboss.ha.jndi.DetachedHANamingService.initBootstrapL The first node in the cluster uses the HANamingService port 1100. The second one tries to use it as well. http://docs.jboss.org/jbossas/jboss4guide/r4/html/cluster.chapt.html#clustering-jndi-jboss reveals that is you wanna use this service in different clusters, you should change the port number . As both nodes are part of the same cluster I thought that they the service should share the same port, but the error log tells a different story. Help is appreciated .. thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071885#4071885 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071885 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - how to realize the process rollback function with JBPM?
suppose a simplest process A - B - C - D. if now the process is on node C, how to let the process back to B without creating a new transition from C to B ? what's more, if the process starter(who started A) wants to cancel his application before C is operated. how to realize this function ? looking forward to reply, this is urgent ! thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071899#4071899 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem with s:convertEntity and h:selectManyListbox
Yes. You can't use a set with a selectXXX according to the JSF spec (only array or list). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071900#4071900 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071900 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: convertEntity with non-Id key?
Vote for it if you want it done ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071904#4071904 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Nested EL in .xhtml and s:hasRole hard-coding removal
No. It's not possible to access static values in EL (it probably should be). If you add a feature request to Seam JIRA, we might be able to get it into JBoss EL. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071905#4071905 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071905 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SEAM Labels resourceBundle.bundleName
No. Specify as it described in the ref doc in components.xml (or seam.properties). the _en, _au is for the locale. Look at the locale selector for how to change it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071906#4071906 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: taskInstanceListForType Size
EL allows you to lookup a a value from a map key. By creating your own implmentation of map, by extending abstractmap, and doing something funky in the get method with the key. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071908#4071908 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataModelSelection is null
Yes, that is what PAGE scope does. So use it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071910#4071910 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071910 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Woodstock and Seam on JBoss with Facelets, JSF 1.2
What did you have to add to pages.xml to fix ? I've tried a simple navigation rule but no joy Have you got woodstock to work with seam , richfaces a4j ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071912#4071912 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071912 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception thrown on Stateful Session Bean lifecycle
Hi, the problem is that my stateful bean does implement Serializable and do have a default constructor. I've also searched all the attributes and they also implements Serializable. That's why I'm pretty lost on this one... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071907#4071907 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataModelSelection is null
[EMAIL PROTECTED] wrote : Yes, that is what PAGE scope does. So use it. But it does not work with DataModel - I've posted above the example that is not working. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071913#4071913 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071913 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception thrown on Stateful Session Bean lifecycle
Ok, maybe I've found it. Look at this: | queue = new PriorityBlockingQueueQueueItem(result.size(), new ComparatorQueueItem() { | public int compare(QueueItem o1, QueueItem o2) { | // This will cause the queue to be sorted in the inverse natural order | // i.e. higher numerical value of priority attribute gives higher priority | return -o1.getPriority().compareTo(o2.getPriority()); | } | }); | The stacktrace says the problem is to instanciate CallHandlerActionBean$1, i.e. an anonymous inner class of CallHandlerActionBean. I had searched for it before but didn't find it until now. This kind of constructions are quite common in example code but obviously easy to blow a big hole in the foot... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071914#4071914 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataModelSelection is null
ilya78 wrote : [EMAIL PROTECTED] wrote : Yes, that is what PAGE scope does. So use it. | | But it does not work with DataModel - I've posted above the example that is not working. It is a mistake in the example above, the correct is : @DataModel(value=eventList, scope=ScopeType.PAGE) This is what I am trying and is not working (sorry for the confusion) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071915#4071915 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071915 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SEAM Labels resourceBundle.bundleName
You specify it in faces-config.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071897#4071897 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071897 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Can s:selectItems work in this scenario?
There is a JIRA request open for both more control over the printed value, and for doing this with convertEntity. Why do you want to print out the pk, not a placeholder (revealing your pk to the world isn't a great idea, hence the placeholder). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071917#4071917 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071917 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: login re-direct (possible doco problem 13.4.6)
Please file jira issues. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071919#4071919 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071919 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm-jpdl-3.2.1's jbpm-console don't select transition
I has tested jbpm-jpdl-3.2.1's jbpm-console and websale.When token in Evaluate web order,i click More Info Needed.But then token go to fork instead of node of Fix web order data. Did some people encountere similar problems? Thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071920#4071920 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071920 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Manager component, Factory method and page action
Use a page action. @Unwrap and @Factory aren't for this. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071921#4071921 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071921 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to end a conversation with free form navigation
As Matt says, set a sensible conversation timeout. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071922#4071922 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071922 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: deleted entity passed to persist
yes, that's what I wanted to remove. I changed my code like this and it worked smoothly now: From the controller bean, removed the code: | public void removeAnItem(Item anItem){ | entityManager.remove(anItem); | } | In the entity bean ShoppingPlan, added this method: | public void removeAnItem(Item anItem){ | this.items.remove(anItem); | } | And in the .xhtml page, call the removeAnItem(item) method from the entity bean instead of from the controller bean. Things are working, the item is removed from both the database and the web page, I'm happy. But I'm not sure _why_ the first approach, i.e. using entityManager to remove the item always resulted in that exception Regards, Ellen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071923#4071923 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071923 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EntityHome via seam-gen project and design patterns
I noticed that the EntityHome class was extended by my CustomerHome class in my seam-gen project to support CRUD operations. In the hotel booking project, EntityHome class was not used (and it wasn't referenced in any of the other example SEAM project source codes). As far as design patterns and best practices are concerned, how would a SEAM developer determine which is the best way of solving this entity related problem? Why/when would you not use the EntityHome class? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071925#4071925 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071925 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: login re-direct (possible doco problem 13.4.6)
http://jira.jboss.com/jira/browse/JBSEAM-1775 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071927#4071927 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071927 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS with JBoss 4.2.0 and Axis 1.4 don't work with WS
I found the same settings on the wss4j-site but look at my sourcecode: where can i set it? When I encrypt my connection i need the bcprovider: bcprov-jdk15-137.jar at the clientsite. Then i got the same Error like with Encryption. Without the lib axis throws an error message. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071931#4071931 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Configuration Problem - Incompletely deployed packages
OK, You seem to have got further. I'm not sure what you mean by 'After renaming the file the JBoss still stopping by'. Are you saying that there are still errors during startup? Something you may also wish to check is that the name of your data source file suggests its is MySQL. You need to make sure the JDBC driver jar file for MySQL can be accessed by copying the jar files into server/all/lib or ensuring it is on the classpath before JBoss is started. Gary View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071932#4071932 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Starting Thread on Deploy
Hi, A solution to this kind of problem, but not involving applets, that we've used is to implement the server as an MBean service. This allows it to be deployed as a .sar archive within the JBoss server. This is getting JBoss specific but I guess from your package names this is not really an issue. If you look in the JBoss user guide at http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch2.chapter.html#ch2.writembean.sect It explains how to write an MBean service. You would implement the startService method to start your server. You can also provide configuration attributes to your server this way. For example the port number. To ensure the service is started before the war is deployed I think you can add a jboss-web.xml file into the war WEB-INF folder that contains the name of the mbean in a element. It may not be needed because in JBoss 4 I don't think the Tomcat connectors pass on any requests to a servlet until everything as started. Gary View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071938#4071938 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: taskInstanceListForType Size
cheers Pete i think ill give it a go View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071939#4071939 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071939 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Prevent internet access but still run JBoss for messagetrans
Hi. Our ordinary JBoss guy is on vaccation and left me some work... I need to prevent users from reacing the webserver in JBoss but I stil need it to run as we have some messages that needs to be actioned in the systems. Is there a way (config file) where I can disable browsing on a special port? (Do not have access to your firewall/router and can therefore not reroute the address that way) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071940#4071940 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071940 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem with timer !
Hi, I try to use timer function... Here, there is my task definition : | ... | task name=Verification par le responsable notify='yes' | timer duedate='5 seconds' | action class='fr.timeoutHandler' / | /timer | controller | variable name=date_debut access=read/variable | variable name=date_fin access=read/variable | /controller | assignment class=fr.ResponsableAssignmentHandler | /assignment | /task | ... | But, when I deploy this definition process, all my process is ok, but timer don't work... When I go to my oracle database, I see that in task definition, there is duedate to null !! (I use jpdl suite and jbpm-console whith jboss AS to deply the process on oracle !) Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071945#4071945 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071945 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Maven 2 plugin?
ok, so ive made a few changes and added the latest version to the http://snapshots.jboss.org/maven2 repository. ive added support for multiple jboss-aop.xml files with the syntax described in the post above. a updated example of the pom.xml file: project | ... | dependencies | dependency | groupIdorg.jboss.maven.plugins/groupId | artifactIdmaven-jbossaop-plugin/artifactId | version1.0-SNAPSHOT/version | /dependency | .. | /dependencies | ... | repositories | repository |idsnapshots.jboss.org/id |nameJBoss Maven Snapshot Repository/name |urlhttp://snapshots.jboss.org/maven2/url | /repository | /repositories | ... | plugins | plugin | groupIdorg.jboss.maven.plugins/groupId | artifactIdmaven-jbossaop-plugin/artifactId | version1.0-SNAPSHOT/version | executions | execution | idcompile/id | configuration | aoppaths | aoppathsrc/main/resources/jboss-aop.xml/aoppath | aoppathsrc/main/resources/jboss-aop2.xml/aoppath | /aoppaths | !-- | includes | includeTest.class/include | /includes | -- | /configuration | goals | goalcompile/goal | /goals | /execution | /executions | /plugin | plugins | ... | /project i just tested this locally on a test project and the only problem i had was that i had to comment out the plugin the first time i ran maven. if not the plugin would fail to download (if anyone have any tips, let me know). otherwise everything should work. test it and let me know if there are other issues. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071946#4071946 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071946 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Recieving Mail with Seam
Yup, your going to have to debug with a breakpoint. You'll need the source for the connector from JBoss AS 5.0.BETA1 I think. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071948#4071948 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071948 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.NoInitialContextException trying to connect
Hi, For remote JNDI access to the JBoss server we use the following: anonymous wrote : | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=jnp://localhost:1099 | The java.naming.factory.url.pkgs setting is different to your example in that it includes org.jnp.interfaces and org.jboss.naming. I don't know if this is related since I have not used this for an MDB accessing a remote queue. Gary View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071944#4071944 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071944 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Rendering issues with TC6 in JBossAS 4.2.1
We have some rendering issues with JBoss AS4.2.1 and all of our browsers (opera,tomcat,ie). The css is not applied correctly, so the pages do not show up as expected. With Opera and IE the pages are readable, but with Firefox it gets towards unreadability. We are using JSF, Facelets,Seam, Richfaces. Our pages worked well with jboss AS 4.0.5 (and the included Tomcat5.5). Found this qoute here: anonymous wrote : The most web servers send as type for HTML and XHTML files ?text/html?. But Tomcat 6 sends per default as type for XHTML files the type ?application/xhtml+xml?. Firefox seems to have trouble with this type Is there a configurationb option to obtain the same behaviour as with tc5.5? Ciao, baz View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071949#4071949 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam2 examples - Hibernate2 Example on Tomcat 6.0.13
Hi All I am trying to migrate a application from seam 1.2 to Seam 2. Also from tomcat 5.5 to 6.0.13. I was able to deploy the hibernate2 example on tomcat 5.5. But when i try to run the same application on 6.0.13 it fails to deploy. below is the tomcat log file which gives a linkageError. Should i change anything else other than the server.xml where i have specified the datasource. Any pointers as to where to look would be appreciated. Thx in advance. Murali Aug 8, 2007 2:00:14 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener java.lang.LinkageError: loader constraints violated when linking javax/el/ExpressionFactory class at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1595) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:419) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3827) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4334) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardHost.start(StandardHost.java:719) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:566) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Aug 8, 2007 2:00:19 PM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextInitialized() Aug 8, 2007 2:00:19 PM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextInitialized() Aug 8, 2007 2:00:46 PM org.apache.catalina.core.ApplicationContext log INFO: SessionListener: contextDestroyed() Aug 8, 2007 2:00:46 PM org.apache.catalina.core.ApplicationContext log INFO: ContextListener: contextDestroyed() Aug 8, 2007 2:00:52 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071950#4071950 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071950 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JavaAssist fails to create proxy
No, I'm deploying a .war on Jetty. I'll try and drop in a newer version of JavaAssist (if that doesn't break anything), which version should I try? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071951#4071951 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071951 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF 1.2 + Woodstock
I've done some research: 1. Downloaded source for ajax4jsf and richfaces and built it according to http://labs.jboss.com/wiki/HowToBuildRichFacesSnapshotManually 2. Created a JSF portlet where I - bundled with the JSF Portletbridge from Sun, the richfaces-ui, richfaces-impl, richfaces-api. Also had to bundle the commons-digester and commons-beanutils for some reason. - My web.xml look like this: ?xml version=1.0 encoding=UTF-8? | web-app version=2.5 xmlns=http://java.sun.com/xml/ns/javaee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd; | context-param | param-namecom.sun.faces.verifyObjects/param-name | param-valuefalse/param-value | /context-param | context-param | param-namecom.sun.faces.validateXml/param-name | param-valuetrue/param-value | /context-param | context-param | param-namejavax.faces.STATE_SAVING_METHOD/param-name | param-valueclient/param-value | /context-param | | !-- RichFaces and ajax4jsf settings -- | context-param | param-nameorg.ajax4jsf.SKIN/param-name | param-valueblueSky/param-value | /context-param | filter | display-nameAjax4jsf Filter/display-name | filter-nameajax4jsf/filter-name | filter-classorg.ajax4jsf.Filter/filter-class | /filter | filter-mapping | filter-nameajax4jsf/filter-name |servlet-nameFaces Servlet/servlet-name |dispatcherREQUEST/dispatcher |dispatcherFORWARD/dispatcher |dispatcherINCLUDE/dispatcher | /filter-mapping | | servlet | servlet-nameFaces Servlet/servlet-name | servlet-classjavax.faces.webapp.FacesServlet/servlet-class | load-on-startup1/load-on-startup | /servlet | servlet-mapping | servlet-nameFaces Servlet/servlet-name | url-pattern/faces/*/url-pattern | /servlet-mapping | session-config | session-timeout | 30 | /session-timeout | /session-config | welcome-file-list | welcome-filefaces/welcomeJSF.jsp/welcome-file | /welcome-file-list | /web-app -my portlet.xml looks like this: ?xml version=1.0 encoding=UTF-8? | portlet-app xmlns=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd; | version=1.0 | | portlet | descriptionSearch/description | portlet-nameSearch/portlet-name | display-nameSearch/display-name | portlet-classcom.sun.faces.portlet.FacesPortlet/portlet-class | !-- This is a required parameter and must point to the first page of the JSF Application -- | init-param | descriptionPortlet init view page/description | namecom.sun.faces.portlet.INIT_VIEW/name | value/WEB-INF/jsp/Search.jsp/value | /init-param | expiration-cache0/expiration-cache | supports | mime-typetext/html/mime-type | portlet-modeVIEW/portlet-mode | /supports | portlet-info | titleSearch/title | short-titleSearch/short-title | /portlet-info | /portlet | /portlet-app - my jsp looks like this: [EMAIL PROTECTED] contentType=text/html% | [EMAIL PROTECTED] pageEncoding=UTF-8% | | %-- RichFaces taglibs --% | %@ taglib uri=http://richfaces.ajax4jsf.org/rich; prefix=rich% | | %-- JSF taglibs --% | [EMAIL PROTECTED] prefix=f uri=http://java.sun.com/jsf/core% | [EMAIL PROTECTED] prefix=h uri=http://java.sun.com/jsf/html% | | %-- portlet taglibs --% | %@ page import=javax.portlet.*% | %@ taglib uri=http://java.sun.com/portlet; prefix=portlet% | | | portlet:defineObjects / | %PortletPreferences prefs = renderRequest.getPreferences();% | | f:view | rich:panel | f:facet name=header | h:outputText value=Olympus EVOLT E-500/ | /f:facet | /rich:panel | /f:view | When I create a portlet instance in JBoss Portal 2.6.0.GA (running on JBoss AS 4.2.0GA) and try to access the portlet I get this stacktrace: 13:06:48,011 WARN [SkinFactoryImpl] Init parameter for a skin name changed to org.richfaces.SKIN | 13:06:54,827 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | java.lang.ClassCastException: org.apache.catalina.core.ApplicationContextFacade | at
[jboss-user] [JBoss Seam] - Re: JavaAssist fails to create proxy
Latest (2.6 pre GA IIRC). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071952#4071952 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071952 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: deleted entity passed to persist
What happens if you have: | public void removeAnItem(Item anItem){ | entityManager.remove(entityManager.merge(anItem)); | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071955#4071955 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam2 examples - Hibernate2 Example on Tomcat 6.0.13
Also pls let me know if u need any other info to know wht is going wrong. looking forward for some help Thx Again Murali View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071956#4071956 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071956 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF 1.2 + Woodstock
I have moved my last comment into a new thread, as this thread really was about JSF 1.2 + woodstock. New thread: http://www.jboss.org/index.html?module=bbop=viewtopicp=4071957#4071957 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071958#4071958 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Transactions Persistence Context
HI, I'm figuring out how using the transactions and the persistence Context in a good way. My environment is : JbossAs 4.0.0, Seam 1.2 and Icefaces 1.6 The back-end of my application is compounded by pojos with conversation scope that call stateless ejb3s which a Seam-managed Entity Manager is injected in.I'm not using the seam-managed transactions. I'd like to know If I can use the transaction demarcation on EJB3 methods. I tried that but It doesn't seem work. Example: beginning from front-end,I call a method on pojo that calls a method on EJB3 where some operations on DB are carried out. Now it seems that the transaction starts and then ends when the ejb3 method finishes.If during this method I call others methods of the same ejb or of others that has a @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) a new transaction doesn't start.in fact the commit operation is always made at the end of the first ejb3 method called. So do you have some experience in that? Using the seam-managed transactions I have strange anomalies,somentimes the commit is made at the end of Ejb3 method,sometimes at the end of Pojo method. Can you help me? Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071959#4071959 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071959 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Where to route obsolete parent token in token multiplica
All child tokens, when they're done, should/could transition to a join. The join will count down the outstanding tokens for the parent token, and allow it to resume when the last child completes. To avoid other potential problems, I suggest that you make your token-generating node a fork. I believe that there's a race condition leading to Hibernate StaleObject exceptions in join. Before you go into production, be sure to do some concurrency testing on join. -Ed Staub View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071960#4071960 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071960 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Recieving Mail with Seam
Hi Pete, I just found out what was the problem. it appears that buni-meldware mailserver is listening on port 11011 while the default for pop3 is 110. So i tried to test using a different host which is using port 110 and am able to receive the mail. Now, i have 3 questions: 1)How do i specify so that when the POP is connecting to the mail server it uses ssl ?(appears that to connect to googlemail you must enable ssl ) 2)How can i configure the mail listener to check another port say 11011 for mail? 3)Where is the buni-mail server configured?Is there such a thing as mail-service.xml for config buni? Thanks alot for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071961#4071961 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - cannot view portal from other machines
I am using jboss-portal-2.6.1.GA and jboss-4.0.5.GA. I can access the portal on the machine where it is installed using http://localhost:8080/portal. When I try to access from another machine using http://machineip:8080/portal I get The page cannot be displayed error. Is there a default setting to only use loopback? Is there a setting in the run.bat that I didn't enable? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071963#4071963 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF 1.2 + Woodstock
You forgot to add the Sun RI portlet bridge: https://jsfportletbridge.dev.java.net/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071965#4071965 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071965 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: cannot view portal from other machines
Call run.bat (or sh) with the -b option to bind to the IP you require. /Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071966#4071966 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071966 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Recieving Mail with Seam
1) You can't, there is an open JBAS JIRA issue for this. (But TLS is supported IIRC) 2) use the port @ActivationConfigProperty 3) If you want to customise meldware, I would suggest downloading it from buni.org and doing a fresh install, the one in Seam is extensively repackaged. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071967#4071967 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071967 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB3 annotaion and MBean description
I implement an MBean using EJB3 annotation: @Service(objectName = babar:service=auditLock) | @Management(BabarAuditManagerMBean.class) | public class BabarAuditManager implements BabarAuditManagerMBean { Using jmx console, I can see my MBean. Now I'd like to add some description for attributes and MBean. Id do not find how to add this description ? After I'd like to change the visibility of attributes and method in the JMX console. How can I reduce the visibility ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071968#4071968 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071968 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF 1.2 + Woodstock
Thomas, I added the SunRI portlet bridge to the WEB-INF/lib folder. Are there other places I need to add/refer to it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071969#4071969 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071969 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Recieving Mail with Seam
Thanks a bunch Pete! I have managed to successfully connect to my buni installation. Again thanks alot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071972#4071972 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071972 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - TCP x UDP
Hi, I'm a beginner with JBoss clustered configurations. 1 ) What would be te recommended approach for JGroups with JBoss AS clustered? TCP or UDP? 2) Two JBoss ASs in cluster are not supposed to work with reliable messages? So, why UDP came as default in JBoss? 3) On the other side UDP performs better. But, what can happen if packets are lost, unordered or duplicated. How can this affect JBoss AS behavior? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071973#4071973 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071973 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - UnknownHostException for '-b 0.0.0.0'
Using JBoss 4.2.0.GA, Windows XP I need to start jboss with start parameter '-b 0.0.0.0'. First I modify run.bat and everything works well. But in my configuration, jboss should run as a windows service. So I added '-b 0.0.0.0' to the start parameters of the jboss service. After starting jboss again, some UnknownHostExceptions are logged. Nevertheless jboss is accessible through machines ip address. What is the difference when starting jboss by using run.bat or windows service ? Any ideas are welcome. windows registry: | [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\JBoss\Parameters] | JVM Library=C:\\java_inst\\jdk1.5.0_11\\jre\\bin\\server\\jvm.dll | JVM Option Count=dword:0001 | JVM Option Number 0=-Djava.class.path=C:\\java_inst\\jdk1.5.0_11\\lib\\tools.jar;C:\\java_inst\\jboss-4.2.0.GA\\bin\\run.jar | Start Class=org.jboss.Main | Start Method=main | Start Param Count=dword:0001 | Start Param Number 0=-b 0.0.0.0 | Stop Class=org.jboss.Main | Stop Method=systemExit | Stop Param Count=dword: | System.out File=C:\\java_inst\\jboss-4.2.0.GA\\server\\default\\log\\stdout.log | System.err File=C:\\java_inst\\jboss-4.2.0.GA\\server\\default\\log\\stderr.log | Current Directory=C:\\java_inst\\jboss-4.2.0.GA\\bin | server.log: | | 2007-08-08 12:50:59,832 DEBUG [org.jboss.remoting.ServerInvoker] SocketServerInvoker[UNINITIALIZED] stopped | 2007-08-08 12:50:59,832 WARN [org.jboss.system.ServiceController] Problem creating service jboss.remoting:service=Connector,transport=socket | java.lang.RuntimeException: Error setting up server invoker SocketServerInvoker[UNINITIALIZED] | at org.jboss.remoting.ServerInvoker.create(ServerInvoker.java:779) | at org.jboss.remoting.transport.Connector.init(Connector.java:426) | at org.jboss.remoting.transport.Connector.create(Connector.java:766) | 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.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:995) | at $Proxy0.create(Unknown Source) | at org.jboss.system.ServiceController.create(ServiceController.java:330) | at org.jboss.system.ServiceController.create(ServiceController.java:273) | at org.jboss.system.ServiceController.create(ServiceController.java:349) | at org.jboss.system.ServiceController.create(ServiceController.java:273) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | 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.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.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy4.create(Unknown Source) | at org.jboss.deployment.SARDeployer.create(SARDeployer.java:258) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) | 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
[jboss-user] [JBoss Portal] - Re: cannot view portal from other machines
That works great. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071977#4071977 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071977 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - cache replication node went out !
Hi, We are running Jboss 4.0.4 on solaris , the Jboss is clustered in five nodes with cache replication and failover, we are using cisco loadbalance switch for loadbalance (round-robin), , we mostly encounter problems with cache replication, as often one or more nodes stop serving jboss , and if we restart Jboss on these failed nodes, it d'nt get in to cache cluster, while it work stand alone perfactly, for recovery of cluster we have to restart Jboss on all node ! I am unable to figure out why is it so , any clue? or even how can i put them again in cluster, without restarting whole cluster. TIA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071978#4071978 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - cache replication node went out !
Hi, We are running Jboss 4.0.4 on solaris , the Jboss is clustered in five nodes with cache replication and failover, we are using cisco loadbalance switch for loadbalance (round-robin), , we mostly encounter problems with cache replication, as often one or more nodes stop serving jboss , and if we restart Jboss on these failed nodes, it d'nt get in to cache cluster, while it work stand alone perfactly, for recovery of cluster we have to restart Jboss on all node ! I am unable to figure out why is it so , any clue? or even how can i put them again in cluster, without restarting whole cluster. TIA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071980#4071980 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071980 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Problem with transaction demarcation
Using jboss 4.0.5; a callback timer method on a stateless bean with transaction attribute REQUIRED_NEW does not seem to 'isolate' the transaction when called concurrently. A org.hibernate.StaleStateException occurs and the whole thing is rolled back. | @Timeout | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) | public void handleTimeout(Timer timer) { | // pseudo code: | // find obj (called on a different session bean with default settings) | // if found delete object | // The delete causes the stalestate when the entire batch is committed | } | According to the EJB3.0 specifiation the situation above should work, but it isn't unless I am doing things wrong. Any suggestions? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071981#4071981 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071981 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF 1.2 + Woodstock
Oups sorry i misread your stacktrace (answering too fast based on common mistakes ;) ) Please use 2.6.1.GA it will help to get this solved. The meta-bridge is not used anymore. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071982#4071982 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Error with JSF webapp on AS 4.2.1 + Portal 2.6
I'm also having a similar problem, first using Portal 2.6.0, but also after upgrading to Portal 2.6.1.GA. The way I upgraded the portal was to remove the jboss-portal.sar from my deploy directory, and replacing it with the new one. Could there be cached information which causes the same error as prior to the upgrade? Do I also have to upgrade the JBoss AS server from 4.2.0.GA to 4.2.1? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071983#4071983 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Calling JAAS
Ok...free ice cream for anyone that helps me... :) indy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071985#4071985 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071985 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - reuse of parts of process definition
Hi guys, just a quick question on reusing parts of a process definition. If I have several processes to define, and parts of these process are the same across several different pocesses, is there a mechanism in place to allow me to reuse collections of nodes across processes, or create and use 'sub-processes' ? Thanks for your help, Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071986#4071986 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF 1.2 + Woodstock
Please see my follow-up on this topic: http://www.jboss.org/index.html?module=bbop=viewtopicp=4071984#4071984 (short version: Have tried to upgrade to 2.6.1.GA but still get the stacktrace.) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071987#4071987 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JSF 1.2 + Woodstock
Well, the stacktrace is actually not the same... Here's the new one: 14:20:37,446 WARN [SkinFactoryImpl] Init parameter for a skin name changed to org.richfaces.SKIN | 14:20:40,342 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | java.lang.ClassCastException: org.apache.catalina.core.ApplicationContextFacade | at com.sun.faces.portlet.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64) | at org.ajax4jsf.resource.InternetResourceService.getFacesContext(InternetResourceService.java:317) | at org.ajax4jsf.resource.InternetResourceService.getResourceContext(InternetResourceService.java:251) | at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:162) | at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:259) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:595) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071989#4071989 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Error with JSF webapp on AS 4.2.1 + Portal 2.6
Well, the stacktrace is actually not the same... Here's the new one: 14:20:37,446 WARN [SkinFactoryImpl] Init parameter for a skin name changed to org.richfaces.SKIN | 14:20:40,342 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | java.lang.ClassCastException: org.apache.catalina.core.ApplicationContextFacade | at com.sun.faces.portlet.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:64) | at org.ajax4jsf.resource.InternetResourceService.getFacesContext(InternetResourceService.java:317) | at org.ajax4jsf.resource.InternetResourceService.getResourceContext(InternetResourceService.java:251) | at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:162) | at org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:259) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:595) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071991#4071991 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Problems with DatabaseServerLoginModule
Hi I am trying to use the DatabaseServerLoginModule but am facing some problems. I have created a portal instance which has to be accessed after JAAS authentication. In my .war file for my portal instance i have the following files web.xml anonymous wrote : | | servlet-namePortalServletWithPathMapping/servlet-name | servlet-classorg.mex.portlets.login.servlet.LoginServlet/servlet-class | load-on-startup1/load-on-startup | security-role-ref | role-nameAuthenticated/role-name | role-linkAuthenticated/role-link | /security-role-ref | | | |!-- Provide access to authenticated users -- |servlet-mapping | servlet-namePortalServletWithPathMapping/servlet-name | url-pattern/authpublic/*/url-pattern |/servlet-mapping | |!-- Force the mapping of the jsp and images because of the default servlet replacement -- |servlet-mapping | servlet-namejsp/servlet-name | url-pattern/login.jsp/url-pattern |/servlet-mapping |servlet-mapping | servlet-namejsp/servlet-name | url-pattern/error.jsp/url-pattern |/servlet-mapping | | resource-ref | res-ref-namejdbc/PortalDS/res-ref-name | res-typejavax.sql.DataSource/res-type | res-authContainer/res-auth | res-sharing-scopeShareable/res-sharing-scope |/resource-ref | |security-constraint | web-resource-collection | web-resource-nameAuthenticated/web-resource-name | | url-pattern/authpublic/*/url-pattern | /web-resource-collection | auth-constraint | role-nameAuthenticated/role-name | /auth-constraint |/security-constraint |login-config | auth-methodFORM/auth-method | realm-namepublic/realm-name | form-login-config | form-login-page/login.jsp/form-login-page | form-error-page/error.jsp/form-error-page | /form-login-config |/login-config | |security-role | role-nameAuthenticated/role-name |/security-role | my jboss-web.xml anonymous wrote : jboss-web |security-domainjava:jaas/publicportal/security-domain |context-root/public/context-root |resource-ref | res-ref-namejdbc/PortalDS/res-ref-name | jndi-namejava:PortalDS/jndi-name |/resource-ref | /jboss-web | in the login-config inside portal.sar i have added this anonymous wrote : | application-policy name = publicportal | | login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule | flag = required | module-option name = unauthenticatedIdentityguest/module-option | module-option name = dsJndiNamejava:/PortalDS/module-option | module-option name = principalsQuerySELECT PASSWD FROM JMS_USERS WHERE USERID=?/module-option | module-option name = rolesQuerySELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=?/module-option | /login-module | | /application-policy | I have even enabled logging as per the secutiry FAQ but when i log in i see null on the error.jsp page with no logging messages Basically anonymous wrote : request.getAttribute(org.jboss.portal.loginError)returns null and i am not able to login Can anyone please help View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071993#4071993 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071993 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Getting InterruptedException while putting into tree cac
Whenever the InterruptedException is thrown nothing is written in cache. Please suggest if I should handle this exception in my code and retry to put in cache. Will this ensure write in cache if InterruptedException is not thrown again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071994#4071994 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Problems in Active Directories Creation
Hi.. This is stan from india(TN) Did you find the solution for this. ? if found .. plz tell me.. i have the same problem Regards Stan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071997#4071997 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Servlet Filter issue with Jboss Portal 2.6
Your need to tell web.xml that you want to invoke the filter on forward and include. Otherwise only the filters applied on the portal-server context will be invoked View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4071998#4071998 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4071998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user