[jboss-user] [JBoss Seam] - Re: Datmodel(Selection with facelets) does not work
Any ideas/explanations/pointers? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079424#4079424 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: the intercept component don't work!
that's ok,thank you! but how to define a seam component? Is not it to use @Name to define? pardon my prolixity! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079425#4079425 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - preferences in portlet-instances.xml
hi! i'm trying to read preferences out of the portlet-instances.xml but it doesn't work. i've read other posts concerning the same topic but i couldn't find a solution. the only thing that works is getting the value from the portlet.xml file. anonymous wrote : public class PortletA extends GenericPortlet | { |protected void doView(RenderRequest request, RenderResponse response) | throws PortletException, PortletSecurityException, IOException |{ | System.out.println(request.getPreferences().getValue |} | | } anonymous wrote : ?xml version=1.0 encoding=UTF-8? | portlet-app id=PortletA version=1.0 | | portlet-nameportleta/portlet-name | display-nameportleta/display-name | portlet-classtest.PortletA/portlet-class | expiration-cache0/expiration-cache | | mime-typetext/html/mime-type | portlet-modeVIEW/portlet-mode | | portlet-info | short-titlePortlet A/short-title | Portlet | /portlet-info | portlet-preferences | | test | portlet.xml | | /portlet-preferences | | /portlet-app anonymous wrote : | | | instance-idPortletAInstance/instance-id | portlet-refportleta/portlet-ref | | | test | portlet-instances.xml | | | | | so looking at my files this means that i receive portlet.xml inestad of portlet-instances.xml Windows XP Pro SP2 jdk 1.5.0_09 JBoss Portal 2.6 Bundle (binary) Postgres 8.3 Hibernate 3 thanks in advance habicht View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079427#4079427 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079427 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: preferences in portlet-instances.xml
ups! used quote instead of code. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079428#4079428 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079428 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: UnsupportedOperationException when using h:selectManyLis
Thanks, that worked. As it turns out, there is no need to call entityManager.merge() at all. As the Exam entity is always in the entityManager, any call to entityManager.flush() will do the job of updating the database. I guess no one has got my problem because I shouldn't have called merge() in the first place. Thanks again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079429#4079429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: the intercept component don't work!
Yes, you use @Name to define a seam component. So, if you called Component.getInstance(interceptsTest), the @Logger field would be filled. But when Seam instantiates an interceptor from the class you specify, it just treats it like a normal object. It doesn't inject @Loggers or give it interceptors for bijection, etc. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079430#4079430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @AutoCreate and create = true does not work
Try: @In(create=true) EXAccessPoint exAP View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079433#4079433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: problem trying to run a Scheduler MBean from a deployed
i'm also facing the similar problem. Can any one provide the solution. Its very urgent. thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079434#4079434 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @AutoCreate and create = true does not work
You need | @In EXAccessPoint entryGate; | The field name needs to match the name of the component you want injected. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079435#4079435 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Can I define some
Thanks guys, I made it work. For now just some String values, but I will probably transform them into a config class. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079436#4079436 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: General object-locking gizmo
Create session listener and on destroy notify the application scoped component that this user has left. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079437#4079437 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Could not get EJBHome
anonymous wrote : java] Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial Have a look at : http://wiki.jboss.org/wiki/Wiki.jsp?page=Getquotjavax.naming.NoInitialContextExceptionquot View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079440#4079440 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079440 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - How restrict users ? Please guid to me...
Hi all! I use anonymous wrote : jboss-4.0.5.GA, EJB 3.0. I have a problem that need help: My application allows multi-client access at the same time. But now, I want set up: anonymous wrote : If a client, called John, use his account (ex: called johnA). And at this time, Anna also want use johnA to access application she can't access ! How I can setup ? or show to me some documents ! Please help me! Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079441#4079441 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Component.getInstance and 64bit java
Hello, I have custom servlet, when I call | 209: PictureShowAction psa = (PictureShowAction) Component.getInstance(PictureShowAction.class); | 210: Picture mi = psa.getImage(idLong); | in this servlet, I get sometimes null value into psa variable. On my developer notebook (32bit java, tomcat 6.0.10) all works fine, on server (64bit java, tomcat 6.0.13) I get sometimes NullPointerException. Exception: java.lang.NullPointerException | at org.apache.catalina.connector.Request.parseParameters(Request.java:2426) | at org.apache.catalina.connector.Request.getParameterNames(Request.java:1082) | at org.apache.catalina.connector.Request.getParameterMap(Request.java:1062) | at org.apache.catalina.connector.RequestFacade.getParameterMap(RequestFacade.java:414) | at org.jboss.seam.mock.MockExternalContext.getRequestParameterValuesMap(MockExternalContext.java:282) | at org.jboss.seam.util.Parameters.getRequestParameters(Parameters.java:46) | at org.jboss.seam.Component.injectParameters(Component.java:1224) | at org.jboss.seam.Component.inject(Component.java:1197) | at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:46) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103) | at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151) | at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87) | at cz.bpsolutions.cms.admin.gallery.PictureShowAction_$$_javassist_6.getImage(PictureShowAction_$$_javassist_6.java) | at cz.bpsolutions.cms.servlet.ContentServlet.doGet(ContentServlet.java:210) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:690) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:56) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:53) | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738) | 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.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:261) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:581) | 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=4079442#4079442 Reply to the post :
[jboss-user] [Beginners Corner] - Re: org.jboss.system.ServiceMBeanSupport
Its in jboss-system.jar which is under %JBOSS_HOME%/lib folder. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079438#4079438 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079438 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: setting logging in a WAR for a JAR?
I am not sure i have completely understood the question. Assuming that you want to set the logging level of your application to DEBUG, all you have to do is edit the log4j.xml (this file is recently named to jboss-log4j.xml since JBoss 4.2.x) present in %JBOSS_HOME%/server//conf folder. Let us know, if you are looking for something else View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079443#4079443 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079443 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: How restrict users ? Please guid to me...
I want add some informations: I use DatabaseServerLoginModule to authenticate users. Jboss supports some options to me can solve my problem above ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079444#4079444 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079444 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - dyn. change rendererset ?!
Good morning everyone =) Is it possible to change the rendererSet dynamically in the Eventlistener or the processAction?! I want to hide a portletWindow(with the emptydivrenderer) and if a user clicks a button it should appear in normal mode with titlebar etc. (divrenderer) At the moment i can change windowstates with PortalNode node = event.getNode(); PortalNode windowA = node.resolve(../winAwindow); context.getPortalRuntimeContext().getNavigationalStateContext().setWindowState(windowA, WindowState.MINIMIZED); But I don't have a clou how 2 change the rendererSet dynamically Any suggestions !? Thx Jannis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079445#4079445 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JBoss Rules 4.0.0GA
Not sure what the issue is, but you might get more responses from the JBoss Rules users mailing list which is at [EMAIL PROTECTED] Subscribe to that list to ask your question. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079446#4079446 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079446 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jboss 4.2.1 and my servlets . . . . HEEEEELP!!!!!!
anonymous wrote : 00:32:44,392 ERROR [STDERR] java.lang.ClassCastException: $Proxy71 | 00:32:44,393 ERROR [STDERR] at HelloWorld.service(HelloWorld.java:39) Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions, specifically the jmx-console method mentioned over there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079447#4079447 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079447 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - org.hibernate.exception.GenericJDBCException: Cannot open co
I have a SFSB with this factory: | @Factory(userSubscriptions) | public void getUserSubscriptions() { | userSubscriptions = em.createQuery(FROM Subscription s WHERE s.user.sign=:sign ORDER BY s.prio) | .setParameter(sign, getCurrentUser().getSign()) | .getResultList(); | } This collection is used as value for a datatable and works fine. When I click a button in which triggers an action in which userSubscriptions is accessed again I get: | 2007-08-30 09:22:49,843 INFO [org.hibernate.event.def.DefaultLoadEventListener] Error performing load command | org.hibernate.exception.GenericJDBCException: Cannot open connection | Caused by: org.jboss.util.NestedSQLException: Transaction is not active: To me Cannot open connection indicates some problem with the database but thats not possible since I do a lot of other db operations. I think I can get around this problem by doing the transactions manually but do I really want to do that? I've had a lot of problems with this in my application so any tips would be most appreciated =). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079448#4079448 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079448 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] [JBoss Seam] - Re: seam-gen and hibernate tools!. Target Unreachable, identifier...
Unlike the original poster, I used seam-gen directly, and I get exactly the same problem, except it's the authenticator if I try to login, or my own component if a simple page. And yes, in both cases the target does exist, is annotated correctly (and case sensitively) and is in the .jar file in the .ear. See my posting on the 24th with the subject seam-gen generates non-working project For the record, my problems went away when I ignored Michael's advice to stay on JDK 1.5, and switched to a 1.7 beta. Go figure! But my projects now work... ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: jboss 2.4 + netbeans 5.5
I personally dont have any idea about NetBeans. But do you really mean JBoss 2.4? The latest version of JBoss that is available is JBoss 4.2.1, why use such a old version of JBoss? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079449#4079449 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jbossws with apache
gerry744 wrote : I'm using Jboss behind apache. | '/jbossws/services' works fine, the wsdls's work fine, but the actual services don't work. They do work if I connect directly on port 8080, but not through apache. Everything else is working fine through apache. | If I try connecting a browser to the actual service via apache, instead of seeing the service I just get http GET not supported. | | Anyone know what I'm doing wrong ? | | I'm using jboss 4.2.1, jbossws 2.0.1, apache2 on another machine, jk 1.2, all on gentoo. | | Thanks! I would check what url apache is actually trying to connect to; I mean, it's ok that you get a http GET not supported if you access an endpoint using your browser. As a matter of fact, endpoints support POST, GET is supposed to work only for wsdl retrieval calls. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079450#4079450 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079450 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Instances get lost - strange behavior in conversational
1. Perhaps because the conversation has ended, or it has reached the maximum time-out 2. Perhaps it's on a different conversation, make sure it has the same conversation id View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079452#4079452 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: gets stuck configuting log4j.xml
anonymous wrote : 12:52:30,203 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml Its not stuck. That log messages indicates that the log configuration has been updated with the latest changes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079457#4079457 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to make JBoss (+seam) to use my development xhtml fi
I second that. Use the exploded deploy and also use the incremental deployment (classes in WEB-INF/dev - it's all in the link smith just mentioned). I make a change to an XHTML file or java class and then hit the run external tools button on my Eclipse toolbar (this is set to run the last Ant build - change your default task in your project to explode rather than deploy). This deploys any changes. You have to leave whatever conversation you are in - for me this is a logout of my app. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079455#4079455 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - HOW FindMBeanServer in JBOSS
HI, My JBOSS is running in http://localhost:8080. I have a stadalone Java code. From there I have to access the MBean server of my JBOSS. How can I get the Instance of the MBean server from my Standalone java code? please help me. /sh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079453#4079453 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trying to build seam-2.0.0.BETA1
I've got exactly the same error in the 2.0.0 BETA1 I then got the most recent release from CVS and there the Seam IOC compon ent does not compile A lot of example do not compile either: like spring, hibernate2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079458#4079458 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EAR Scoped PersistenceUnit
Nobody got any Idea. Should I just register this as a Bug in Jira? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079460#4079460 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Could not get EJBHome
Thank you! But a typical jndi.properties file is already in my classpath: C:\Programme\jboss\server\default\conf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079461#4079461 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079461 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: HOW FindMBeanServer in JBOSS
See if this helps http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIGetRemoteAccessToMyMBean View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079454#4079454 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079454 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: pdf in Internet Explorer is not working
I created JIRA issue, it can be found here http://jira.jboss.org/jira/browse/JBSEAM-1884. Thanks for ur time, Norman! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079465#4079465 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu in dataTable
Apparently extended EL can work oddly inside iterative components : http://www.jboss.com/index.html?module=bbop=viewtopict=115162 You could always build a Bean to hold all of this when you populate productPropertyList. Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079467#4079467 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Anyway to create JSF components dynamically?
Have you looked at something like richfaces modal? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079469#4079469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Identity remove all roles
Hello There is no cleanup method for the Seam Identity class. If I authenticate again with another user the roles of the logged in before are still active. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079471#4079471 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: General object-locking gizmo
amitev wrote : Create session listener and on destroy notify the application scoped component that this user has left. Is there any convinient util to get to the seam application context from a servletcontext? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079472#4079472 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: IDLE Connections and Pool ConnectionDestroyedCount near
Hello, I sorry for long code pasted. vickyk wrote : | Check the listInUseConnections() operation in the CachedConnectionManager Mbean from the jmx-console . This will tell you what connections are not getting closed from your application . | All you need is to identify the application part which is leaking the connection and fix it. Thanks for your suggestion ; In my jmx (listInUseConnections() CachedConnectionManager) thera are that tracktrace: | [EMAIL PROTECTED]: STACKTRACE | | at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:333) | | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:482) | | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:894) | | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:73) | | at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69) | | at org.hibernate.jdbc.JDBCContext.userConnection(JDBCContext.java:114) | | at org.hibernate.impl.SessionImpl.connection(SessionImpl.java:366) | | at pl.edu.uwm.student.dao.bazowe.BazowyJdbcDAO.utworzCallableStatement(BazowyJdbcDAO.java:40) | | at pl.edu.uwm.student.admi.konfiguracja.dao.NumerAlbumuDAO.pobierzKolejnyNumer(NumerAlbumuDAO.java:45) | | at pl.edu.uwm.student.admi.konfiguracja.ejb.FasadaNumerAlbumuDAOBean.pobierzKolejnyNumer(FasadaNumerAlbumuDAOBean.java:35) | | at sun.reflect.GeneratedMethodAccessor450.invoke(Unknown Source) | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | | at java.lang.reflect.Method.invoke(Method.java:585) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:109) | | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:32) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | | at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:27) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:61) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:39) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | | at org.jboss.aspects.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:151) | | at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptor.invoke(RoleBasedAuthorizationInterceptor.java:85) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | | at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:63) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:32) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | | at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:91) | | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98) | | at org.jboss.ejb3.stateless.StatelessContainer.localInvoke(StatelessContainer.java:163) | | at org.jboss.ejb3.stateless.StatelessLocalProxy.invoke(StatelessLocalProxy.java:60) | | at $Proxy168.pobierzKolejnyNumer(Unknown Source) | | at pl.edu.uwm.student.web.kart.studenci.rejestracja.akcje.RejestracjaStudentaAction.handlerGenerujNrAlbumu(RejestracjaStudentaAction.java:292) | | at sun.reflect.GeneratedMethodAccessor433.invoke(Unknown Source) | | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | | at java.lang.reflect.Method.invoke(Method.java:585) | | at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:274) | | at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194) | | at pl.edu.uwm.student.web.bazowe.akcje.BazowyAction.execute(BazowyAction.java:41) | | at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419) | | at pl.edu.uwm.student.web.bazowe.SystemowyRequestProcessor.processActionPerform(SystemowyRequestProcessor.java:149) | | at
[jboss-user] [JBoss Seam] - Re: Running the booking example on JBoss with the JSF 1.2 RI
hi, Appreciate very much advice from the community on this issue that i encountered. I was try to get an example portal working in this environment: - JBoss portal 2.6.1 (with AS 4.2.1) - Seam 1.2.1GA - use JSF RI 1.2 I combine the sample code from ajax trunk (ajaxPortlet), and got the following error dump. I couldn't understand the error, please advise. Error: | 2007-08-30 16:26:17,036 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter] Filter start request processing at 8/30/07 4:26 PM for uri: /seam-arich/start.seam | 2007-08-30 16:26:17,036 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter] Incoming request has Content-Type header with character encoding UTF-8 | 2007-08-30 16:26:17,036 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter] Filter request output to XML | 2007-08-30 16:26:17,036 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter] XML filter service start processing request | 2007-08-30 16:26:17,036 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter] Filter start request processing at 8/30/07 4:26 PM for uri: /seam-arich/start.seam | 2007-08-30 16:26:17,036 DEBUG [org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter] Not is faces request, Filter perform not-xml parsing chain | 2007-08-30 16:26:17,036 ERROR [org.jboss.seam.web.ExceptionFilter] uncaught exception | java.lang.UnsupportedOperationException | at javax.faces.context.ExternalContext.setRequestCharacterEncoding(ExternalContext.java:397) | at javax.faces.application.ViewHandler.initView(ViewHandler.java:259) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:208) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:293) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277) | 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:157) | 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
[jboss-user] [Beginners Corner] - Re: Could not get EJBHome
As you are using a standalone java client to lookup, you will have to have that jndi.properties file in the classpath of your standalone java client too. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079479#4079479 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Problem with publishing a web service
Hi all, I have this message when I try to publish a class as a web service : Running JBossWS wstools for [jbossws-test1] directory: C:\FitNetManager\workspaces\workspaceFitNet\jbossws-test1 command: cmd.exe /C C:\FitNetManager\Jboss-4.0.5.GA\bin\wstools.bat -cp bin -config C:\DOCUME~1\Anis\LOCALS~1\Temp\wstools-config55960.xml -dest C:\FitNetManager\workspaces\workspaceFitNet\jbossws-test1\src\java = . WSTools Environment . JBOSS_HOME: C:\FitNetManager\Jboss-4.0.5.GA\bin\\.. . JAVA: C:\Program Files\Java\jdk1.5.0_05\bin\java . JAVA_OPTS: . = . Exception in thread main java.lang.NoClassDefFoundError: javax/jws/soap/SOAPBinding$ParameterStyle at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(ToolsHelper.java:106) at org.jboss.ws.tools.WSTools.process(WSTools.java:133) at org.jboss.ws.tools.WSTools.generate(WSTools.java:69) at org.jboss.ws.tools.WSTools.generate(WSTools.java:119) at org.jboss.ws.tools.WSTools.main(WSTools.java:58) I don't understand what is the matter. I'm working on Eclipse 3.2 with JBoss 4.0.5GA, JBossWS 1.2.0SP1, jdk 1.5. Could someone help me ??? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079482#4079482 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trying to build seam-2.0.0.BETA1
There was a problem with the BETA1 distribution - it was missing some required files for compiling. Sorry about that. This was fixed for the nightly builds. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079483#4079483 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-bpel-1.1.Beta3 examples problem!
Hi, I had the same problem on hello world. What I forgot to do was to add the xalan implementation (you can find the jars in the jboss/lib/endorsed) to the jre libs. So copy the directory endorsed to javahome--- jre -- lib Your jre/lib will now have an endorsed dir. Hope I was useful. bye View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079484#4079484 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Cache loading in a clustered environment
Hello, I'm in front of a very strange situation here: There are two members in my cluster. Each instanciates a treecache object, with the same properties. (Mode INVALIDATION_ASYNC, Optimistic locking, TreeCache V1.4.1SP4). When they start, each of them loads the initial state of the cache from a database. Since the cached data is several huge lists (130K+ objects), the replication is turned off, because it created OutOfMem exceptions. The problem is that when instance A of the cluster retrieves the data and caches it, the corresponding node in instance B is evicted. Then, when B evaluates the data and caches it, the node in instance A is evicted. I've been able to prevent that behaviour in doing some trick that I suppose is not best practice: I start the cache, get its configured cache mode, stop it, set cache mode to LOCAL, get the data and fill the cache, stop it again, set its mode to the previous value and start it again. As surprising as it may seen, the data is still here, even after the stop/start and change of cache mode. I guess that this situation has been seen over and over again, but I couldn't find anything that could help me. Any advice would be highly appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079485#4079485 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - java.lang.ClassCastException -
Hi, I want to get the reference of the MBeanServer of my running JBOSS from my standalone program. And on the MBeanServer instance I want to invoke getVersionName() of the MBean Server. But after getting the Server Object Instance Class I can not type case to the org.jboss.system.server.ServerImpl. Code is given below : Can My Approach is OK ?? anonymous wrote : Hashtable env = new Hashtable(); | String factory = org.jnp.interfaces.NamingContextFactory; | env.put(Context.INITIAL_CONTEXT_FACTORY, factory); | String url1 = jnp://localhost:1099; | env.put(Context.PROVIDER_URL, url1); | Context ctx = new InitialContext(env); | | | MBeanServerConnection mconn = (MBeanServerConnection)ctx.lookup(jmx/invoker/RMIAdaptor); | if(null!=mconn){ | | ObjectName serverObj = new ObjectName(jboss.system:type=Server); | System.out.println(Version = + (String)mconn.getAttribute(serverObj, new String(Version))); | ObjectInstance serverObjInst = mconn.getObjectInstance(serverObj); | System.out.println(serverObj + \n\t Server Object Instance Class Name = + serverObjInst.getClassName()); | | | if(mconn.isInstanceOf(serverObj,org.jboss.system.server.ServerImpl)){ | | System.out.println(-); | | org.jboss.system.server.ServerImpl serverImpl = (org.jboss.system.server.ServerImpl)mconn; | | System.out.println(@@ --- MBean Server Version name = +serverImpl.getVersionName()); | } I got the following exception java.lang.ClassCastException: $Proxy0 at com.test.client.MDBLocater.test(MDBLocater.java:56) at com.test.client.MDBLocater.main(MDBLocater.java:130) 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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:86) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079486#4079486 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: can not access a member of class ... with modifiers
Post the whole class. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079487#4079487 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079487 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:selectItems problems Seam 2 Beta1
What is departmentSectionId? Do you not need to use .equals on that as well? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079489#4079489 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Dumb question: xhtml AND jsp
No. You can mix and match jsp/facelets inside an application but not a page. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079492#4079492 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam mail ...
Post the error message (exception stack trace), your code, and output with Seam Mail debug enabled. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079494#4079494 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with Seam 2
CVS should build correctly. Post back if it doesn't with the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079495#4079495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079495 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - [JBPM 3.2.1] Updating Deployed Version of Process
Hi, When deploying, for example, the websale process definition, along with all it's files: forms.xml, form.create.xhtml, form.fix.xhtml etc... It will initially deploy the process as version 1. If users now start this process, and you then realise there is a problem with the websale process, and you need to change one of the forms, lets say form.fix.xhtml. You then deploy the changes, which will create a version 2 of the process. The current processes in action will still be using version 1 files etc, as expected, and any NEW process instances will use the version 2 files. My question is: what if I need to make changes to the original version 1 files? Perhaps there is an error which doesn't allow users to go any further in the flow, and you need to make a change to the current version files. How would one do that? If anyone has some ideas, or knows how this is done, I would appreciate it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079496#4079496 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079496 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - how to enable drag and drop on a new portal
hi I am using jboss portal 2.6.1 . i created new portal from management portal available for admin user. Then i created a new page called portfolio. Later i added some portlets to this page. Now how do i enable drag and drop for these portlets. I added following entry to my default.xml deployment | if-existsoverwrite/if-exists | context | context-namemyportal/context-name | properties | !-- | | Set the dnd property | -- property |nametheme.dyna.dnd_enabled/name |valuetrue/value | /property | !-- | | Set the partial refresh property | --property |nametheme.dyna.partial_refresh_enabled/name |valuetrue/value | /property | | !-- Control policy config -- | property |namecontrol.portal.access_denied/name |valueignore/value | /property | /properties | /context |/deployment | thanks, tellarsrinivasprabhu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079497#4079497 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: IDLE Connections and Pool ConnectionDestroyedCount near
I am not familiar with the Hibernate , you might need to the Hibernate forums for getting it reviewed . The correct usage of connection in the application code is explained here http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatDoesTheMessageDoYourOwnHousekeepingMean I have helped you to find out the root cause of the leak , I am NO WAY GOING TO DEBUG CODE FOR YOU . DO YOUR HOMEWORK YOURSELF !!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079498#4079498 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: how to enable drag and drop on a new portal
cont .. i have restarted my jboss application server after i added above entry to default-object.xml. But i could not find drag and drop enabled. can any one tell what else i can to do to enable drag and drop. thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079499#4079499 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - @In-jection fails on randomly applicaion scoped components w
Hi, I have two seam application scoped components, one holds an internal list which is added to by the other. So.. | @Name(entryGate) | @Scope(ScopeType.APPLICATION) | public class EXAccessPoint { | | @Logger Log log; | @In EntityManager em; | ListEntryExit exs = new ArrayListEntryExit(); | ... | public void add(String pid, Date time, boolean isExit) { | log.info(add():pid= + pid + ;time= + time + ;em= + em); | EntryExit ex = null; | ... | exs.add(0, ex); | } | and the other uses this component (via @In) to add to the list | @Name(entrySimulation) | @Scope(ScopeType.APPLICATION) | public class EXSimulation { | | @Logger Log log; | @In(create=true) EXAccessPoint entryGate; | ... | public void simulate() { | ... | entryGate.addEntry(PID + (int)((Math.random() * 5) + 1), current.getTime()); | } | | Now here comes the tricky bit. Two web pages are operating using a:poll. the first polls EXSimulation every ten seconds to simulate another series of additions to the list held by EXAccessPoint. The other polls every 1 sec to read the contents of the list from EXAccessPoint and renders them to the UI. What I'm trying to do is simulate people arriving at an EXAccessPoint and have the UI in 'near' real time display them in a security booth (hence all the Ajax) In this scenario, every so often (but predictable) em is NOT @In-jected into EXAccessPoint when EXAccessPoint is itself injected into EXSimulation. I get a NullPointerException and my logs show: | 20:53:16,533 INFO [EXAccessPoint] add():pid=PID1;time=Thu Aug 30 20:53:25 NZST 2007;[EMAIL PROTECTED] | 20:53:16,533 INFO [EXAccessPoint] add():pid=PID1;time=Thu Aug 30 20:53:20 NZST 2007;[EMAIL PROTECTED] | ... | 20:53:17,023 INFO [EXAccessPoint] add():pid=PID5;time=Thu Aug 30 20:53:26 NZST 2007;[EMAIL PROTECTED] | ... | 20:53:39,749 INFO [EXAccessPoint] add():pid=PID2;time=Thu Aug 30 20:53:46 NZST 2007;em=null | 20:53:39,751 FATAL [application] /cgsimulateentry.xhtml @61,102 action=#{entrySimulation.simulate}: java.lang.NullPointerException | There is concurrency and @In-jection going on here with an application scoped component, this is probably not the right design as the two threads are potentially @In-jecting a different em proxy and changing the reference to the em while the other thread is midway through using the component. What is the design pattern that should be used here to avoid the changing of an @In-jected em on an application scoped component across multiple threads? Thanks Troy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079500#4079500 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079500 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - problems with refreshing view after entity change
Hello, I am a seam beginner and after 3 weeks of evaluation I am totally impressed by it. Right now I am developing a test application and I came across a problem which seems very easy but I coudnt find any solution on the forum. What I have is a view with a form which displays entity beans (the view file was generated by seam-gen and modified). In the form I have a link which is binded to a session bean action. In the session bean I change the currently displayed entity and than redirect back to the same view page. And now the problem: althought the entity is correctly changed (which can be seen in the database) the change cannot be seen in the view after we are done with the session bean. When I navigate to some other page and back to the view I can see changes so it has definately something do to with page refreshing. Can anyone help? And here is my code, if anyone is interested entity bean Research.java: | @Entity | public class Research implements Serializable { | | private static final long serialVersionUID = 7974073555607550091L; | private Long id; | private String name; | private Client client; | | private String researcherDescription; | private String dataTableName; | private String description; | private boolean active; | | private Date dateCreated; | | private ResearchConfiguration researchConfiguration; | | private String dataFileName; | private InputStream dataFileData; | | public Research() { | researchConfiguration = new ResearchConfiguration(); | this.dateCreated = new Date(System.currentTimeMillis()); | } | | @Id | @GeneratedValue | public Long getId() { | return id; | } | | public void setId(Long id) { | this.id = id; | } | | @Length(max = 20) | @Column(unique=true) | public String getName() { | return name; | } | | public void setName(String name) { | this.name = name; | } | | @ManyToOne | public Client getClient() { | return client; | } | | public void setClient(Client client) { | this.client = client; | } | | public String getResearcherDescription() { | return researcherDescription; | } | | public void setResearcherDescription(String researcherDescription) { | this.researcherDescription = researcherDescription; | } | | @Column(unique=true) | public String getDataTableName() { | return dataTableName; | } | | public void setDataTableName(String dataTableName) { | this.dataTableName = dataTableName; | } | | public String getDescription() { | return description; | } | | public void setDescription(String description) { | this.description = description; | } | | @NotNull | public boolean isActive() { | return active; | } | | public void setActive(boolean active) { | this.active = active; | } | | public Date getDateCreated() { | return dateCreated; | } | | public void setDateCreated(Date dateCreated) { | this.dateCreated = dateCreated; | } | | @OneToOne(cascade = CascadeType.ALL) | public ResearchConfiguration getResearchConfiguration() { | if (researchConfiguration == null) { | researchConfiguration = new ResearchConfiguration(); | } | return researchConfiguration; | } | | public void setResearchConfiguration( | ResearchConfiguration researchConfiguration) { | this.researchConfiguration = researchConfiguration; | } | | | public String getDataFileName() { | return dataFileName; | } | | public void setDataFileName(String dataFileName) { | this.dataFileName = dataFileName; | } | | @Transient | public InputStream getDataFileData() { | return dataFileData; | } | | public void setDataFileData(InputStream dataFileData) { | this.dataFileData = dataFileData; | } | | | public boolean isDataFileSet(){ | return dataFileName!=null; | } | public void setDataFileSet(boolean dataFileSet){ | | } | | } | | | the session bean ResearchManagerBean.java: | @Stateful | @Name(researchManager) | public class ResearchManagerBean implements ResearchManager { | | @Logger | private Log log; | | @In | FacesMessages facesMessages; | | @In(required = false) @Out | Research research;
[jboss-user] [EJB/JBoss] - List all connected users
Hi, Is there a way to list login of all users connected to a JBoss application ? Using getCallerPrincipal I can determine the owner of the current session, but how do I know about all other users in all other sessions ? I tried to subclass a loginModule to maintain this list myself, but the logout method is not called if the user is logged out by a session timeout... Thanks for your help ! -- Céline View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079511#4079511 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: No Seam component Actor injected
Actor isn't declared @AutoCreate so you'll need to do create=true View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079514#4079514 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problems with refreshing view after entity change
Make sure you clear out the context variable: Contexts.getConversationContext().remove(resaerch); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079515#4079515 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: can not access a member of class ... with modifiers
Here you are: --- package de.axone.shop.context; import java.util.Locale; import javax.ejb.Local; import de.axone.shop.client.Client; import de.axone.shop.selector.SelectorQuery; import de.axone.shop.shop.Shop; import de.axone.shop.user.User; @Local public interface Context { public void create(); public void destroy(); public Client getClient(); public Shop getShop(); public User getUser(); public Locale getLocale(); public SelectorQuery getSelectorQuery(); } --- package de.axone.shop.context; import java.util.Locale; import javax.ejb.Remove; import javax.ejb.Stateful; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.Create; import org.jboss.seam.annotations.Destroy; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Scope; import de.axone.shop.client.Client; import de.axone.shop.selector.SelectorQuery; import de.axone.shop.selector.SelectorQueryImpl; import de.axone.shop.shop.Shop; import de.axone.shop.user.User; @Stateful @Scope(ScopeType.EVENT) @Name(shopContext) class ContextImpl implements Context { public ContextImpl(){} Client client; Locale locale; Shop shop; User user; @Create public void create() { } @Destroy @Remove public void destroy() { } @Override public Client getClient() { return client; } @Override public Shop getShop() { return shop; } @Override public User getUser() { return user; } @Override public Locale getLocale() { return locale; } protected SelectorQueryImpl cachedSelectorQuery; @Override public SelectorQuery getSelectorQuery() { if( cachedSelectorQuery == null ) { cachedSelectorQuery = new SelectorQueryImpl(); if( client != null ) cachedSelectorQuery.setItem( client, client.getName() ); if( shop != null ) cachedSelectorQuery.setItem( shop, shop.getName() ); if( user != null ) cachedSelectorQuery.setItem( user, user.getName() ); if( user != null ) cachedSelectorQuery.setItem( user.no, user.getNo() ); if( locale != null ) cachedSelectorQuery.setItem( language, locale.getLanguage() ); if( locale != null ) cachedSelectorQuery.setItem( country, locale.getCountry() .toUpperCase() ); } return cachedSelectorQuery; } @Override public String toString() { return getSelectorQuery().toString(); } } --- And the complete stack trace: 12:02:23,750 WARN [org.jboss.seam.Component] Exception calling stateful session bean default @Remove method: shopContext java.lang.RuntimeException: exception invoking: destroy at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:134) at org.jboss.seam.Component.callComponentMethod(Component.java:1957) at org.jboss.seam.Component.callDefaultRemoveMethod(Component.java:1868) at org.jboss.seam.Component.destroy(Component.java:1227) at org.jboss.seam.contexts.Contexts.destroy(Contexts.java:251) at org.jboss.seam.contexts.Contexts.flushAndDestroyContexts(Contexts.java:394) at org.jboss.seam.contexts.FacesLifecycle.endRequest(FacesLifecycle.java:83) at org.jboss.seam.jsf.SeamPhaseListener.afterRender(SeamPhaseListener.java:515) at org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:230) at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87) at
[jboss-user] [JCA/JBoss] - Re: IDLE Connections and Pool ConnectionDestroyedCount near
vickyk wrote : | I have helped you to find out the root cause of the leak , | Thanks ; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079526#4079526 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with converter
I dropped this matter because I managed to solve my task without the use of a converter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079527#4079527 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: how to enable drag and drop on a new portal
update on this i have updated database table JBP_PORTAL_OBJECT_PROPS manually. here i set theme.dyna.dnd_enabled and theme.dyna.partial_refresh_enabled to true. I am sure there is a better way to do this. Waiting for some suggestions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079528#4079528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Could not get EJBHome
i have both client and server, and there is jndi.properties file in the client classpath(C:\Programme\jboss\client) too. i guess the problem is with the Code: javax.ejb.EJBHome homeNew = (FlugSucheHome)handleNeu.getEJBHome(); i think the object handleNeu has the method getEJBHome(), but i don't know why, when i run the Code, there is the Exception: [java] java.rmi.ServerException: Could not get EJBHome; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079529#4079529 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Urgent Help Required
You have to configure your Applicationserver correctly for working with oracle. Only after that jbPM comes into play View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079530#4079530 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079530 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: [JBPM 3.2.1] Updating Deployed Version of Process
this has been discussed in the forum several times... it is not that easy if the process changes. There is also a jira issue for this. So look there to View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079532#4079532 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079532 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBoss + JBPM + Mysql - Deployment is not going through
from the jBPM source it is easy to generate ddl scripts for other databases. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079534#4079534 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: can not access a member of class ... with modifiers
Make the class public. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079535#4079535 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079535 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - MDB InstanceNotFoundException +MBean
Hi, I deploy a simple MDB (MessageEJB) in JBOSS. In the jboss.j2ee in the JMX console MBean responsible for operating the MessageEJB is JMSContainerInvoker. MBean Name: Domain Name:jboss.j2ee service:EJB plugin: invoker binding:message-driven-bean jndiName: local/[EMAIL PROTECTED] MBean Java Class: org.jboss.ejb.plugins.jms.JMSContainerInvoker Binding name is binding=message-driven-bean,jndiName=local/[EMAIL PROTECTED],plugin=invoker,service=EJB In the code I have to look up the Object Name in the below mentioned way | MBeanServerConnection mconn = (MBeanServerConnection)ctx.lookup(jmx/invoker/RMIAdaptor); | | ObjectName name = new ObjectName(jboss.j2ee:service=EJB,plugin=invoker,binding=message-driven-bean,jndiName=local/[EMAIL PROTECTED]); | | Object val = mconn.getAttribute(name, Name); | ObjectInstance objInst = mconn.getObjectInstance(name); | | System.out.println(name + \n\tObject Instance Class Name = + objInst.getClassName()); But for each and every time when I restart /deploy the JBOSS @32008150 is getting changed. And I am getting javax.management.InstanceNotFoundException: jboss.j2ee:service=EJB,plugin=invoker,binding=message-driven-bean,jndiName=local/[EMAIL PROTECTED] is not registered. How can I solve this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079538#4079538 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079538 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: MDB InstanceNotFoundException +MBean
Have a look at this http://wiki.jboss.org/wiki/Wiki.jsp?page=WhyDoesTheLocalNameContainARandomNumber View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079539#4079539 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079539 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: can not access a member of class ... with modifiers
oh. ok. I thought it must be something _very_ stupid. Well, it is. I missinterpreted the error message and thougt I had too much and not to less public. Now its obvious. Thanks very much. Florian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079540#4079540 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Instances get lost - strange behavior in conversational
thejavafreak wrote : 1. Perhaps because the conversation has ended, or it has reached the maximum time-out | 2. Perhaps it's on a different conversation, make sure it has the same conversation id Sorry, I don't understand this. The component instance is the same when I return to the view. Only the instance of the Entity List has changed. In my opinion, when the conversation has ended I would get a new instance of the component class (RoomMaint ) The method when I come back is the start method @Begin(join = true) | public void start() { | log.debug(start); | } | BTW, I use Seam 2 Beta (Latest CVS Build) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079545#4079545 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Replication of configuration/management data across a distri
Hi, I?ve developed a JMX MBean for an application management (mostly in order to configure application specific parameters, such as 3rd party, IPs, etc.). The MBean persistence is accomplished using the local file system. My problem, however, is that the application resides in a cluster, and I want changes in one node to be automatically distributed to other nodes. Is there a standard/automatic way to ensure that changes in the application persistent data of one node are automatically replicated to other nodes? If the answer is no, can you suggest a way to do that (e.g. should I use messages sent from each MBean when it?s updated)? Thanks, Oz View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079547#4079547 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam mail ...
Another question about seam mail Its possible to use seam mail in classic jsp pages (not facelets)?? I try with | %@ taglib uri=http://jboss.com/products/seam/mail; prefix=sm% | and got error Cannot find tag library descriptor If is possible, please give me one example, default seam doc use facelets View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079549#4079549 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Bug or not?
Class @Name(userHome) /** * User entity home class * Contains user management functions */ public class UserHome extends EntityHome { ... @Restrict(#{s:hasRole('Librarian')}) public void addUser() { getInstance().setRole(Role.USER); persist(); } Form: h:form id=userAddForm rich:panel style=background-color:#faf9cc; f:facet name=headerUserAdd/f:facet s:decorate id=userEmailDecoration template=/layout/edit.xhtml ui:define name=labelE-mail/ui:define h:inputText id=email value=#{userHome.instance.email}/ /s:decorate s:decorate id=firstNameDecoration template=/layout/edit.xhtml ui:define name=labelFirst Name/ui:define h:inputText id=firstname value=#{userHome.instance.firstName}/ /s:decorate s:decorate id=emailDecoration template=/layout/edit.xhtml ui:define name=labelLast Name/ui:define h:inputText id=lastName value=#{userHome.instance.lastName}/ /s:decorate s:decorate id=passwordDecoration template=/layout/edit.xhtml ui:define name=labelPassword/ui:define h:inputText id=Password value=#{userHome.instance.password}/ /s:decorate h:commandButton id=addUser value=Add User action=#{userHome.addUser}/ /rich:panel /h:form Test: public class UserHomeTest extends SeamTest { @Test public void addUserTest() throws Exception { //login new FacesRequest() { @Override protected void updateModelValues() { assertFalse(Is user logged in, (Boolean) getValue(#{identity.loggedIn})); // Some data(from import-test.sql) //login setValue(#{identity.username}, [EMAIL PROTECTED]); setValue(#{identity.password}, Eugene); } @Override protected void invokeApplication() { invokeMethod(#{identity.login}); } }.run(); // Testing add user method new FacesRequest() { @Override protected void updateModelValues() { //fill new user setValue(#{userHome.instance.firstName}, Lida); setValue(#{userHome.instance.lastName}, Jarikova); setValue(#{userHome.instance.email}, [EMAIL PROTECTED]); setValue(#{userHome.instance.password}, passme); } @Override protected void invokeApplication() { invokeMethod(#{userHome.addUser}); } @Override protected void renderResponse() { UserList userList = (UserList) getInstance(userList); assertNotNull(userList); assertEquals(4, (long) userList.getResultCount()); } }.run(); Error: javax.el.ELException: javax.persistence.TransactionRequiredException: No active JTA transaction on joinTransaction call at com.sun.el.parser.AstValue.invoke(AstValue.java:178) at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:286) at org.jboss.seam.util.UnifiedELMethodBinding.invoke(UnifiedELMethodBinding.java:36) at org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58) at org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75) at org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58) at org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75) at org.jboss.seam.mock.SeamTest$Request.invokeMethod(SeamTest.java:401) at org.teamdev.librarian.UserHomeTest$1.invokeApplication(UserHomeTest.java:35) at org.jboss.seam.mock.SeamTest$Request.run(SeamTest.java:489) at org.teamdev.librarian.UserHomeTest.addUserTest(UserHomeTest.java:17) Caused by: javax.persistence.TransactionRequiredException: No active JTA transaction on joinTransaction call at org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:429) at org.hibernate.ejb.AbstractEntityManagerImpl.joinTransaction(AbstractEntityManagerImpl.java:402) at org.jboss.seam.persistence.EntityManagerProxy.joinTransaction(EntityManagerProxy.java:113) at org.jboss.seam.framework.EntityHome.persist(EntityHome.java:47) at org.teamdev.librarian.user.UserHome.addUser(UserHome.java:42) at org.jboss.seam.util.Reflections.invoke(Reflections.java:20) at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) at
[jboss-user] [Beginners Corner] - Re: MDB InstanceNotFoundException +MBean
I update my jboss.xml by adding local-jndi-name TestMessageEJB. jboss | enterprise-beans | session | ejb-nameMBeanTestEJB/ejb-name | jndi-nameMBeanTestEJB/jndi-name | /session | message-driven | ejb-nameMessageEJB/ejb-name | destination-jndi-namequeue/testQueue/destination-jndi-name | local-jndi-nameTestMessageEJB/local-jndi-name | /message-driven | /enterprise-beans | /jboss In the Java code I update it following way try{ | | Object name = jndiCtx.lookup(TestMessageEJB); | | //ObjectName name = new ObjectName(jboss.j2ee:service=EJB,plugin=invoker,binding=message-driven-bean,jndiName=local/MessageEJB); | ObjectName objName = new ObjectName((String)name); | MBeanInfo objMBeanInfo = mbeanServer.getMBeanInfo(objName); | System.out.println(@@ -- MBeanTestBean :invokeMBeanFeatures : +objMBeanInfo.getClassName()); | | }catch(Exception ex){ | | ex.printStackTrace(); | } I got the javax.naming.NameNotFoundException: TestMessageEJB not bound. Can any body please help me ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079554#4079554 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Generic URLs
Hi, in order to keep the thousands of google links when the project goes online and replaces the old website I have to use the same url scheme. Is it possible to complete replace the url - jsf.xhtml mapping and the way s:link generates its targets? e.g. default: /showarticle.seam?aid=00801 i need: /00801.html default /showcategorie.seam?cid=34 i need: /?wg=34 I could use apache and mod_rewrite as first step to accomplish the url - jsf mapping. But this won't make s:link work and I would like it better not to put an additional tier in front of jboss. Best Thanks, Florian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079555#4079555 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Generic URLs
Search the forum for urlrewrite filter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079557#4079557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Generic URLs
ok. thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079559#4079559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam mail ...
No, its a facelets only library for now. A good community contribution would be make the library run with JSP (it should work, it's just missing the .tld and the Tag classes) - the best way to achieve this would probably to port the library to the CDK. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079561#4079561 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079561 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem with publishing a web service
Hi! hmm.. the JBOSS_HOME variable looks a bit strange: C:\FitNetManager\Jboss-4.0.5.GA\bin\\.. can you set it to C:\FitNetManager\Jboss-4.0.5.GA somehow? regards! /Ole eviware.com View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079562#4079562 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079562 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Urgent Help Required
i have downloaded the jbpm3.2.1 suite and i m using it with default configuration.i m not using any other application sever...i have tried to solve the problem and now i m getting following error... 16:34:27,479 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: CONFIGURED I Depend On: jboss:service=TransactionManager jboss.jca:service=DataSourceBinding,name=DefaultDS --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.jca:service=DataSourceBinding,name=DefaultDS State: NOTYETINSTALLED Depends On Me: jboss:service=KeyGeneratorFactory,type=HiLo it seems that there is only one configurtion missingcan anyone please figure it out. Thanks in advance Muddsar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079564#4079564 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079564 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: MDB InstanceNotFoundException +MBean
Problem is getting solved. I did some mistake in the jboss.xml file. message-driven | ejb-nameMessageEJB/ejb-name | destination-jndi-namequeue/testQueue/destination-jndi-name | local-jndi-nameMessageEJB/local-jndi-name | /message-driven Here local-jndi-name should be equal to the ejb-name. And I find jboss.j2ee:service=EJB,plugin=invoker,binding=message-driven-bean,jndiName=MessageEJB @ is removed. :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079567#4079567 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079567 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Bug or not?
Try @Restrict(#{s:hasRole('Librarian')}) | @Transactional | public void addUser() { | getInstance().setRole(Role.USER); | persist(); | } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079571#4079571 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Identity remove all roles
It does clear the roles. I had an implementation problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079573#4079573 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079573 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam2, Pageflow, start-state
Hey there, I experienced the same thing today. I use MyEclipse for deploying applications and the default behaviour of the web application module is to include all referenced JARs. So even if you don't have jboss-seam.jar copied to your WEB-INF/lib MyEclipse will copy it on deployment if your projects references it. The consequence is, that you end up having two jboss-seam jars - one as usual in the EAR, the other one in your web project. And now guess what: It turned out that this was exactly the cause for the page flow exception. :-o So if you use MyEclipse, disable the option to include referenced jars in your web project. If you don't use it, just make sure that jboss-seam jar is where i belongs; in the root of the ear and only there... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079577#4079577 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079577 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam mail ...
My another question (desired behavior) is On my jboss as install mail server (I read about buni project), from app send mails, BUT I want that mail save in sent items of user mail account on jboss mail server. Is that possible, do you have link to tutorial. Then off course from my app read received mail on user mail account on jboss mail server. Naturally, after creation of user in our app we will create user on mail server. Then all benefits of mail account will get by mail server and in our app we will only communicate with mail server (without writing code to managing mails) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079578#4079578 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079578 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - How can I Stop MDB via Programming ?
I have deployed a MDB in the JBOSS. I send a simple message to the JBOSS testQueue and the MDB reads that message. Is there any way to stop the MDB to get the message from the testQueue ? I already invoke the JMSContainerInvokerMBean for that MDB and also invoke the stopDelivery();/stop(); method on it. But it is not working. when I send the message MDB is reading the message. Please help me. Code is listed below. package com.test; | | import org.jboss.logging.Logger; | import org.jboss.mx.util.MBeanServerLocator; | import org.jboss.mx.util.MBeanProxy; | import org.jboss.ejb.plugins.jms.JMSContainerInvokerMBean; | | import javax.ejb.SessionBean; | import javax.ejb.CreateException; | import javax.ejb.SessionContext; | import javax.ejb.EJBException; | import javax.management.MBeanServer; | import javax.management.ObjectName; | import javax.management.MalformedObjectNameException; | import javax.management.MBeanInfo; | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.naming.NamingException; | | /** | * Created by IntelliJ IDEA. | * User: 151054 | * Date: Aug 30, 2007 | * Time: 2:29:30 PM | * To change this template use File | Settings | File Templates. | */ | | public class MBeanTestBean implements SessionBean { | | //private static Logger log; | private SessionContext mContext; | private MBeanServer mbeanServer; | private ObjectName mManagementService; | | private Context jndiCtx=null; | private JMSContainerInvokerMBean invoker = null; | | | public MBeanTestBean() { | } | | public void ejbCreate() throws CreateException { | | if(mbeanServer == null) | try { | jndiCtx = new InitialContext(); | String serverName = (String)jndiCtx.lookup(java:comp/env/Server-Name); | serverName = serverName.trim(); | if(serverName == null || serverName.length() == 0 || serverName.equals(null)) { | try { | mbeanServer = MBeanServerLocator.locateJBoss(); | System.out.println(@@@ - mbeanServer = +mbeanServer.getDefaultDomain()); | System.out.println(@@@ - mbeanServer No of MBean = +mbeanServer.getMBeanCount()); | | } | catch(IllegalStateException e) { | throw new CreateException(No local JMX MBeanServer available); | } | } else { | Object lServer = jndiCtx.lookup(serverName); | if(lServer != null) { | if(lServer instanceof MBeanServer) | mbeanServer = (MBeanServer)lServer; | else | throw new CreateException(Server: + lServer + reference by Server-Name: + serverName + is not of type MBeanServer); | } else { | throw new CreateException(Server-Name + serverName + does not reference an Object in JNDI); | } | } | } | catch(NamingException ne) { | throw new EJBException(ne); | } | } | | public void setSessionContext(SessionContext sessionContext) throws EJBException { | } | | public void ejbRemove() throws EJBException { | } | | public void ejbActivate() throws EJBException { | } | | public void ejbPassivate() throws EJBException { | } | | public void invokeMBeanFeatures(){ | | try{ | | //Object name = jndiCtx.lookup(MessageEJB); | | ObjectName objName = new ObjectName(jboss.j2ee:service=EJB,plugin=invoker,binding=message-driven-bean,jndiName=MessageEJB); | //ObjectName objName = new ObjectName((String)name); | MBeanInfo objMBeanInfo = mbeanServer.getMBeanInfo(objName); | System.out.println(@@ -- MBeanTestBean :invokeMBeanFeatures : +objMBeanInfo.getClassName()); | | invoker = (JMSContainerInvokerMBean) MBeanProxy.get(JMSContainerInvokerMBean.class,objName,mbeanServer ); | //invoker.stopDelivery(); | invoker.stop(); | | }catch(Exception ex){ | | ex.printStackTrace(); | } | } | } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079580#4079580 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079580 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: JMS Bridge Question
Hi Tim! I think I have the same issue. I am using 2 instances of jboss 4.2.1GA with messaging 1.3 The source is a remote server (on my local machine). | mbean code=org.jboss.jms.jndi.JMSProviderLoader name=jboss.messaging:service=JMSProviderLoaderRemote,name=RemoteJMSProvider_A | attribute name=ProviderNameRemoteJMSProvider_A/attribute | attribute name=ProviderAdapterClassorg.jboss.jms.jndi.JNDIProviderAdapter/attribute | !-- The combined connection factory -- | attribute name=FactoryRefXAConnectionFactory/attribute | !-- The queue connection factory -- | attribute name=QueueFactoryRefXAConnectionFactory/attribute | !-- The topic factory -- | attribute name=TopicFactoryRefXAConnectionFactory/attribute | attribute name=Properties | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jnp.interfaces | java.naming.provider.url=localhost:2099 | /attribute | /mbean | As you can see I am not using java: but the error is the same. My error only occurs if I am using QOS_ONCE_AND_ONLY_ONCE. Settings to 1 works. On the source I get: | 14:04:59,328 ERROR [ExceptionUtil] ConnectionEndpoint[76] sendTransaction [a42z4q-jbavvr-f5z5x8i7-1-f5z7mkao-3l] | javax.jms.JMSException: Failed to route Reference[8]:RELIABLE to incomingSyncRequests | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoint.java:694) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.processTransaction(ServerConnectionEndpoint.java:786) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendTransaction(ServerConnectionEndpoint.java:456) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$sendTransaction$aop(ConnectionAdvised.java:101) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N326865078927536.invokeNext(ConnectionAdvised$sendTransaction_N326865078927536.java) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$sendTransaction_N326865078927536.invokeNext(ConnectionAdvised$sendTransaction_N326865078927536.java) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.sendTransaction(ConnectionAdvised.java) | at org.jboss.jms.wireformat.ConnectionSendTransactionRequest.serverInvoke(ConnectionSendTransactionRequest.java:82) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:141) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:734) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:560) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:383) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165) | On my destination (where bridging is installed) I get: | 14:04:59,328 WARN [Bridge] Failed to send + acknowledge batch, closing JMS objects | javax.transaction.RollbackException: [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] [com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't commit because the transaction is in aborted state | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commit(TransactionImple.java:253) | at org.jboss.jms.server.bridge.Bridge.sendBatch(Bridge.java:1221) | at org.jboss.jms.server.bridge.Bridge.access$1600(Bridge.java:59) | at org.jboss.jms.server.bridge.Bridge$BatchTimeChecker.run(Bridge.java:1336) | at java.lang.Thread.run(Thread.java:619) | 14:04:59,359 ERROR [ClosedInterceptor] ClosedInterceptor.ClientSessionDelegate[77]: method getXAResource() did not go through, the interceptor is CLOSED | 14:04:59,359 WARN [Bridge] Will retry after a pause of 5 ms | Any Ideas? If there is already a known problem... Is there a Jira Bug filed? THX a lot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079581#4079581 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Urgent Help Required
jbpmsuite contains a JBoss Application Server (JBoss AS). As stated before, that is where the problem is, not jBPM. You datasource in the AS is not configured correctly. The link you refere to in your initial post is about MySQL totally different... so please, please, see how to configure an oracle datasource correctly in JBoss AS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079582#4079582 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079582 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Trying to build seam-2.0.0.BETA1
davidjoseph: Working with jboss-seam-CVS.2007-08-29_01-13-07 I have no problem with any of core modules or the examples mentioned compiling. Which specific build are you having problems with? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079583#4079583 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079583 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam mail ...
If you want to keep a copy of items sent using Seam Mail, the best way is to add a bcc to a special address, and use a mail filter to direct it to the correct place. You'll need to ask over on buni.org for how to do this with Meldware. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079584#4079584 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079584 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Deploying EJB Endpoint Web Services on Jboss-4.0.5.GA
Hi, I'm in a very similar situacion than: http://www.jboss.com/index.html?module=bbop=viewtopicp=4060099#4060099 My web services runs on jboss 4.0.3_SP1 without problems. Unfortunatly on jboss 4.0.5.GA it doesn't work. I guess there is a deploy problem: 08:49:45,421 INFO [EARDeployer] Init J2EE application: file:/C:/Proyectos/Gauss/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/WsVmonEAR.ear/ 08:49:46,015 INFO [EjbModule] Deploying VideoServerEJB 08:49:46,625 WARN [PortComponentMetaData] wsdl-port element in webservices.xml not namespace qualified: VideoServerServicePort 08:49:47,281 ERROR [MainDeployer] Could not create deployment: file:/C:/Proyectos/Gauss/jboss-4.0.5.GA/jboss-4.0.5.GA/server/default/deploy/WsVmonEAR.ear/WsVmon.jar/ java.lang.NoSuchMethodError: com.ibm.wsdl.xml.WSDLReaderImpl.setEntityResolver(Lorg/xml/sax/EntityResolver;)V at org.jboss.ws.metadata.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:142) at org.jboss.ws.metadata.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:273) at org.jboss.ws.deployment.JSR109ServerMetaDataBuilder.buildMetaData(JSR109ServerMetaDataBuilder.java:94) at org.jboss.ws.deployment.ServiceEndpointDeployer.create(ServiceEndpointDeployer.java:85) The wsdl and mapping files were generated by the SUN's JWSDP (http://java.sun.com/webservices/downloads/previous/index.jsp) This is the service endpoint | package com.gauss.vmon.ws.endpoint; | | import java.rmi.Remote; | import java.rmi.RemoteException; | | import com.gauss.vmon.ws.data.CameraData; | import com.gauss.vmon.ws.data.Credential; | | public interface VideoServerService extends Remote { | | | /** | * @param vsfId | * @return | */ | public CameraData getCameraData(String vsfId) throws RemoteException; | | /** | * @param vsfId | * @return | */ | public Credential getCredential(String vsfId) throws RemoteException;; | | } The JWSDP's config.xml file | ?xml version=1.0 encoding=UTF-8? | configuration xmlns=http://java.sun.com/xml/ns/jax-rpc/ri/config; | service name=VideoServerService | targetNamespace=http://ws.vmon.gauss.com; | typeNamespace=http://ws.vmon.gauss.com/types; | packageName=com.gauss.vmon.ws | interface name=com.gauss.vmon.ws.endpoint.VideoServerService/ | /service | /configuration My webservices.xml: | webservices xmlns=http://java.sun.com/xml/ns/j2ee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd; | version=1.1 | webservice-description | webservice-description-name | VideoServerService | /webservice-description-name | wsdl-fileMETA-INF/wsdl/VideoServerService.wsdl/wsdl-file | jaxrpc-mapping-fileMETA-INF/mapping.xml/jaxrpc-mapping-file | port-component | port-component-nameVideoServerService/port-component-name | wsdl-portVideoServerServicePort/wsdl-port | service-endpoint-interface | com.gauss.vmon.ws.endpoint.VideoServerService | /service-endpoint-interface | service-impl-bean | ejb-linkVideoServerEJB/ejb-link | /service-impl-bean | /port-component | /webservice-description | /webservices | And the wsdl and mapping files: wsdl | ?xml version=1.0 encoding=UTF-8? | | definitions name=VideoServerService targetNamespace=http://ws.vmon.gauss.com; xmlns:tns=http://ws.vmon.gauss.com; xmlns=http://schemas.xmlsoap.org/wsdl/; xmlns:ns2=http://ws.vmon.gauss.com/types; xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; | types | schema targetNamespace=http://ws.vmon.gauss.com/types; xmlns:tns=http://ws.vmon.gauss.com/types; xmlns:soap11-enc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; xmlns=http://www.w3.org/2001/XMLSchema; | complexType name=CameraData | sequence | element name=apiCode type=string nillable=true/ | element name=channel type=int/ | element name=ip type=string nillable=true/ | element name=password type=string nillable=true/ | element name=port type=int/ | element name=status type=int/ | element name=statusDescription type=string nillable=true/ | element name=username type=string nillable=true/ | element name=vsfId type=string nillable=true//sequence/complexType
[jboss-user] [JBoss Seam] - Re: s:selectItems problems Seam 2 Beta1
Its a Long so I guess .equals would work but the method is failing on this condition if (!(object instanceof DepartmentSection)) return false; View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079586#4079586 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079586 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - please help me out of this problem
Hi I have a SFSB as follows, it has an entity named user, in page when I change a list box I want the selected user to be loaded but nothing will be displayed | @Stateful | @Name(userRegister) | @Scope(ScopeType.SESSION) | public class UserRegisterAction implements UserRegister { | | private Log logger = LogFactory.getLog(UserRegisterAction.class); | | private User user; | private String selectedUsername = 0; | | //rest of the codes | | public void userListValueChanged(ValueChangeEvent event) { | | try { | selectedUsername = (String) event.getNewValue(); | if(selectedUsername.equals(0)){ | logger.debug(new user); | User u = new User(); | setUser(u); | }else{ | logger.debug(edit:+ selectedUsername); | User u = userDao.load(selectedUsername); | setUser(u); | logger.debug(test:+ user.getUsername()); | } | } catch (Exception e) { | e.printStackTrace(); | } | } | | | | //getters and setters | now in xhtml file: | h:panelGroup id=exportUser | h:outputLabel id=userL | value=#{bundle['userDefination.group']} for=groupMenu / | t:selectOneMenu id=userMenu required=false value=#{userRegister.selectedUsername} | valueChangeListener=#{userRegister.userListValueChanged} | onchange=submit(this) | f:selectItem itemLabel=New User ... itemValue=0 / | f:selectItems id=userList value=#{userRegister.allUsers} / | /t:selectOneMenu | /h:panelGroup | | after the user change the list this form will submit but any reference to userRegister.user.username or other properties of user don't work . at first, user is not null it is a user with null property values. the thing wondering me is that in change value listener I load the user with new values but new values won't be displayed at page!!! and #{userRegister.user} returns the object reference of User with the same value that it was already. any help would be appreciated thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079587#4079587 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079587 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:selectItems problems Seam 2 Beta1
What class is object? What's its hierachy? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079588#4079588 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079588 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Downloading the PDF , XLS file.
I have the same problem too. Idea how to get it work? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079590#4079590 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079590 ___ 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 out of this problem
#{userRegister.user} always returns value [EMAIL PROTECTED] even after I set the user to new User() it won't change !!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079591#4079591 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079591 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-Security with JAX-RPC
It seems to work! Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079592#4079592 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Help needed publishing remote portlet
Hi, I have developed a very simple portlet that I have deployed in Jboss Portal 2.6.1 with success. It's a remote portlet and everything seems to be working fine. I can create a new instance of my portlet and use it anywhere in the portal. What I can't understand is how can another another user consume my remote portlet in his portal. Shouldn't my remote portlet have a wsdl so that other users can consume it? Kind regards Moroboshi View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4079595#4079595 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4079595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user