From do-not-reply at jboss.com Thu Oct 1 01:48:36 2009 From: do-not-reply at jboss.com (jjp) Date: Thu, 1 Oct 2009 01:48:36 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4.1, JBoss 4.23 and Seam 2.2.0 Message-ID: <1520014.1254376116289.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I want to use JBPM in my Application and a I can not change the environment of my application (Seam/Richfaces/persistence.xml), so I try to configure JBPM in that way, that it works together. I want to store my entities in JBPM Workflows. The first try was not successful, because the ProcessEngine serialized the entities as a Blob. I expected that the PE will only store the hibernate ID of my entity. So I searched in the documentation and forum, and the source code. By the way, a great work ! I found that JBPM and my application used two different hibernate sessions. And the described way was the solution. My hope is now, that this configuration is not a dead end in future versions, and You don't say "For God's sake!" this this a anti-example. May this solution is helpful for some people with similar problems. Thanks, Joerg View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258037#4258037 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258037 From do-not-reply at jboss.com Thu Oct 1 01:58:25 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 1 Oct 2009 01:58:25 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1 Message-ID: <21462137.1254376705191.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I commented on this again since I consider this really important because at the moment it makes you change your process model for escalations which is probably not wanted. If this was possible in 3.x this would also lead to problems when migrating from 3.x to 4.x, right? Regarding the behaviour in 3.x Joram stated in the comments answering your question: anonymous wrote : | The most logical is not necessarily what was in 3 ;-) | | But you are right: in 3, the task is kept open, but it can't be completed anymore. The only option is than to delete the task. Imo, this makes sense. | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258038#4258038 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258038 From do-not-reply at jboss.com Thu Oct 1 02:59:20 2009 From: do-not-reply at jboss.com (tom.baeyens@jboss.com) Date: Thu, 1 Oct 2009 02:59:20 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3 Message-ID: <22382366.1254380360093.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> files of jboss 4 are still in the sources, but it is not supported. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258044#4258044 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258044 From do-not-reply at jboss.com Thu Oct 1 03:01:31 2009 From: do-not-reply at jboss.com (belcar) Date: Thu, 1 Oct 2009 03:01:31 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: links from portlet content to another portal page Message-ID: <30438880.1254380491752.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The reference guide has a topic about this: "13.9.3. Link to other pages." // Get the ParentNode. Since we are inside a Window, the Parent is the Page | PortalNode thisNode = req.getPortalNode().getParent(); | // Get the Node in the Portal hierarchy tree known as "../default" | PortalNode linkToNode = thisNode.resolve("../default"); | // Create a RenderURL to the "../default" Page Node | PortalNodeURL pageURL = resp.createRenderURL(linkToNode); | // Output the Node's name and URL for users | Samples | 149 | html.append("Page: " + linkToNode.getName() + " -> "); | html.append("" + linkToNode.getName() + ""); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258045#4258045 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258045 From do-not-reply at jboss.com Thu Oct 1 03:04:43 2009 From: do-not-reply at jboss.com (saytomahendra) Date: Thu, 1 Oct 2009 03:04:43 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - how to get the pooled actors information Message-ID: <28643480.1254380683034.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> i am novice to the jbpm i have problem in retrieving the audit Trail data,i am using jbpm3.2.3 can anybody tell me how to retrieve the data from either Jbpm database(MSSQL 2005) or history apis. 1. i want the information about the pooled actors 2. who has performed a perticular action. thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258046#4258046 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258046 From do-not-reply at jboss.com Thu Oct 1 03:07:07 2009 From: do-not-reply at jboss.com (bodrin) Date: Thu, 1 Oct 2009 03:07:07 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - jbossall-client.jar and the jar hell at remote JBM client Message-ID: <5135025.1254380827737.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> [JBM.1.4.0.SP3 \ jboss-4.2.2.GA] Hi, >From a remote JBM client point of view we need some JBoss jars including jbossall-client.jar (http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP3/html/installation.html#inst.remoteclient). I see two main problems with this: 1) The order of this jars does matter - this I think is not even mentioned into the docs, but if you list them into your classpath into a different order it will not work some times. The bigger problem is that in some places/containers there is no way to specify any such order like in tomcat for example. 2) If your project uses some library which is duplicated in jbossall-client.jar also and the versions are different - again we have a problem. One such example is hibernate. I have found in this thread http://www.jboss.org/index.html?module=bb&op=viewtopic&t=153853&postdays=0&postorder=asc&start=10 that anonymous wrote : jbossall-client.jar is an evil aggregation of jars. You will need to use the individual client jars from /jboss/client. I have changes the examples to make use of the correct jars, and we have documented the minimal set for JBM, but depending on the other EE features you use you may need to add more client jars... So, the question is what is the minimal set of client jars needed for a remote JBM client? And does this will solve problem 1) ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258047#4258047 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258047 From do-not-reply at jboss.com Thu Oct 1 03:17:41 2009 From: do-not-reply at jboss.com (agrajm) Date: Thu, 1 Oct 2009 03:17:41 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: WSException: Cannot obtain endpoint Message-ID: <9752852.1254381461851.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I'm facing the same problem when deploying my web service with JBoss4.2.3 and JDK1.5. There is no exception when I start the server. But when I try to access the WSDL, it gives me the same exception ? Have you found out any solution to this problem ? I'm a newbie to this world of web services so please let me know what I'm missing here. Best Regards, Agraj View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258048#4258048 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258048 From do-not-reply at jboss.com Thu Oct 1 03:34:49 2009 From: do-not-reply at jboss.com (killian) Date: Thu, 1 Oct 2009 03:34:49 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Problem with the VacationRequest example Message-ID: <25963145.1254382489596.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I'm novice to jbpm. I have installed JBPM 4.1 on my computer on Tomcat 6.0.14 and i deployed the VacationRequest example (the taskform example). My problem is when i change Tomcat's port to 8081 for example, http://localhost:8081/gwt-console-server/rs/process/definitions give me "http://localhost:8080/gwt-console-server/rs/form/process/VacationRequest-1/render" in the formUrl attribute of VacationRequest-1 process. If i do the same thing from another computer in the network, it's return the same value of formUrl attribute. >From jbpm-console, i can't start an instance of the VacationRequest-1 process because jbpm-console tries to reach localhost:8080 to get the form instead of the ip and the port of the tomcat server. I think i forgot something to configure but i can't find what. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258050#4258050 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258050 From do-not-reply at jboss.com Thu Oct 1 04:10:02 2009 From: do-not-reply at jboss.com (timfox) Date: Thu, 1 Oct 2009 04:10:02 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: jbossall-client.jar and the jar hell at remote JBM clien Message-ID: <23244347.1254384602283.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> There exact jars you need on the client side is explained in detail in section 4.4 of the user manual, and yes, it does also say in a yellow note box that they must appear in a different order: http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.5.GA/html/installation.html#inst.remoteclient It's always worth looking in the documentation before asking a question like this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258052#4258052 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258052 From do-not-reply at jboss.com Thu Oct 1 04:13:20 2009 From: do-not-reply at jboss.com (noicangi) Date: Thu, 1 Oct 2009 04:13:20 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - jbpm4.1 process project Message-ID: <26451144.1254384800278.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi this is my configuration: jboss 5.1.0ga + mysql5 + jbpm4 + galileo + tools m3 my question is, how i create a jbpm4 process project on eclipse? how can i do that? or i need to create a jbpm3 project and a jbpm4 process definition in that project? also i noticed that on jboss with signavio the swinlines are missing, this is normal? or i commited an error during instalation? thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258055#4258055 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258055 From do-not-reply at jboss.com Thu Oct 1 04:20:32 2009 From: do-not-reply at jboss.com (asafz) Date: Thu, 1 Oct 2009 04:20:32 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: using error-page in web.xml for custom error page Message-ID: <9832057.1254385232193.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Still no answers so I will add more information: 1. I'm using jboss 5.0.1 and 5.1 and see the same problem 2. I'm throwing RuntimeException from the application 3. even when using exception-type instead of error-type and setting it to Exception I still can not reach to my custom error page. Again, any ideas??? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258057#4258057 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258057 From do-not-reply at jboss.com Thu Oct 1 04:32:20 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 1 Oct 2009 04:32:20 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm4.1 process project Message-ID: <22019650.1254385940330.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Starting with jbpm 4.0 there is no project type named "process project" anymore. Just create a java project and afterwards create a new jbpm process definition. The swimlanes are missing in the Signavio editor and this is normal. About 2 weeks ago I was talking to one of the Signavio guys about this on a exhibition and he told me that this was just the first step for the integration and maybe further elements will be added in the next releases. HTH View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258061#4258061 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258061 From do-not-reply at jboss.com Thu Oct 1 04:53:14 2009 From: do-not-reply at jboss.com (elhostis) Date: Thu, 1 Oct 2009 04:53:14 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: hibernate.cfg.xml not found Message-ID: <28680777.1254387194314.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I think the problem is on the java command. In dev, I use Eclipse to test my application. In production, I use the java command. Something is missing, but why ? I use jBPM 3.1.1, so what ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258065#4258065 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258065 From do-not-reply at jboss.com Thu Oct 1 05:10:55 2009 From: do-not-reply at jboss.com (mglowacki) Date: Thu, 1 Oct 2009 05:10:55 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Adding JBossCache 4.2 to JBoss 5.1 default configuration Message-ID: <3592448.1254388255615.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I can't find any instructions of adding cache to default configuration of jboss 5. I recently switched from 4.2.3, where it was very easy - just local-cache-service.xml into deploy dir and aprioprate jars into lib dir. Now I see it doesn't work, and all what I can find is configuration of cache for clustering. Also 'all' server configuration is for cluster use... And I just need cache for my applications, so I can store common data in it and take some stress out of database. I put local.xml from etc dir of jbosscache4.20-all.jar, but then I check in jmx-console to see if it's installed. no :( Anyone got any link, steps to do it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258072#4258072 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258072 From do-not-reply at jboss.com Thu Oct 1 05:31:44 2009 From: do-not-reply at jboss.com (nikolay.elenkov) Date: Thu, 1 Oct 2009 05:31:44 -0400 (EDT) Subject: [jboss-user] [Clustering] - shutting down cluster node causes massive memory usage in ot Message-ID: <29605783.1254389504510.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We have a two-node JBoss cluster (eap-4.2_cp06) with session and SFSB replication enabled. Apache with mod_jk does load balancing and failover, with sticky sessions. This set up is working with no problems most of the time. Due to some problems with an application (memory leaks), at some point one of the nodes (n1) needs to be restarted. In theory, since the other node (n2) is operational (memory usage is normal), we should be able to restart n1 while n2 is serving requests. However once n1 is stopped, n2's memory usage goes through the roof and doesn't stabilize. Eventually, n2 needs to be restarted as well. I've yet to get logs and more detailed data, but any pointers as what could be causing this or how to debug it? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258075#4258075 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258075 From do-not-reply at jboss.com Thu Oct 1 05:47:45 2009 From: do-not-reply at jboss.com (karin1123) Date: Thu, 1 Oct 2009 05:47:45 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - configuration - config-login.xml Message-ID: <12970346.1254390465880.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, since a few days i am trying to setup a jboss server that was running for a long time, but wasn't used for the past months. the deploy path is available with all the contents and is working like expected where no login is needed (apache and tomcat is also configured like before). database connections are loging in successfully. the project itself is very huge - but the company that did the first setup is not available anymore. so we need to get it up and running ourselfs. from my investigations the problem is the missing conf path. (login-conf.xml maybe) when the application sends the auth - the tomcat is sending back that an auth is needed but not given and so the "RequestProcessor" is not available. There is no sql statements executed (i am monitoring the mysql.log on a development machine) corresponding web.xml ProtectedServlets /RequestProcessor MyUser BASIC My Web Service MyUser corresponding jboss-web.xml java:/jaas/myDataBase ejb/JBossRequestProcessorSession myDataBase/JBossRequestProcessorSession ....... ....... ....... used for the test is an internal server with an internal name test.intern so that no traffic goes out - that is all workin well in the network so no need to think about that what happens in auth is this the client sends .4......HTTP/1.1.../server/RequestProcessor...192.168.0.110.....www.test.intern..P.......Basic.bWFya3VzOmFzZGZhc2Rm.....Jakarta.Commons-HttpClient/2.0.2.....www.test.intern.....36....!application/x-www-form-urlencoded........... the jk.log says You cannot put individual files on the classpath, only archives (zip, jar) and directories. Change /home/config/hibernate.cfg.xml to /home/config And regarding 3.1.1, there also is a 3.1.4 and even that is 'old'. When starting a new project (as you seem to do since it has not run in production) I'd certainly switch to at least 3.2.6SP1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258079#4258079 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258079 From do-not-reply at jboss.com Thu Oct 1 05:48:54 2009 From: do-not-reply at jboss.com (karin1123) Date: Thu, 1 Oct 2009 05:48:54 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: configuration - config-login.xml Message-ID: <22653145.1254390534140.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> jboss 3.2.7 is used - as it was the version where it was running in the past View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258080#4258080 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258080 From do-not-reply at jboss.com Thu Oct 1 05:54:09 2009 From: do-not-reply at jboss.com (erasmomarciano) Date: Thu, 1 Oct 2009 05:54:09 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: using error-page in web.xml for custom error page Message-ID: <11970502.1254390849352.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> try 404 /error404.jsp 500 /error500.jsp View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258081#4258081 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258081 From do-not-reply at jboss.com Thu Oct 1 05:56:01 2009 From: do-not-reply at jboss.com (erasmomarciano) Date: Thu, 1 Oct 2009 05:56:01 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: using error-page in web.xml for custom error page Message-ID: <14593846.1254390961454.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> ops | 404 | /error404.jsp | Are you sure of to make an error 404? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258082#4258082 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258082 From do-not-reply at jboss.com Thu Oct 1 06:05:59 2009 From: do-not-reply at jboss.com (elhostis) Date: Thu, 1 Oct 2009 06:05:59 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: hibernate.cfg.xml not found Message-ID: <21532045.1254391559385.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "kukeltje" wrote : You cannot put individual files on the classpath, only archives (zip, jar) and directories. Change /home/config/hibernate.cfg.xml to /home/config It was that ! Thanks a lot ! "kukeltje" wrote : And regarding 3.1.1, there also is a 3.1.4 and even that is 'old'. When starting a new project (as you seem to do since it has not run in production) I'd certainly switch to at least 3.2.6SP1 It's not a new project. The old project was running with jBPM 3.1.1 but I never understood how the config file was found because the file was not in the classpath. Now, I understand. But, you've probably right. I should upgrade my jBPM... I will see with my boss. Thks again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258083#4258083 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258083 From do-not-reply at jboss.com Thu Oct 1 06:16:35 2009 From: do-not-reply at jboss.com (praenti) Date: Thu, 1 Oct 2009 06:16:35 -0400 (EDT) Subject: [jboss-user] [Security] - Caller unauthorized on using a ejb3 statetlesssessionbean fr Message-ID: <23711636.1254392195415.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi everybody, I have a big problem using JAAS in JBoss 5.1.0GA, which I try to solve about 2 days (my employer is not very amused of that...). I use a own JASSLoginModule to authenticate a user on a LDAP directory. The roleSet is fetched from a database. This part works as I can see and give me the result - "AdminUser". But now when I call a EJB stateless session bean, I always get the Caller unauthorized error (Stacktrace is at bottom of the message). Can anybody give me a hint whats wrong. The Constants in the @RolesAllowed has "AdminUser" in the list. The class is also attached at the end of the message | javax.ejb.EJBAccessException: Caller unauthorized | at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(Ro | leBasedAuthorizationInterceptorv2.java:199) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3Au | thenticationInterceptorv2.java:186) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterce | ptor.java:41) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContaine | rShutdownInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invo | ke(CurrentInvocationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContain | er.java:176) | at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContain | er.java:216) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandl | erBase.invoke(SessionProxyInvocationHandlerBase.java:207) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandl | erBase.invoke(SessionProxyInvocationHandlerBase.java:164) | at $Proxy1287.getAllUsers(Unknown Source) | at vwg.yyy.cancard.ui.action.Usermanagement.Usermanagement.list(Userman | agement.java:41) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultA | ctionInvocation.java:404) | at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(Defa | ultActionInvocation.java:267) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:229) | at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doInte | rcept(DefaultWorkflowInterceptor.java:221) | at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept | (MethodFilterInterceptor.java:86) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(V | alidationInterceptor.java:150) | at org.apache.struts2.interceptor.validation.AnnotationValidationInterce | ptor.doIntercept(AnnotationValidationInterceptor.java:48) | at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept | (MethodFilterInterceptor.java:86) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.interc | ept(ConversionErrorInterceptor.java:123) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept | (ParametersInterceptor.java:167) | at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept | (MethodFilterInterceptor.java:86) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.inter | cept(StaticParametersInterceptor.java:105) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(Checkbox | Interceptor.java:83) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUp | loadInterceptor.java:207) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept( | ModelDrivenInterceptor.java:74) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.inte | rcept(ScopedModelDrivenInterceptor.java:127) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at org.apache.struts2.interceptor.ProfilingActivationInterceptor.interce | pt(ProfilingActivationInterceptor.java:107) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at org.apache.struts2.interceptor.debugging.DebuggingInterceptor.interce | pt(DebuggingInterceptor.java:206) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(Cha | iningInterceptor.java:115) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInt | erceptor.java:143) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(Pr | epareInterceptor.java:121) | at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept | (MethodFilterInterceptor.java:86) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(Ser | vletConfigInterceptor.java:170) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasI | nterceptor.java:123) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.inter | cept(ExceptionMappingInterceptor.java:176) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at vwg.yyy.cancard.ui.interceptor.RolecheckUsermanagerInterceptor.conti | nueAction(RolecheckUsermanagerInterceptor.java:86) | at vwg.yyy.cancard.ui.interceptor.RolecheckUsermanagerInterceptor.inter | cept(RolecheckUsermanagerInterceptor.java:71) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at vwg.yyy.cancard.ui.interceptor.JAASLoginInterceptor.intercept(JAASLo | ginInterceptor.java:78) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doInte | rcept(DefaultWorkflowInterceptor.java:221) | at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept | (MethodFilterInterceptor.java:86) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(V | alidationInterceptor.java:150) | at org.apache.struts2.interceptor.validation.AnnotationValidationInterce | ptor.doIntercept(AnnotationValidationInterceptor.java:48) | at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept | (MethodFilterInterceptor.java:86) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.interc | ept(ConversionErrorInterceptor.java:123) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept | (ParametersInterceptor.java:167) | at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept | (MethodFilterInterceptor.java:86) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.inter | cept(StaticParametersInterceptor.java:105) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at org.apache.struts2.interceptor.CheckboxInterceptor.intercept(Checkbox | Interceptor.java:83) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUp | loadInterceptor.java:207) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept( | ModelDrivenInterceptor.java:74) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(Cha | iningInterceptor.java:115) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInt | erceptor.java:143) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(Pr | epareInterceptor.java:121) | at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept | (MethodFilterInterceptor.java:86) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(Ser | vletConfigInterceptor.java:170) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept | (ParametersInterceptor.java:167) | at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept | (MethodFilterInterceptor.java:86) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasI | nterceptor.java:123) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.inter | cept(ExceptionMappingInterceptor.java:176) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at vwg.yyy.cancard.ui.interceptor.RedirectMessageInterceptor.doIntercep | t(RedirectMessageInterceptor.java:51) | at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept | (MethodFilterInterceptor.java:86) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:223) | at com.opensymphony.xwork2.util.profiling.UtilTimerStack.profile(UtilTim | erStack.java:455) | at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionI | nvocation.java:221) | at org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.j | ava:50) | at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.jav | a:504) | at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatc | her.java:419) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi | lter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV | alve.java:235) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV | alve.java:191) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit | yAssociationValve.java:190) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv | e.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.proce | ss(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invok | e(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j | ava:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j | ava:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC | onnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal | ve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav | a:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java | :829) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce | ss(Http11Protocol.java:598) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 | 7) | at java.lang.Thread.run(Thread.java:619) UserFacadeBean.java: | /** | * | */ | package vwg.yyy.cancard.business.facade; | | import java.util.ArrayList; | import java.util.List; | import java.util.Set; | | import javax.annotation.PostConstruct; | import javax.annotation.Resource; | import javax.annotation.security.RolesAllowed; | import javax.annotation.security.RunAs; | import javax.ejb.EJB; | import javax.ejb.Local; | import javax.ejb.Remote; | import javax.ejb.SessionContext; | import javax.ejb.Stateless; | import javax.persistence.EntityExistsException; | import javax.persistence.EntityNotFoundException; | import javax.security.auth.Subject; | import javax.security.jacc.PolicyContext; | import javax.security.jacc.PolicyContextException; | | import org.apache.log4j.Logger; | import org.hibernate.exception.ConstraintViolationException; | import org.jboss.ejb3.annotation.SecurityDomain; | import org.jboss.security.auth.spi.ADLoginIdentifier; | | import vwg.yyy.cancard.ApplicationConstants; | import vwg.yyy.cancard.MyApplicationException; | import vwg.yyy.cancard.business.user.TooManyHitsException; | import vwg.yyy.cancard.dao.ApplicationRoleDao; | import vwg.yyy.cancard.dao.ApplicationUserDao; | import vwg.yyy.cancard.dao.DAOFactory; | import vwg.yyy.cancard.ldap.LDAPSearcher; | import vwg.yyy.cancard.model.basic.ApplicationRole; | import vwg.yyy.cancard.model.basic.ApplicationUser; | | | /** | * Implementation of user service interface. | * | * @author Michael Obster (michael.obster at epos-cat.de) | */ | @SecurityDomain("java:/jaas/cancardDomain") | @RolesAllowed({ApplicationConstants.ROLE_ADMIN, ApplicationConstants.ROLE_NORMAL, "internal"}) | @RunAs("internal") | @Local({UserFacade.class}) | @Remote({UserFacadeRemote.class}) | @Stateless | public class UserFacadeBean implements UserFacade { | private static final String SUBJECT_CONTEXT_KEY = "javax.security.auth.Subject.container"; | | private static Logger log = Logger.getLogger(UserFacadeBean.class); | | /** | * Session context for security checks. | */ | @Resource | private SessionContext ctx; | | @EJB | private DAOFactory daoFactory; | | private ApplicationUserDao userDao; | private ApplicationRoleDao roleDao; | | /** | * Inits the daos. | */ | @PostConstruct | public void initDao() { | userDao = daoFactory.getApplicationUserDao(); | roleDao = daoFactory.getApplicationRoleDao(); | } | | public List getAllUsers() { | return userDao.findAllOrdered("lastname, firstname"); | } | | public ApplicationUser saveUser(ApplicationUser user, boolean updateZebra) { | if (updateZebra) { | // Update current user from zebra | LDAPSearcher searcher = new LDAPSearcher(); | searcher.updateUserAD(user); | } | return userDao.merge(user); | } | | public boolean deleteUser(String gid) { | try { | userDao.remove(gid); | } catch (EntityNotFoundException e) { | log.debug(e); | throw new MyApplicationException("db.alreadydeleted"); | } catch (EntityExistsException e) { | log.debug(e.getCause()); | if (e.getCause() instanceof ConstraintViolationException) { | // User still used elsewhere | throw new MyApplicationException("db.stillused"); | } | else { | // Should never happen | throw (EntityExistsException) e.fillInStackTrace(); | } | } | return true; | } | | public ApplicationUser findUserById(String userId) throws EntityNotFoundException { | return userDao.findById(userId); | } | | public ApplicationUser findFullUserById(String userId) throws EntityNotFoundException { | ApplicationUser user = userDao.findById(userId); | return userDao.fetchFullUser(user); | } | | public List getAllRoles() { | return roleDao.findAllOrdered("reihe"); | } | | public List findDirectoryUsers(ApplicationUser user) | throws TooManyHitsException { | LDAPSearcher searcher = new LDAPSearcher(); | return searcher.findByCriteriaAD(user); | } | | public ApplicationUser findDirectoryUser(String userId) { | LDAPSearcher searcher = new LDAPSearcher(); | ApplicationUser user = new ApplicationUser(); | user.setId(userId); | searcher.updateUserAD(user); | return user; | } | | @Override | public List findByCriteria(String firstname, | String lastname, String department, String phone, | String email, String id) { | LDAPSearcher searcher = new LDAPSearcher(); | return searcher.findByCriteria(firstname, lastname, | department, phone, email, id); | } | | @Override | public List getRolesNotUser(ApplicationUser user) { | user = userDao.fetchFullUser(user); | return roleDao.findNonRolesOfUser(user); | } | | @Override | public List getUserRoles(ApplicationUser user) { | user = userDao.fetchFullUser(user); | return new ArrayList(user.getRole()); | } | | @Override | public boolean addRole(ApplicationRole role, ApplicationUser user) { | user = userDao.fetchFullUser(user); | return userDao.linkRoleToUser(role, user); | } | | @Override | public boolean deleteRole(ApplicationRole role, ApplicationUser user) { | user = userDao.fetchFullUser(user); | return userDao.unlinkRoleToUser(role, user); | } | | @Override | public ApplicationRole findRoleById(String roleId) | throws EntityNotFoundException { | return roleDao.findById(roleId); | } | | public void updateUser() throws MyApplicationException { | // Get user from DB | LDAPSearcher searcher = new LDAPSearcher(); | ApplicationUser dbUser=null; | try { | dbUser = userDao.findById(getUserId(ctx)); | } | catch(EntityNotFoundException e) { | throw new MyApplicationException("User not found in database.", e); | } | | // Get current user data from zebra | // searcher.updateUserAD(dbUser); | | // Save user | // userDao.merge(dbUser); | } | | /** | * Static helper method: Get userId from EJB context. | * | * @param ctx SessionContext for no-ad-case | * @return userId | */ | public static String getUserId(SessionContext ctx) { | try { | Subject subject = (Subject) PolicyContext.getContext(UserFacadeBean.SUBJECT_CONTEXT_KEY); | Set pc = subject.getPublicCredentials(ADLoginIdentifier.class); | if (pc == null || pc.isEmpty()) { | /* | * Should only happen in JUnit case, return user name as GID | * NOT dangerous because: | * - Spiider is the only login method on production server | * - The following update from Zebra will fail and throw an Exception | */ | log.warn("Logging in without ADLoginIdentifier, should only happen in JUnit test!"); | return ctx.getCallerPrincipal().getName(); | } | else { | return pc.iterator().next().getUserId(); | } | } catch (PolicyContextException e) { | throw new MyApplicationException("Jaas subject could not be retrieved.", e); | } | } | | @Override | public boolean userHasRole(ApplicationRole role, ApplicationUser user) { | user = userDao.fetchFullUser(user); | Set roles = user.getRole(); | if (roles.contains(role)) { | return true; | } | else { | return false; | } | } | | @Override | public ApplicationRole getRolesById(String roleid) { | ApplicationRole role = roleDao.findById(roleid); | return role; | } | | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258089#4258089 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258089 From do-not-reply at jboss.com Thu Oct 1 06:17:46 2009 From: do-not-reply at jboss.com (prachi.mukhija) Date: Thu, 1 Oct 2009 06:17:46 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL Message-ID: <3793477.1254392266482.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am pretty new to jbpm-bpel. I have downloaded the jbpm-bpel-1.1.1 version. My envrironment is: jboss-4.2.2.GA server However, I am facing the same error when deploying "Hello" example. Here's the stack trace. | 15:31:26,746 INFO [DeploymentServlet] deployed process definition: HelloWorld | 15:31:26,846 ERROR [[deploymentServlet]] Servlet.service() for servlet deploymentServlet threw exception | java.lang.NullPointerException | at org.jbpm.bpel.tools.WscompileTool.getLocation(WscompileTool.java:240) | at org.jbpm.bpel.tools.WscompileTool.formatClasspath(WscompileTool.java:227) | at org.jbpm.bpel.tools.WscompileTool.callWscompile(WscompileTool.java:197) | at org.jbpm.bpel.tools.WscompileTool.generateJavaMappingImpl(WscompileTool.java:156) | at org.jbpm.bpel.tools.WscompileTool.generateJavaMapping(WscompileTool.java:143) | at org.jbpm.bpel.tools.WebModuleBuilder.callJavaMappingTool(WebModuleBuilder.java:264) | at org.jbpm.bpel.tools.WebModuleBuilder.buildModuleImpl(WebModuleBuilder.java:102) | at org.jbpm.bpel.tools.WebModuleBuilder.buildModule(WebModuleBuilder.java:84) | at org.jbpm.bpel.web.DeploymentServlet.deployWebModule(DeploymentServlet.java:205) | at org.jbpm.bpel.web.DeploymentServlet.doPost(DeploymentServlet.java:99) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) | 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.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:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | 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:262) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | at java.lang.Thread.run(Unknown Source) | Please help out. Any hint would be grateful. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258090#4258090 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258090 From do-not-reply at jboss.com Thu Oct 1 06:23:16 2009 From: do-not-reply at jboss.com (mircea.markus) Date: Thu, 1 Oct 2009 06:23:16 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: What is an invocation, and the related option override? Message-ID: <171301.1254392596535.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> it only makes sense to use setForceWriteLock(true) on read. Normally when you do an cache.get(fqn) an read lock is aquired, but setting the forceWriteLock to true would force a write lock acquisition. when you do a put(fqn)(generally a write), a WL (write lock) is acquired so having the flag is redundant. As a general rule, the forceWriteLock only apply for one call, i.e. for one invocation. tm.begin(); | // force write lock even on read operations | cache.getInvocationContext().getOptionOverrides().setForceWriteLock(true); | | // read node | Object value = cache.get(myFqn, "key"); | | Object value = cache.get(myFqn2, "key"); | | tm.commit(); In this example a WL is acquired for myFqn and a RL is acquired for myFqn2 anonymous wrote : In other words, once I set the "setForceWriteLock(true)", all future cache related operations in this thread will see this option set to "true". No. Only the next call, after that the flag is cleaned. As mentioned in the previous post, an invocation is an call to the cache. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258093#4258093 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258093 From do-not-reply at jboss.com Thu Oct 1 06:25:35 2009 From: do-not-reply at jboss.com (enriqueam) Date: Thu, 1 Oct 2009 06:25:35 -0400 (EDT) Subject: [jboss-user] [JBoss Remoting Users] - Re: No ping on secondaryBindPort Message-ID: <25639695.1254392735154.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello Ron, Thank you for your quick response! I have downloaded Remoting release 2.2.3.SP1 and replace the existing one in my standalone client and in JBoss As 4.2.3.GA server's libs (in the server configuration for JBoss Messaging 1.4.4.GA) I have configured remoting-bisocket-service.xml with the attribute values you suggest and have also added the attribute true to connection-factories-service.xml to make sure Messaging accepts the changes in those immutable attributes. Still no luck. The firewall does not timeout primary port 4457 because there is a ping between client and server. However, the ServerThread running on the client blocks on the secondary bind port, fixed to value 4458, to read the version, as shown in trace line 56411 [WorkerThread#0[192.168.6.1:4458]] TRACE org.jboss.remoting.transport.socket.ServerThread - blocking to read version from input stream The problem is that if no message is sent, the firewall times out that port and not 4457. Upon a new message is posted on the topic after the port 4458 has timed out at the firewall, the messages is received by the client and then the client and server detects a problem on port 4458. However, the client does not scale the exception to the Messaging ExceptionListener. Instead, it logs out the exception, and just keeps pinging the server on port 4457, which completes successfully every time. As I said, the ServerThread working on port 4458 gets stuck on a call to wait(). >From that point on, when a new message is posted on the queue, the client does not receive it. Should Remoting be informing JBM of the problem if I'm using generalizeSockeException? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258094#4258094 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258094 From do-not-reply at jboss.com Thu Oct 1 06:45:42 2009 From: do-not-reply at jboss.com (asafz) Date: Thu, 1 Oct 2009 06:45:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: using error-page in web.xml for custom error page Message-ID: <31293347.1254393942063.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Well 404 is working for me, I just enter none exist URL and I do see my custom error page, But when I try to create 500 error to see my custom error page I still see Jboss default error page and not my custom page. I'm doing it by throwing runtimexception from my EJB tier. Just wanted to add that I'm using EJB3, JSF, richfaces. I'm sure that this is not related to my problem but just wanted to add this extra information. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258100#4258100 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258100 From do-not-reply at jboss.com Thu Oct 1 06:46:55 2009 From: do-not-reply at jboss.com (kennardconsulting) Date: Thu, 1 Oct 2009 06:46:55 -0400 (EDT) Subject: [jboss-user] [Clustering] - Cluster falls apart: FD_SOCK errors Message-ID: <14003500.1254394015242.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Guys, We are seeing these warnings on our cluster nodes sometimes after a redeploy. The primary cluster node stays up, but the other 2 (we have 3) die and keep saying this. 2009-10-01 20:04:34,302 main WARN [org.jgroups.protocols.pbcast.GMS] join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), retrying | 2009-10-01 20:04:37,315 main WARN [org.jgroups.protocols.pbcast.GMS] join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), retrying | 2009-10-01 20:04:40,318 main WARN [org.jgroups.protocols.pbcast.GMS] join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), retrying | 2009-10-01 20:04:43,321 main WARN [org.jgroups.protocols.pbcast.GMS] join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), retrying | 2009-10-01 20:04:46,323 main WARN [org.jgroups.protocols.pbcast.GMS] join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), retrying | 2009-10-01 20:04:49,326 main WARN [org.jgroups.protocols.pbcast.GMS] join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), retrying | 2009-10-01 20:04:52,329 main WARN [org.jgroups.protocols.pbcast.GMS] join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), retrying | 2009-10-01 20:04:55,332 main WARN [org.jgroups.protocols.pbcast.GMS] join(192.168.1.2:37802) sent to 192.168.1.1:52187 timed out (after 3000 ms), retrying They keep saying this even after a restart. Only restarting the primary node fixes things. We can see 192.168.1.1:52187 is listening on the primary with netstat -panu On that server, the logs say 192.168.1.2:37802 ERROR [org.jgroups.protocols.FD_SOCK] socket address for 192.168.1.2:37802 could not be fetched, retrying. However, on the 192.168.1.2 box, we can see 192.168.1.2:37802 is also listening. We can ping and telnet to tcp ports on both boxes and between each box, and ipconfig shows no packet losses, collisions or other networking errors. Also a restart of JBoss on the primary fixes the problem. Therefore the problem seems to be something within JBoss. On the primary server there are a number of threads referring to port 52187 and none of these seem locked up (as far as I can see). Here are some of the threads from the Primary: This looks like the server socket: "FD_SOCK server socket acceptor,192.168.1.1:52187" daemon prio=10 tid=0x0ac19800 nid=0x6281 runnable [0x66293000] | java.lang.Thread.State: RUNNABLE | at java.net.PlainSocketImpl.socketAccept(Native Method) | at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390) | - locked <0xab976ea0> (a java.net.SocksSocketImpl) | at java.net.ServerSocket.implAccept(ServerSocket.java:453) | at java.net.ServerSocket.accept(ServerSocket.java:421) | at org.jgroups.protocols.FD_SOCK$ServerSocketHandler.run(FD_SOCK.java:1022) | at java.lang.Thread.run(Thread.java:619) This looks like the connection handler: "FD_SOCK client connection handler,AvantProduction,192.168.1.1:52187" daemon prio=10 tid=0x097e8000 nid=0x1a6c runnable [0x62c | 71000] | java.lang.Thread.State: RUNNABLE | at java.net.SocketInputStream.socketRead0(Native Method) | at java.net.SocketInputStream.read(SocketInputStream.java:129) | at java.net.SocketInputStream.read(SocketInputStream.java:182) | at org.jgroups.protocols.FD_SOCK$ClientConnectionHandler.run(FD_SOCK.java:1089) | at java.lang.Thread.run(Thread.java:619) And these are threads waiting in a pool by the look of it: "Incoming-14,192.168.1.1:52187" prio=10 tid=0x091c9400 nid=0x5f7f waiting on condition [0x68e1f000] | java.lang.Thread.State: WAITING (parking) | at sun.misc.Unsafe.park(Native Method) | - parking to wait for <0x8b246af0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) | at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) | at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925) | at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358) | at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) | at java.lang.Thread.run(Thread.java:619) | | "Incoming-13,192.168.1.1:52187" prio=10 tid=0x091c7c00 nid=0x5f7e waiting on condition [0x68e70000] | java.lang.Thread.State: WAITING (parking) | at sun.misc.Unsafe.park(Native Method) | - parking to wait for <0x8b246af0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) | at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) | at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1925) | at java.util.concurrent.LinkedBlockingQueue.take(LinkedBlockingQueue.java:358) | at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) | at java.lang.Thread.run(Thread.java:619) Here is a list of all threads referring to port 52187: "VERIFY_SUSPECT.TimerThread,AvantProduction-HAPartitionCache,192.168.1.1:52187" daemon prio=10 tid=0x0b838400 nid=0x1d9d waiting on condition [0x5f1fe000] | "OOB-680,192.168.1.1:52187" prio=10 tid=0x73163400 nid=0x1d9c waiting on condition [0x66c48000] | "OOB-678,192.168.1.1:52187" prio=10 tid=0x6ef51800 nid=0x1c8e waiting on condition [0x66a62000] | "FD_SOCK client connection handler,AvantProduction,192.168.1.1:52187" daemon prio=10 tid=0x097e8000 nid=0x1a6c runnable [0x62c71000] | "FD_SOCK pinger,AvantProduction-HAPartitionCache,192.168.1.1:52187" daemon prio=10 tid=0x092ba400 nid=0x69b7 waiting on condition [0x5f15c000] | "ViewHandler,AvantProduction-HAPartitionCache,192.168.1.1:52187" prio=10 tid=0x0c48d400 nid=0x6506 waiting on condition [0x5f1ad000] | "FD_SOCK server socket acceptor,192.168.1.1:52187" daemon prio=10 tid=0x0ac19800 nid=0x6281 runnable [0x66293000] | "Incoming-20,192.168.1.1:52187" prio=10 tid=0x71df4400 nid=0x5f8d waiting on condition [0x68a02000] | "Incoming-19,192.168.1.1:52187" prio=10 tid=0x091ed400 nid=0x5f89 waiting on condition [0x68b46000] | "Incoming-18,192.168.1.1:52187" prio=10 tid=0x7161dc00 nid=0x5f88 waiting on condition [0x68b97000] | "Incoming-17,192.168.1.1:52187" prio=10 tid=0x091ecc00 nid=0x5f84 waiting on condition [0x68c8a000] | "Incoming-16,192.168.1.1:52187" prio=10 tid=0x72a4a800 nid=0x5f83 waiting on condition [0x68cdb000] | "Incoming-15,192.168.1.1:52187" prio=10 tid=0x091ca400 nid=0x5f80 waiting on condition [0x68dce000] | "Incoming-14,192.168.1.1:52187" prio=10 tid=0x091c9400 nid=0x5f7f waiting on condition [0x68e1f000] | "Incoming-13,192.168.1.1:52187" prio=10 tid=0x091c7c00 nid=0x5f7e waiting on condition [0x68e70000] | "Incoming-12,192.168.1.1:52187" prio=10 tid=0x08f7ec00 nid=0x5f7d waiting on condition [0x68ec1000] | "Incoming-11,192.168.1.1:52187" prio=10 tid=0x6d3f8400 nid=0x5f7c waiting on condition [0x68f12000] | "Incoming-10,192.168.1.1:52187" prio=10 tid=0x091c5800 nid=0x5f7b waiting on condition [0x68f63000] | "Incoming-9,192.168.1.1:52187" prio=10 tid=0x713f5800 nid=0x5f7a waiting on condition [0x68fb4000] | "Incoming-8,192.168.1.1:52187" prio=10 tid=0x09cbe000 nid=0x5f79 waiting on condition [0x69005000] | "Timer-12,192.168.1.1:52187" daemon prio=10 tid=0x713e5800 nid=0x5f78 waiting on condition [0x69056000] | "Timer-11,192.168.1.1:52187" daemon prio=10 tid=0x6cdf8800 nid=0x5f77 waiting on condition [0x690a7000] | "Timer-10,192.168.1.1:52187" daemon prio=10 tid=0x71471c00 nid=0x5f75 waiting on condition [0x69149000] | "Incoming-7,192.168.1.1:52187" prio=10 tid=0x09cbac00 nid=0x5f74 waiting on condition [0x6919a000] | "Incoming-6,192.168.1.1:52187" prio=10 tid=0x08f7f800 nid=0x5f72 waiting on condition [0x6923c000] | "Timer-9,192.168.1.1:52187" daemon prio=10 tid=0x08d8a800 nid=0x5f71 waiting on condition [0x6928d000] | "Timer-8,192.168.1.1:52187" daemon prio=10 tid=0x08fd1000 nid=0x5f6f waiting on condition [0x6932f000] | "Timer-7,192.168.1.1:52187" daemon prio=10 tid=0x0927f800 nid=0x5f6d waiting on condition [0x693d1000] | "Incoming-5,192.168.1.1:52187" prio=10 tid=0x091ae800 nid=0x5f6c waiting on condition [0x69422000] | "Incoming-4,192.168.1.1:52187" prio=10 tid=0x091ad400 nid=0x5f6b waiting on condition [0x69473000] | "Incoming-3,192.168.1.1:52187" prio=10 tid=0x08e98800 nid=0x5f6a waiting on condition [0x694c4000] | "Incoming-2,192.168.1.1:52187" prio=10 tid=0x08e97800 nid=0x5f69 waiting on condition [0x69515000] | "Incoming-1,192.168.1.1:52187" prio=10 tid=0x08ee5800 nid=0x5f68 waiting on condition [0x69566000] | "Timer-6,192.168.1.1:52187" daemon prio=10 tid=0x717d2800 nid=0x5f67 waiting on condition [0x695b7000] | "Timer-5,192.168.1.1:52187" daemon prio=10 tid=0x712ff000 nid=0x5f66 waiting on condition [0x69608000] | "Timer-4,192.168.1.1:52187" daemon prio=10 tid=0x711fd800 nid=0x5f64 waiting on condition [0x696aa000] | "Timer-3,192.168.1.1:52187" daemon prio=10 tid=0x09297800 nid=0x5f62 waiting on condition [0x696fb000] | "Timer-2,192.168.1.1:52187" daemon prio=10 tid=0x090a6800 nid=0x5f5f waiting on condition [0x697ee000] | "UDP mcast,192.168.1.1:52187" prio=10 tid=0x09956c00 nid=0x5f5e runnable [0x6983f000] | "UDP ucast,192.168.1.1:52187" prio=10 tid=0x09956800 nid=0x5f5d runnable [0x69890000] | "DiagnosticsHandler,192.168.1.1:52187" daemon prio=10 tid=0x08ee6c00 nid=0x5f5c runnable [0x698e1000] | "Timer-1,192.168.1.1:52187" daemon prio=10 tid=0x08e56c00 nid=0x5f5a waiting on condition [0x69983000] This is really hurting our up-time. Could anybody point us in the right direction? Regards, Richard. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258102#4258102 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258102 From do-not-reply at jboss.com Thu Oct 1 06:49:52 2009 From: do-not-reply at jboss.com (c4s4l) Date: Thu, 1 Oct 2009 06:49:52 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - [jBPM4] TaskForm Variables Message-ID: <6493023.1254394192244.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In the jBPM Dev Guide is stated that the 'Form field names become process variables names and vice versa', but what about the activity context or the execution context, can I access to them in the form (ftl)? Are there implicit process variables injected in the form task? which ones? Thanks, Sergio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258104#4258104 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258104 From do-not-reply at jboss.com Thu Oct 1 07:02:21 2009 From: do-not-reply at jboss.com (the_olo) Date: Thu, 1 Oct 2009 07:02:21 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - After migrating from JBossMQ to JBM: Message-ID: <20774890.1254394941460.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi! After migrating from JBoss MQ to JBoss Messaging (which also required deploying the relevant queues manually), our installation of jBPM-BPEL has started throwing the following exception in the logs: 2009-10-01 12:51:46,648 ERROR [org.jboss.jms.client.container.ClosedInterceptor] ClosedInterceptor.ClientSessionDelegate[46-n2vsd90g-1-2wuqd90g-x8tmkt-100j3]: | method postDeliver() did not go through, the interceptor is CLOSED | 2009-10-01 12:51:46,648 ERROR [org.jboss.jms.client.container.ClientConsumer] Failed to deliver message | javax.jms.IllegalStateException: The object is closed | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:157) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105) | at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_1255239194451907669.invokeNext(ClientSessionDelegate$postDeliver_125523919445190766 | 9.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.postDeliver(ClientSessionDelegate.java) | at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:253) | at org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:1043) | at org.jboss.messaging.util.OrderedExecutorFactory$ChildExecutor.run(OrderedExecutorFactory.java:120) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) | at java.lang.Thread.run(Thread.java:595) This is thrown after the SOAP response is sent back to the client, at the end of BPEL process execution, so it doesn't seem to influence its correct outcome. However, I'm afraid of any side effects (e.g. performance issues, rolled back XA transactions?). One more symptom that I've observed is that message counters on the queues aren't incremented in queue MBeans (name=JbpmCommandQueue,service=Queue and name=JbpmJobQueue,service=Queue) - I think it could be related to this exception. Here's how the queue MBeans are configured for jBPM-BPEL: | | | | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | | | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | | | Any ideas what might cause the problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258110#4258110 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258110 From do-not-reply at jboss.com Thu Oct 1 07:19:17 2009 From: do-not-reply at jboss.com (newcomer1) Date: Thu, 1 Oct 2009 07:19:17 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Translation of task node from jBPM3 to 4 Message-ID: <22817209.1254395957271.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "kukeltje" wrote : Yes, use a plain fork-join for this. I still have to admit that I think the task-node approach is much easier to work with. The jbpm documentation should have more information about differences from the jbpm 3.x way to model stuff. E.g. to associate tasks with a state. How would you model a simple scenario as this: start -> Registered (state) with 2 tasks that are created when the state is entered, one that MUST be performed, and one that is optional -> Handle, state with several tasks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258118#4258118 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258118 From do-not-reply at jboss.com Thu Oct 1 07:40:00 2009 From: do-not-reply at jboss.com (Shenaz) Date: Thu, 1 Oct 2009 07:40:00 -0400 (EDT) Subject: [jboss-user] [Clustering] - Non clustered Queue Message-ID: <25239642.1254397200270.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, We are using Jboss 4 AS in clustered mode. From the docs that I've read, its understood that JMS queues and topics are implemented as singleton service in a clustered environment. Is it possible to have non clustered queues? i.e., each local queues on node in the cluster? Regards Shenaz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258122#4258122 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258122 From do-not-reply at jboss.com Thu Oct 1 07:48:04 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 1 Oct 2009 07:48:04 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1 Message-ID: <1787057.1254397684656.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It seems strange to me that are just a few people interested in this topic although the situation described seems to me very common. Are there still so few people working with 4.x or has nobody run across the problem? If you have it would be great to count on your vote in JIRA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258123#4258123 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258123 From do-not-reply at jboss.com Thu Oct 1 07:49:54 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 1 Oct 2009 07:49:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] TaskForm Variables Message-ID: <8281405.1254397794763.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> afaik, there are none, butr I'm not 100% sure. If you want to be sure, look at the console code and see what jBPM api calls are used. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258124#4258124 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258124 From do-not-reply at jboss.com Thu Oct 1 07:52:34 2009 From: do-not-reply at jboss.com (bulhar) Date: Thu, 1 Oct 2009 07:52:34 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: cannot be cast to org.jbpm.graph.def.ActionHandler Message-ID: <28118126.1254397954606.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> How did you solved the "cannot be cast to org.jbpm.graph.def.ActionHandler" exception? thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258125#4258125 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258125 From do-not-reply at jboss.com Thu Oct 1 08:04:15 2009 From: do-not-reply at jboss.com (enriqueam) Date: Thu, 1 Oct 2009 08:04:15 -0400 (EDT) Subject: [jboss-user] [JBoss Remoting Users] - Re: No ping on secondaryBindPort Message-ID: <19526215.1254398655159.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello Ron, Please ignore my last post. Ping is sent on that port and firewall does not time it out. Thank you for help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258129#4258129 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258129 From do-not-reply at jboss.com Thu Oct 1 08:11:14 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 1 Oct 2009 08:11:14 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Translation of task node from jBPM3 to 4 Message-ID: <26289294.1254399074431.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> tasks are never associated with a state. Tasks are now just 'simple' tasks, not 'complex' tasks anymore (the task has been 'promoted' to the level of the former task-node. That might be explicitly missing in the docs, I won't deny that. But What you describe is not a 'simple' scenario, it is already a more complex one. You probably combined the 'blocking' attribute on the task within the task-node, the signal attribute on the task-node and maybe also the signalling. I agree that jBPM made this seem simple :-) >From what we've experienced these were not used alot. In jBPM 4, for now, you need to do something like using an eventhandler to cancel the 'parallel task'. In the future this will be made more explicit by using things like the bpmn cancel signal. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258131#4258131 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258131 From do-not-reply at jboss.com Thu Oct 1 08:13:42 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 1 Oct 2009 08:13:42 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: cannot be cast to org.jbpm.graph.def.ActionHandler Message-ID: <9752419.1254399222758.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Read carefully... he had another implementation of a class with the same package and classname but that did not implement the correct interface. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258132#4258132 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258132 From do-not-reply at jboss.com Thu Oct 1 08:34:02 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 1 Oct 2009 08:34:02 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Design: When the line between domain objects and service Message-ID: <28083620.1254400442842.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I think you need a layer beetween MailBox and your EJB, which encapsulates the logic specific to the mailbox implementation. "findMailbox" should not return the entity, but the the implementation of the layer. Assume an interface (or an abstract base class): public interface IMailBoxHandler | { | public void handleMail (Message message); | } | It has only one method which handles an incoming mail. Now you create subclasses/implementations: public class MailBoxHandlerHelpDesk implements IMailBoxHandler | { | @Override | public void handleMail (Message message) | { | ... | } | } | and so on... "findMailBox" should probably return an appropriate IMailBoxHandler implementation. "incomingMail" would be: public void incomingMail(String destination, Message message) { | IMailboxHandler mb = findMailBox(destination); | mb.handleMail (message); | } | This way, your domain model is free of controller logic. Hope this is a reasonable approach ;-) Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258136#4258136 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258136 From do-not-reply at jboss.com Thu Oct 1 08:51:20 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 1 Oct 2009 08:51:20 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <20652226.1254401480047.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Michael, you probably checked the JBoss log of the security layer (see question 4 in FAQ)? Do you see output that JBoss could map a user to the required roles? Please post the relevant snippets of your login module. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258140#4258140 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258140 From do-not-reply at jboss.com Thu Oct 1 08:55:50 2009 From: do-not-reply at jboss.com (mircea.markus) Date: Thu, 1 Oct 2009 08:55:50 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - JBossCache 3.2.1.GA released Message-ID: <10524000.1254401750629.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, More on this on the blog: http://jbosscache.blogspot.com/2009/10/jbosscache-321ga-released.html Enjoy! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258143#4258143 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258143 From do-not-reply at jboss.com Thu Oct 1 09:15:12 2009 From: do-not-reply at jboss.com (mmichalek) Date: Thu, 1 Oct 2009 09:15:12 -0400 (EDT) Subject: [jboss-user] [EJB] - MDB Deployment Fails with Ear Isolation Enabled Message-ID: <20834729.1254402912644.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm trying to deploy an EJB 2 MDB to JBoss 4.2.3. Here are the points of interest: JBoss Messaging 1.4.4 JBoss Remoting 2.2.3 ear deployment Isolated=true Here's some of my initial findings: 1) If I turn off ear deployment isolation, this problem goes away (and apparently remoting is not used for the lookup in that scenerio.) 2) From this log and looking at the source, it looks like a JNDI lookup for java:/StdJMSPool is failing (returning null) - but I don't understanding why that's happening. Let me know if you have any ideas. It's important to me to get make the ear deployment isolation work. | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.ejb.plugin | s.jms.JMSContainerInvoker] Using client id: null | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.ejb.plugin | s.jms.JMSContainerInvoker] looking up session pool factory: java:/StdJMSPool | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.jms.server | .connectionmanager.SimpleConnectionManager] unregistered connection ConnectionEndpoint[l3-c3gw510g-1 | -cy6v510g-ys6ooo-7375o4c5] with remoting session ID ...-g015wfyk-3f | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.remoting.I | nvokerRegistry] removed org.jboss.remoting.transport.local.LocalClientInvoker at 4b2199 from registry | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.remoting.C | lient] Client[12933527:5c4o5737-ooo6sy-g015v6yc-1-g015wg3c-3k] is disconnected | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.jms.server | .remoting.JMSServerInvocationHandler] removing callback handler ServerInvokerCallbackHandler[5c4o573 | 7-ooo6sy-g015v6yc-1-g015wfyk-3f+5c4o5737-ooo6sy-g015v6yc-1-g015wg3c-3i] | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.remoting.C | lient] Client[9099123:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f].connect(null) | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.remoting.C | lient] Client[9099123:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f] connected to InvokerLocator [bisocket: | //192.168.187.115:2088433572/callback?callbackServerHost=192.168.187.115&callbackServerPort=2088433572&callbackServerProtocol=bisocket&clientMaxPoolSize=1&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&datatype=jms&guid=5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3h&isCallbackServer=true&onewayThreadPool=org.jboss.jms.server.remoting.DirectThreadPool&serverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper] | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.remoting.S | erverInvoker] ServerInvoker (SocketServerInvoker[UNINITIALIZED]) removing client callback handler wi | th session id of 5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f+5c4o5737-ooo6sy-g015v6yc-1-g015wg3c-3i. | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.remoting.t | ransport.bisocket.BisocketServerInvoker] unrecognized listener ID: 5c4o5737-ooo6sy-g015v6yc-1-g015wg | 3c-3i | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.remoting.I | nvokerRegistry] removed org.jboss.remoting.transport.local.LocalClientInvoker at 146c67a from registry | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.remoting.C | lient] Client[9099123:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f] is disconnected | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.remoting.S | erverInvoker] SocketServerInvoker[UNINITIALIZED] stopped | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.remoting.I | nvokerRegistry] decremented org.jboss.remoting.transport.local.LocalClientInvoker at da85fe's count, cu | rrent count 5 | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.remoting.C | lient] Client[8486630:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3f] is disconnected | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.remoting.I | nvokerRegistry] decremented org.jboss.remoting.transport.local.LocalClientInvoker at 93133e's count, cu | rrent count 5 | 12:43:23,640 DEBUG [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.remoting.C | lient] Client[28468394:5c4o5737-ooo6sy-g015v6yc-1-g015wfyk-3g] is disconnected | 12:43:23,640 ERROR [JMSContainerInvoker(OfflineEventLogConsumerMDB) Reconnect] [org.jboss.ejb.plugin | s.jms.JMSContainerInvoker] Reconnect failed: JMS provider failure detected for OfflineEventLogConsum | erMDB | org.jboss.deployment.DeploymentException: Error during topic setup; - nested throwable: (java.lang.N | ullPointerException) | at org.jboss.deployment.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:5 | 3) | at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:825) | at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl$ExceptionListenerRunnable.ru | n(JMSContainerInvoker.java:1533) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.NullPointerException | at org.jboss.ejb.plugins.jms.JMSContainerInvoker.createSessionPool(JMSContainerInvoker.java:1276) | at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerStartDelivery(JMSContainerInvoker.java:770) | ... 2 more | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258150#4258150 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258150 From do-not-reply at jboss.com Thu Oct 1 09:16:42 2009 From: do-not-reply at jboss.com (mmichalek) Date: Thu, 1 Oct 2009 09:16:42 -0400 (EDT) Subject: [jboss-user] [JBoss Remoting Users] - Re: JNDI Lookup Fails, Causes Failed EJB2 MDB Message-ID: <25540677.1254403002025.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks, I reposted here: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258150#4258150 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258151#4258151 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258151 From do-not-reply at jboss.com Thu Oct 1 09:20:16 2009 From: do-not-reply at jboss.com (mmichalek) Date: Thu, 1 Oct 2009 09:20:16 -0400 (EDT) Subject: [jboss-user] [EJB] - Re: MDB Deployment Fails with Ear Isolation Enabled Message-ID: <9376673.1254403216128.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I also found that when I converted these MDB's to use the @MessageDriven annotation (instead of ejb xml), they deployed and received messages successfully. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258152#4258152 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258152 From do-not-reply at jboss.com Thu Oct 1 09:36:43 2009 From: do-not-reply at jboss.com (makarandk502) Date: Thu, 1 Oct 2009 09:36:43 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - jbpm 4.1 : Running jbpm test case - issue Message-ID: <12766824.1254404203556.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Can anybody guide me in resolving this issue ? I am getting following error while running following jbpm test case I have also attached process xml file ---- Error | | 18:07:16,924 FIN | [BaseJbpmTestCase] === starting testTaskAssignee ============================= | ### EXCEPTION ########################################### | 18:07:16,954 INF | [Parser] couldn't set schema language property | org.xml.sax.SAXNotRecognizedException: http://java.sun.com/xml/jaxp/properties/schemaLanguage | at gnu.xml.aelfred2.XmlReader.getProperty(XmlReader.java:181) | at gnu.xml.aelfred2.XmlReader.setProperty(XmlReader.java:166) | at gnu.xml.aelfred2.JAXPFactory$JaxpParser.setProperty(JAXPFactory.java:147) | at org.jbpm.pvm.internal.xml.Parser.buildDom(Parser.java:423) | at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:389) | at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:157) | at org.jbpm.pvm.internal.wire.xml.WireParser.(WireParser.java:279) | at org.jbpm.pvm.internal.env.JbpmConfigurationParser.(JbpmConfigurationParser.java:47) | at org.jbpm.pvm.internal.env.JbpmConfigurationParser.(JbpmConfigurationParser.java:50) | at org.jbpm.pvm.internal.cfg.JbpmConfiguration.parse(JbpmConfiguration.java:178) | at org.jbpm.pvm.internal.cfg.JbpmConfiguration.setResource(JbpmConfiguration.java:150) | at org.jbpm.api.Configuration.setResource(Configuration.java:112) | at org.jbpm.api.Configuration.getProcessEngine(Configuration.java:164) | at org.jbpm.test.JbpmTestCase.initialize(JbpmTestCase.java:81) | at org.jbpm.test.JbpmTestCase.setUp(JbpmTestCase.java:76) | at tcs.com.java.TaskAssigneeTest.setUp(TaskAssigneeTest.java:41) | at junit.framework.TestCase.runBare(TestCase.java:128) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:120) | at junit.framework.TestSuite.runTest(TestSuite.java:230) | at junit.framework.TestSuite.run(TestSuite.java:225) | at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) | at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) | ### EXCEPTION ########################################### | ### EXCEPTION ########################################### | 18:07:16,964 INF | [Parser] couldn't set dynamic validation feature | org.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/validation/dynamic | at gnu.xml.aelfred2.SAXDriver.getFeature(SAXDriver.java:414) | at gnu.xml.aelfred2.XmlReader.getFeature(XmlReader.java:234) | at gnu.xml.aelfred2.XmlReader.setFeature(XmlReader.java:206) | at org.jbpm.pvm.internal.xml.Parser.buildDom(Parser.java:437) | at org.jbpm.pvm.internal.xml.Parser.execute(Parser.java:389) | at org.jbpm.pvm.internal.xml.Parse.execute(Parse.java:157) | at org.jbpm.pvm.internal.wire.xml.WireParser.(WireParser.java:279) | at org.jbpm.pvm.internal.env.JbpmConfigurationParser.(JbpmConfigurationParser.java:47) | at org.jbpm.pvm.internal.env.JbpmConfigurationParser.(JbpmConfigurationParser.java:50) | at org.jbpm.pvm.internal.cfg.JbpmConfiguration.parse(JbpmConfiguration.java:178) | at org.jbpm.pvm.internal.cfg.JbpmConfiguration.setResource(JbpmConfiguration.java:150) | at org.jbpm.api.Configuration.setResource(Configuration.java:112) | at org.jbpm.api.Configuration.getProcessEngine(Configuration.java:164) | at org.jbpm.test.JbpmTestCase.initialize(JbpmTestCase.java:81) | at org.jbpm.test.JbpmTestCase.setUp(JbpmTestCase.java:76) | at tcs.com.java.TaskAssigneeTest.setUp(TaskAssigneeTest.java:41) | at junit.framework.TestCase.runBare(TestCase.java:128) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:120) | at junit.framework.TestSuite.runTest(TestSuite.java:230) | at junit.framework.TestSuite.run(TestSuite.java:225) | at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) | at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) | ### EXCEPTION ########################################### | | jbpm testcase | | package tcs.com.java; | | import java.util.HashMap; | import java.util.List; | import java.util.Map; | | import org.jbpm.api.ProcessInstance; | import org.jbpm.api.task.Task; | import org.jbpm.test.JbpmTestCase; | | | | public class TaskAssigneeTest extends JbpmTestCase { | | String deploymentId; | | protected void setUp() throws Exception { | super.setUp(); | | deploymentId = repositoryService.createDeployment() | .addResourceFromClasspath("tcs/com/java/process.jpdl.xml") | .deploy(); | } | | protected void tearDown() throws Exception { | repositoryService.deleteDeploymentCascade(deploymentId); | | super.tearDown(); | } | | public void testTaskAssignee() { | Map variables = new HashMap(); | variables.put("order", new Order("johndoe")); | ProcessInstance processInstance = executionService.startProcessInstanceByKey("TaskAssignee", variables); | String pid = processInstance.getId(); | | | } | } | | -- Process xml | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258158#4258158 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258158 From do-not-reply at jboss.com Thu Oct 1 09:47:40 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 1 Oct 2009 09:47:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: unified invoker startup error Message-ID: <23369262.1254404860103.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, that's one small typo in "web.xml": in the sample attached to JIRA, open "EJB3-JBM-Servlet-Example\lib\http-uinvoker.sar\unified-invoker.war\WEB-INF\web.xml" and remove the "-" beetween the last "servlet" element and the first "servlet-mapping" element ;-). Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258161#4258161 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258161 From do-not-reply at jboss.com Thu Oct 1 10:06:11 2009 From: do-not-reply at jboss.com (praenti) Date: Thu, 1 Oct 2009 10:06:11 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <16392520.1254405971263.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Some new output was generated after enabling debugging. But the only thing I can see, that the error is not in the login module but somewhere in the servlet container. Is there something special that I have to pay attention when I'm using Struts2 as framework? | ... | 16:01:50,566 INFO [SpiiderLoginModule] Logged into LDAP server, javax.naming.ld | ap.InitialLdapContext at 6857da | 16:01:50,581 INFO [SpiiderLoginModule] getRoleSets using rolesQuery: SELECT u.u | serid, r."role" FROM "security".application_user u, "security".application_role | r, "security".user_role ur WHERE u.userid = ? AND u.userid = ur.user_id AND ur.r | ole_id = r."role", gid: 79A44E672EA8C49B | 16:01:50,769 ERROR [[default]] Servlet.service() for servlet default threw excep | tion | javax.ejb.EJBAccessException: Caller unauthorized | ... | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258167#4258167 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258167 From do-not-reply at jboss.com Thu Oct 1 10:15:26 2009 From: do-not-reply at jboss.com (mcalpay) Date: Thu, 1 Oct 2009 10:15:26 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - JBOSS Tools Html editor content assist problem Message-ID: <4081811.1254406526990.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, On eclipse content assist works fine with taglibs like tomahawk, richfaces but it doesn't work for our custom components. Anyone have any idea why ? Thanks MC View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258169#4258169 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258169 From do-not-reply at jboss.com Thu Oct 1 10:22:03 2009 From: do-not-reply at jboss.com (praenti) Date: Thu, 1 Oct 2009 10:22:03 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <12533444.1254406923558.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> My web.xml: | | | | CANCardViewer | | | jaasLoginDomain | cancardDomain | | | | jaasClientLoginDomain | client-login | | | jmesaPreferencesLocation | | /resources/jmesa.properties | | | | jmesaMessagesLocation | applicationResources | | | | struts2 | | org.apache.struts2.dispatcher.FilterDispatcher | | | | | | | struts2 | /* | | | | worksheet | org.jmesa.worksheet.servlet.WorksheetServlet | | | | worksheet | *.wrk | | | | | | org.springframework.web.context.ContextLoaderListener | | | | | index.jsp | | | | And the struts2 interceptor I use on sites you have to be logged in: JaasLoginInterceptor: | /** | * | */ | package vwg.audi.cancard.ui.interceptor; | | import javax.servlet.http.HttpServletRequest; | | import org.apache.log4j.Logger; | import org.apache.struts2.ServletActionContext; | | import vwg.yyy.cancard.business.LoginFacade; | import vwg.yyy.cancard.ui.JAASConstants; | | import com.opensymphony.xwork2.Action; | import com.opensymphony.xwork2.ActionInvocation; | import com.opensymphony.xwork2.interceptor.Interceptor; | | /** | * JAASLoginFilter | * | * @author Michael Obster | */ | public class JAASLoginInterceptor implements Interceptor { | | private static final long serialVersionUID = -1983088770872827621L; | | private Logger log = Logger.getLogger(this.getClass()); | | String loginDomain = ""; | String clientLoginDomain = ""; | | LoginFacade loginFacade; | | @Override | public void init() { | | } | | @Override | public String intercept(ActionInvocation actionInvocation) throws Exception { | loginDomain = ServletActionContext.getServletContext().getInitParameter("jaasLoginDomain"); | clientLoginDomain = ServletActionContext.getServletContext().getInitParameter("jaasClientLoginDomain"); | if (log.isDebugEnabled()) { | log.debug("init JAASInterceptor: loginDomain:" + loginDomain + " clientLoginDomain:" + clientLoginDomain); | } | | HttpServletRequest request = ServletActionContext.getRequest(); | String servletPath = request.getServletPath(); | String pathInfo = request.getPathInfo(); | String path = (servletPath == null ? "" : servletPath) | + (pathInfo == null ? "" : pathInfo); | if (log.isDebugEnabled()) { | log.debug("Login INTERCEPT"); | } | loginFacade = new LoginFacade(loginDomain, clientLoginDomain); | | | if (!JAASConstants.USER_IS_VALID.equals(request | .getSession().getAttribute( | JAASConstants.USER_VALIDITY))) { | log.info("requested path: " + path); | return Action.LOGIN; | } | | //Perform client-login | String username = (String)request.getSession().getAttribute(JAASConstants.USERNAME); | String strPassword = (String)request.getSession().getAttribute(JAASConstants.PASSWORD); | | // Classic login by username and password | loginFacade.clientLogin(username, strPassword); | if (log.isDebugEnabled()) { | log.debug("*****CLIENTLOGIN COMPLETE****"); | } | | return actionInvocation.invoke(); | } | | @Override | public void destroy() { | loginFacade.logout(); | } | | | | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258172#4258172 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258172 From do-not-reply at jboss.com Thu Oct 1 10:22:07 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 1 Oct 2009 10:22:07 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Non clustered Queue Message-ID: <1338780.1254406927834.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Should be possible, yeah. I haven't tried this myself, so beware, test carefully, be prepared for possible bumps in the road etc. But you should be able to: 1) Remove the server/all/deploy-hasingleton/jms folder 2) Replace the contents of server/all/deploy/jms with those from server/default/deploy/jms The key thing here, is the JMS server is no longer a singleton -- each AS instance is running a JMS server. That means you need to configure them so they aren't all trying to persist to the same place in your DB. Each needs to write to a separate catalog (in a shared db) or each to its own db. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258173#4258173 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258173 From do-not-reply at jboss.com Thu Oct 1 10:29:11 2009 From: do-not-reply at jboss.com (nilspreusker) Date: Thu, 1 Oct 2009 10:29:11 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - jBPM4 - .bar deployment to embedded jBPM Message-ID: <23132360.1254407351805.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, if I'm not mistaken, there is currently no deployment mechanism for .bar files for jBPM as an embedded framework (e.g. in a Spring application). In other words, to deploy both jPDL files and task forms, every resource has to be added separately like this: deployment.addResourceFromClasspath("be/jorambarrez/jbpm4/demo/taskform/process.jpdl.xml"); | deployment.addResourceFromClasspath("be/jorambarrez/jbpm4/demo/taskform/process.png"); | deployment.addResourceFromClasspath("be/jorambarrez/jbpm4/demo/taskform/verify_request.ftl"); | deployment.addResourceFromClasspath("be/jorambarrez/jbpm4/demo/taskform/request_vacation.ftl"); | Joram Barrez also mentions this in his blog: anonymous wrote : Do note that [...] you'll need to add all the forms to the deployment. We're looking into ways of simplifying this in a next release. I've checked the JIRA, but didn't find anything for the next two releases (4.2 and 4.3). So I'm wondering what the status of this is, maybe someone can point me to a JIRA case or a thread in the development forum that I might have missed... Cheers! Nils View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258178#4258178 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258178 From do-not-reply at jboss.com Thu Oct 1 10:42:57 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 1 Oct 2009 10:42:57 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: shutting down cluster node causes massive memory usage i Message-ID: <19607811.1254408177835.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> First off, if you are using EAP you are quite likely a support customer. If so you should open a ticket on the Customer Support Portal, where you'll get much better support than I can provide in the half hour or so I day I spend on this forum. A basic debugging step is to take a heap histogram on n1 a) before restart n2 b) after n1's memory usage starts climbing c) before restarting n2. That will give a picture of what types of objects are increasing in the heap. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258181#4258181 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258181 From do-not-reply at jboss.com Thu Oct 1 10:44:34 2009 From: do-not-reply at jboss.com (c4s4l) Date: Thu, 1 Oct 2009 10:44:34 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] TaskForm Variables Message-ID: <11512.1254408274315.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> So there is no way of knowing what is the task name or the activity name that I'm in? Thanks, Sergio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258182#4258182 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258182 From do-not-reply at jboss.com Thu Oct 1 10:49:01 2009 From: do-not-reply at jboss.com (oneworld95) Date: Thu, 1 Oct 2009 10:49:01 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - Where does JBoss cache files? Message-ID: <30161695.1254408541668.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi. We're running into some odd behavior with an app on JBoss 4.2.3.GA: We can make modifications to it, put the WAR file on our server, see it deployed in the log, and not see the server-side changes when we load the pages. Does JBoss cache files somewhere? How can we be sure we're running the latest version of our app? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258185#4258185 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258185 From do-not-reply at jboss.com Thu Oct 1 10:54:26 2009 From: do-not-reply at jboss.com (rmz) Date: Thu, 1 Oct 2009 10:54:26 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Question regarding PersistenceContext propagation Message-ID: <15337854.1254408866505.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi everyone, I have a secenario similar to the following. There are different persistent entity classes, "a", "b" and "c". Entity a contains one ore more of b, and b contains one or more of c. Also, there are three different stateful session beans that wrap the three entities for client access, e.g., entity a is wrapped by stateful Bean A, b is wrapped by stateful bean B and correspondingly for c and C. Now when a client asks for entity a it gets access via a bean interface to A. When persisting or loading the entity structure this works via A (with the PersistenceContext of A). In all bean classes A, B, C I'm using Extended Persistent Contexts which I assume are propagated (from A --> B --> C) to the child beans when the parent beans instantiate the childs. However, it seems that the Persistence Context is not properly propagated by the container although the EntityManager's are the same for all beans A, B, C. This means, entities that are attached to the Entity Manager in bean A are no longer attached to the same Entity Manager when called in bean B. To my understanding this can only happen when the persistece context is not properly propagated. Can somebody provide an advice about how to ensure that the persistence context is propagated? I looked through a number of resources including "Hibernate in Action" but did not find something useful. Maybe I'm missing some annotation. Unfortunately I cannot easily construct a simple example because the entire thing is embedded in a larger project. Thanks in advance for your comments, -Rainer View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258188#4258188 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258188 From do-not-reply at jboss.com Thu Oct 1 10:54:33 2009 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Thu, 1 Oct 2009 10:54:33 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - Re: Where does JBoss cache files? Message-ID: <7604385.1254408873912.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Wrong forum View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258189#4258189 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258189 From do-not-reply at jboss.com Thu Oct 1 10:57:43 2009 From: do-not-reply at jboss.com (oneworld95) Date: Thu, 1 Oct 2009 10:57:43 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - Re: Where does JBoss cache files? Message-ID: <22594842.1254409063129.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry about that. Which forum for this topic? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258190#4258190 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258190 From do-not-reply at jboss.com Thu Oct 1 11:02:13 2009 From: do-not-reply at jboss.com (oneworld95) Date: Thu, 1 Oct 2009 11:02:13 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - Re: Where does JBoss cache files? Message-ID: <28329083.1254409333478.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I think I found the correct forum, though I don't know how to move a topic from one forum to another: http://www.jboss.org/index.html?module=bb&op=viewforum&f=287 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258192#4258192 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258192 From do-not-reply at jboss.com Thu Oct 1 11:02:44 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 1 Oct 2009 11:02:44 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBoss fallback mechanism for authentication methods Message-ID: <12527006.1254409364034.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Steve, this is possible. JBoss security is configured through a file "login-config.xml", where you declare the login modules for security domains. There is an option for each of those configs whether the login module has to succeed or whether another module is used as fallback when it fails. You might start with the JBoss security FAQ: http://www.jboss.org/community/wiki/SecurityFAQ Sorry for my short reply, I don't have much more time now, but I am willing to help another day. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258193#4258193 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258193 From do-not-reply at jboss.com Thu Oct 1 11:07:23 2009 From: do-not-reply at jboss.com (akazakov) Date: Thu, 1 Oct 2009 11:07:23 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: JBOSS Tools Html editor content assist problem Message-ID: <8643750.1254409643870.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What version of JBoss Tools are you using? Do you have tld or only facelet tag lib? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258196#4258196 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258196 From do-not-reply at jboss.com Thu Oct 1 11:07:58 2009 From: do-not-reply at jboss.com (nikolay.elenkov) Date: Thu, 1 Oct 2009 11:07:58 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: shutting down cluster node causes massive memory usage i Message-ID: <27784943.1254409678418.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you for your reply. Those are our customer's servers, so I don't have a direct line to JBoss customer support, but I might try to have a ticket opened once I have something more concrete. I am planning on getting a heap dump when I get the chance to reproduce this, but I was wondering how this is tied to clustering. I did some simple tests, and it does not seem (at least from the org.jboss.cache logs) that any replication happens while n1 is being shut down. But still something is triggering increased memory usage on n2 at exactly this point. Is there any other log category that might give more insight into what is happening? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258197#4258197 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258197 From do-not-reply at jboss.com Thu Oct 1 11:19:18 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 1 Oct 2009 11:19:18 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBoss fallback mechanism for authentication methods Message-ID: <17441911.1254410358031.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> OK, having some more time ;-). I think I misunderstood your question: you are still at the web level of security configuration, but I was much deeper in the security config ;-). I think for the web layer, this is not possible. The only way I can imagine is that you call the authentication yourself using this: http://www.jboss.org/community/wiki/WebAuthentication If the certificate login attempt fails, you might perform a user/password login. Or you could try to find out how to extend JBoss to use multiple auth methods. For the JBoss specific config of the multiple login modules, here is a helpful link: http://www.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/4.2.0.cp07/html/Server_Configuration_Guide/Security_on_JBoss-Defining_Security_Domains.html See the sample for an application-policy named "todo". Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258201#4258201 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258201 From do-not-reply at jboss.com Thu Oct 1 11:34:12 2009 From: do-not-reply at jboss.com (noicangi) Date: Thu, 1 Oct 2009 11:34:12 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm4.1 process project Message-ID: <19499917.1254411252682.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks Sebastian for the information it's a very complete answer, but on eclipse galileo using the jboss tools m3, i create a java proyect and create a bpm4 process definition, but the libraries are not copied into de the project, also the build.xml, jbpm.cfg.xml,jbpm.hibernate.cfg.xml and other jbpm.properties files. how can i do that? it is posible to put this on the jbpm user guide? i'm new in jbpm and i'm recently change from jbpm3 to jbpm4. thanks noicangi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258207#4258207 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258207 From do-not-reply at jboss.com Thu Oct 1 11:36:15 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Thu, 1 Oct 2009 11:36:15 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: JBossCache 3.2.1.GA released Message-ID: <12798042.1254411375558.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for the good news. I'm assuming this page (http://www.jboss.org/community/wiki/JBossCacheDownloadsPage) will be updated with the 3.2.1 release for downloading? For installing JBoss Cache 3.2.1 into JBoss AS 5.1.0, is it safe to drop the updated JBoss Cache (3.2.1) and JGroups (2.6.13) jars into their respective places in JBoss AS? Or are there additional configuration tweaks that need to be made? (I haven't been able to find documentation on this topic, so feel free to point me there if I'm missing it). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258209#4258209 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258209 From do-not-reply at jboss.com Thu Oct 1 11:48:08 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Thu, 1 Oct 2009 11:48:08 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: JBossCache 3.2.1.GA released Message-ID: <17474387.1254412088719.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for the reply on the blog, I was just able to download it from http://repository.jboss.org/maven2/org/jboss/cache/jbosscache-core/3.2.1.GA/ . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258213#4258213 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258213 From do-not-reply at jboss.com Thu Oct 1 11:53:15 2009 From: do-not-reply at jboss.com (rodrigorjo) Date: Thu, 1 Oct 2009 11:53:15 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Problem consuming EJB3 with remote client between JBoss 5 an Message-ID: <1761419.1254412395606.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello everyone. I have a problem that I really need to resolve as fast as possible. I have an EJB3 application deployed on JBoss 5.1.0.GA. Consuming those EJB3 with remote clients in other applications also deployed in JBoss 5 works fine. But the problem is that I need to consume one EJB3 in a client that has to be deployed in a JBoss 4.2.3.GA. I always get ClassCastException, I imagine because of diferent ClassLoaders. I can't find anywhere what I have to do. I tryed to put several JBoss5 jars in the classpath of the application running in JBoss 4, but still can't manage to make it work. The articles I found about ClassLoaders are usualy about isolating applications running in the same JBoss, but I want to consume in a remote client in a diferent JBoss. Please, can somebody tell me or lead me to some article or document to help me? Thanks, Rodrigo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258214#4258214 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258214 From do-not-reply at jboss.com Thu Oct 1 12:09:46 2009 From: do-not-reply at jboss.com (njrfrens) Date: Thu, 1 Oct 2009 12:09:46 -0400 (EDT) Subject: [jboss-user] [JMX] - Exception while Server Shutdown Message-ID: <17775989.1254413386222.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> As part of slimming the Jboss default server, I have removed couple of things in jboss\server\default directory without complete knowledge. After doing that, while trying to shutdown the server by calling shutdown -S, I'm getting the below error Exception in thread "main" javax.naming.NameNotFoundException: jmx not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | at org.jnp.server.NamingServer.getObject(NamingServer.java:543) | at org.jnp.server.NamingServer.lookup(NamingServer.java:267) | 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) | at sun.rmi.transport.Transport$1.run(Transport.java:153) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Transport.java:149) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) | at java.lang.Thread.run(Thread.java:595) | at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) | | at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) | at javax.naming.InitialContext.lookup(InitialContext.java:351) | at org.jboss.Shutdown.main(Shutdown.java:214) Can somebody please let me know what I might have deleted by mistake? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258220#4258220 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258220 From do-not-reply at jboss.com Thu Oct 1 12:10:31 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 1 Oct 2009 12:10:31 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm4.1 process project Message-ID: <9128347.1254413431696.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi noicangi, in the section of the user's guide describing the installation of jBPM there is also the step of adding a library entry for the jBPM libraries. I have done this and afterwards I just use "Add user library" in eclipse chosing jBPM libraries or however you called them to add the libraries to the classpath. Regarding the configuration files: To start a new project to make unit tests for experimenting I always copy the following files from the example project to my project. | jbpm.cfg.xml | jbpm.hibernate.cfg.xml | jbpm.mail.properties | jbpm.mail.templates.examples.xml | logging.properties | Not very convient but works for me. I fully agree that there should be a more convient way to quickly define a process and deploy it to jBPM. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258222#4258222 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258222 From do-not-reply at jboss.com Thu Oct 1 12:13:49 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 1 Oct 2009 12:13:49 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] TaskForm Variables Message-ID: <29767411.1254413629516.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> No, not from what I've seen in the code. Reusing taskforms in multiple tasks and displaying the taskname sounds like a nice 'enhancement'. Please file a Jira issue for this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258226#4258226 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258226 From do-not-reply at jboss.com Thu Oct 1 12:16:08 2009 From: do-not-reply at jboss.com (killian) Date: Thu, 1 Oct 2009 12:16:08 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Problem with the VacationRequest example Message-ID: <15572250.1254413768497.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have found the origin of my problem. When tomcat is used org.jbpm.integration.spi.mgmt.ServerConfigFactory return an org.jbpm.integration.spi.mgmt.DefaultServerConfig object. And in org.jbpm.integration.spi.mgmt.DefaultServerConfig the host and the port are hard-coded: | public class DefaultServerConfig implements ServerConfig { | | private static final String DEFAULT_HOST = "localhost"; | | private static final int DEFAULT_PORT = 8080; | | public String getWebServiceHost() { | return DEFAULT_HOST; | } | | public int getWebServicePort() { | return DEFAULT_PORT; | } | ... | } | In ServerConfigFactory.java there is a fixme comment : // FIXME: workaround for Tomcat: if no JBoss classes were found, fall back to defaults | I would like to know when it will be fixed. Thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258227#4258227 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258227 From do-not-reply at jboss.com Thu Oct 1 12:18:34 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 1 Oct 2009 12:18:34 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 : Running jbpm test case - issue Message-ID: <17391591.1254413914691.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Do you use a custom xml parser (Aelfred) ? Or a specific JDK or.... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258229#4258229 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258229 From do-not-reply at jboss.com Thu Oct 1 12:32:59 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 1 Oct 2009 12:32:59 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Problem with the VacationRequest example Message-ID: <21506635.1254414779514.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> look in the jira for an issue. That will tell you when it will be fixed. If there is no issue reported please do View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258236#4258236 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258236 From do-not-reply at jboss.com Thu Oct 1 12:41:41 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 1 Oct 2009 12:41:41 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Problem with the VacationRequest example Message-ID: <31892815.1254415301525.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is there a jira issue for this? If so, you can see the target for it being fixed (might also be empty though). If there is no jira issue, it is not on the list for being fixed in the near future. Please file an issue in that case. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258238#4258238 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258238 From do-not-reply at jboss.com Thu Oct 1 12:42:27 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 1 Oct 2009 12:42:27 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Problem with the VacationRequest example Message-ID: <14001536.1254415347781.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> DUHHHHHHHHHH why do post get visible delayed... I though one of my posts disappeared.... Sigh.... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258239#4258239 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258239 From do-not-reply at jboss.com Thu Oct 1 12:57:46 2009 From: do-not-reply at jboss.com (noicangi) Date: Thu, 1 Oct 2009 12:57:46 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm4.1 process project Message-ID: <32766401.1254416266404.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> thanks again, i configured all libraries like de user guide describes, but as you said "thats right its not the ideal procedure" but if works its just fine. the only thing thats its not clear for me is that i configured the jbpm libraries as the user guide says, but when i create the java project the jbpm libraries not apears on the list to include. im evaluating returning to jbpm3....but bpmn notation of jbpm4 its great! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258241#4258241 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258241 From do-not-reply at jboss.com Thu Oct 1 13:01:38 2009 From: do-not-reply at jboss.com (hamptont) Date: Thu, 1 Oct 2009 13:01:38 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: links from portlet content to another portal page Message-ID: <17506259.1254416498873.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I tried the code from the reference guide but I can't get it working correctly. The following is a test portlet jsp fragment that I'm working with. The portal page structure is like this | pageA | pageB | pageC | The jsp fragment below is for a portlet that is on page B and is trying to resolve the pageURL to pageC which is a sub-page of pageB | <%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet" %> | <%@ page isELIgnored="false" %> | <%@ page import="org.jboss.portlet.JBossRenderRequest" %> | <%@ page import="org.jboss.portlet.JBossRenderResponse" %> | <%@ page import="org.jboss.portal.api.node.PortalNode" %> | <%@ page import="org.jboss.portal.api.node.PortalNodeURL" %> | | | | <% | JBossRenderRequest req = new JBossRenderRequest(renderRequest); | JBossRenderResponse resp = new JBossRenderResponse(renderResponse); | | PortalNode thisNode = null; | PortalNode linkToNode = null; | PortalNodeURL pageURL = null; | | thisNode = req.getPortalNode().getParent(); | if (thisNode != null) linkToNode = thisNode.resolve("pageC"); | if (linkToNode != null) pageURL = resp.createRenderURL(linkToNode); | %> | | |

| thisNode = | <% if (thisNode != null) { %> | <%= thisNode.getName() %> | <% } else { %> | null | <% } %> |

| | | |

| linkToNode = | <% if (linkToNode != null) { %> | <%= linkToNode.getName() %> | <% } else { %> | null | <% } %> |

| | |

| pageURL = | <% if (pageURL != null) { %> | <%= pageURL.toString() %> | <% } else { %> | null | <% } %> |

| This example also produces a bizarre and very long error on the call to thisNode.resolve(). I am not sure that I'm getting the references to JBossRenderRequest & JBossRenderResponse correctly, but the example in the reference guide does not say what the correct way is to get these objects. | 12:46:07,397 ERROR [PortalPermissionCollection] Permission check against the repository failed | org.hibernate.HibernateException: Unable to locate current JTA transaction | ......... | I'm not sure what to the correct way to do this is but I'm pretty sure I did it wrong :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258242#4258242 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258242 From do-not-reply at jboss.com Thu Oct 1 13:02:38 2009 From: do-not-reply at jboss.com (c4s4l) Date: Thu, 1 Oct 2009 13:02:38 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] TaskForm Variables Message-ID: <5175604.1254416558037.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok, I've created the JBPM-2561 (https://jira.jboss.org/jira/browse/JBPM-2561) Anyone who also wants this feature, vote for it please. Thanks, Sergio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258243#4258243 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258243 From do-not-reply at jboss.com Thu Oct 1 13:07:51 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 1 Oct 2009 13:07:51 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm4.1 process project Message-ID: <18394216.1254416871242.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> As I said you explicitly have to add the libraries to the project. Right click on your project -> Select properties -> Select Java Build Path Right there select the tab "Libraries" and on the right side click "Add Library", chose User Library in the wizard and click next. Now select the entry you previously created according to the documentation. HTH View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258244#4258244 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258244 From do-not-reply at jboss.com Thu Oct 1 13:10:16 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 1 Oct 2009 13:10:16 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Problem with the VacationRequest example Message-ID: <17321536.1254417016494.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am plagued by the same problem, Ronald. It's kind of annoying. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258245#4258245 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258245 From do-not-reply at jboss.com Thu Oct 1 13:11:19 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 1 Oct 2009 13:11:19 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Implementing Escalation in jBPM 4.1 Message-ID: <33209985.1254417079652.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> *push* View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258246#4258246 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258246 From do-not-reply at jboss.com Thu Oct 1 13:15:29 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 1 Oct 2009 13:15:29 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL Message-ID: <8782164.1254417329640.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> prachi.mukhija, use the trunk or wait for the next release. Bernd: If I got it right there will only be bugfixes for jBPM BPEL since there is a new JBoss project for BPEL 2.0 called Riftsaw based up-on Apache ODE?? Actually my question is: Why are you are playing around with the BPEL 1.x implementation? Best regards Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258248#4258248 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258248 From do-not-reply at jboss.com Thu Oct 1 13:30:55 2009 From: do-not-reply at jboss.com (camunda) Date: Thu, 1 Oct 2009 13:30:55 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL Message-ID: <20095853.1254418255456.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Sebastian. Look on the date of my post, it was in the beginning of 2008. Riftsaw came this year... This is the downside of hijacking threads ;-) For today you are totally right: If you want BPEL look at Riftsaw, but best is to avoid BPEL if you can and go for jPDL or wait for executable BPMN 2.0 ;-) Cheers Bernd View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258249#4258249 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258249 From do-not-reply at jboss.com Thu Oct 1 13:33:53 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 1 Oct 2009 13:33:53 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: shutting down cluster node causes massive memory usage i Message-ID: <12741697.1254418433266.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I don't have any specific log categories, no, as without more information on what's increasing in the heap there's not much to go on. When n1 is shut down, n2 starts getting failover requests and starts doing twice as much work, so memory increase is expected. Perhaps the increase would be a bit more than you'd expect, as a session that is being actively handled on a node takes ~ 2x the memory of one that is just being stored as a backup for another node. (That BTW is not the case in JBoss 5.) But whether that's the problem, or it's just that n2 is now doing n1's work, or if it's some bug, there's not enough information to say. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258250#4258250 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258250 From do-not-reply at jboss.com Thu Oct 1 13:40:57 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 1 Oct 2009 13:40:57 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL Message-ID: <27451867.1254418857657.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for the hint, I got confused completely because prachi.mukhija posted in the same thread and I thought I just overlooked the post. And no thanks I do not want BPEL at all. :) I can't wait for executable BPMN 2.0 but right now I am bit worried if it will be accepted by vendors since a lot of them have made huge invests in their own execution models. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258251#4258251 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258251 From do-not-reply at jboss.com Thu Oct 1 13:55:59 2009 From: do-not-reply at jboss.com (camunda) Date: Thu, 1 Oct 2009 13:55:59 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: BPEL 1.1GA: CodeSource for SOAPMessage is NULL Message-ID: <2001543.1254419759681.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : I am bit worried if it will be accepted by vendors since a lot of them have made huge invests in their own execution models. Me not, since they all partizipate in the standardization team of BPMN (we joined that as well by the way ;-)). Basically I expect the most of them to pimp their BPEL engines to support BPMN. After all, the concepts are not THAT miles away (at least, most of them). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258255#4258255 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258255 From do-not-reply at jboss.com Thu Oct 1 14:19:01 2009 From: do-not-reply at jboss.com (souma) Date: Thu, 1 Oct 2009 14:19:01 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - PLEASE answer me I really need your help Message-ID: <9304667.1254421141984.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> please where can i find a complete example of introduction (Interface introductions+Mixins) of jboss AOP if anyone wants to help me by mail send me a simple example here is my e-mail sourire1986 at yahoo.fr View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258258#4258258 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258258 From do-not-reply at jboss.com Thu Oct 1 14:21:11 2009 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Thu, 1 Oct 2009 14:21:11 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - Re: PLEASE answer me I really need your help Message-ID: <10144139.1254421271394.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In the documentation and tutorials View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258259#4258259 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258259 From do-not-reply at jboss.com Thu Oct 1 14:47:46 2009 From: do-not-reply at jboss.com (souma) Date: Thu, 1 Oct 2009 14:47:46 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - Re: PLEASE answer me I really need your help Message-ID: <26753020.1254422866885.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> yes I found it but it is not complete .. how can i manage it via a Main class for example (I know it it is a bad question!!!but I'm beginner) PS: i am sorry for my bad english ..please help me View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258264#4258264 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258264 From do-not-reply at jboss.com Thu Oct 1 14:49:32 2009 From: do-not-reply at jboss.com (noicangi) Date: Thu, 1 Oct 2009 14:49:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm4.1 process project Message-ID: <22631573.1254422972424.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> thanks sebastian, i was doing the previous steps you mensioned but i was stuck on the list because i wasn't able to identify "my bpm library" that was on user libraries. now i will copy the configuration files and properties to start studing jbpm. Very grateful Noicangi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258265#4258265 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258265 From do-not-reply at jboss.com Thu Oct 1 14:55:12 2009 From: do-not-reply at jboss.com (lperea) Date: Thu, 1 Oct 2009 14:55:12 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Awesome job with jBPM 4.1 Message-ID: <21471200.1254423312876.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> thanks for the fast reply, I've modified my configuration files, but i have a problem When I set up the first SessionFactory (for Jbpm) it works fine, but when I set up the second SessionFactory (for the second datasource) it throw this error: | exception while executing command org.jbpm.pvm.internal.jobexecutor.AcquireJobsCmd at 1f7e273 | org.jbpm.pvm.internal.wire.WireException: couldn't find hibernate-session-factory by type to open a hibernate-session | at org.jbpm.pvm.internal.wire.descriptor.HibernateSessionDescriptor.construct(HibernateSessionDescriptor.java:66) | at org.jbpm.pvm.internal.wire.WireContext.construct(WireContext.java:473) | at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:452) | at org.jbpm.pvm.internal.wire.WireContext.create(WireContext.java:441) | at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:421) | at org.jbpm.pvm.internal.wire.WireContext.get(WireContext.java:331) (I'm not using JPA) any idea? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258267#4258267 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258267 From do-not-reply at jboss.com Thu Oct 1 15:02:17 2009 From: do-not-reply at jboss.com (unsavory) Date: Thu, 1 Oct 2009 15:02:17 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Awesome job with jBPM 4.1 Message-ID: <6326581.1254423737729.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry, I don't. Our second datasource is not being used for jBPM. We are running jBPM and our application code against the same database. We have a 2nd database for accessing some data we get from our partners. So our usage is slightly different than yours. It sounds like you have jBPM in a different database than your application correct? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258268#4258268 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258268 From do-not-reply at jboss.com Thu Oct 1 16:00:48 2009 From: do-not-reply at jboss.com (souma) Date: Thu, 1 Oct 2009 16:00:48 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - Re: PLEASE answer me I really need your help Message-ID: <24164209.1254427248322.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> example I want to translate the pattern memnto (from aspectj) to jboss aop package MEMENTO; | | public class Initiateur { | | protected int valeur = 0; | | public void incrementation() { | valeur++; | } | | public void affichage() { | System.out.println("La valeur courante est : " + valeur); | } | | | public void setMemento(InitiateurI o, Memento m){} | } package MEMENTO; | | public class Initiateur1Memento implements InitiateurI{ | | | | public Initiateur1Memento (){ | | } | | public Memento createMementoFor(InitiateurI o) { | if (o instanceof Initiateur) { | Memento m = new Memento() { | private Integer state; | | public void setetat(Integer state) { | this.state = (Integer) state; | } | | public int getState(){ | return state; | } | }; | m.setetat(new Integer(((Initiateur)o).valeur)); | return m; | } | else { | throw new MementoException("Initialisateur invalide"); | } | } | | public void setMemento(InitiateurI o, Memento m) { | if (o instanceof Initiateur) { | Integer integer = (Integer) m.getState(); | ((Initiateur)o).valeur = integer.intValue(); | } else { | throw new MementoException("Initialisateur invalide"); | } | } | } | package MEMENTO; | | public interface InitiateurI { | public Memento createMementoFor(InitiateurI o); | | public void setMemento(InitiateurI o, Memento m); | } package MEMENTO; | | public interface Memento { | public void setetat(Integer state); | public int getState(); | } public class Main { | | | public static void main(String[] args) { | | Memento memento1 = null; | Initiateur initiateur = new Initiateur(); | | for (int i=1; i<=5; i++) { | if (i==1){memento1= Initiateur1Memento.createMementoFor(initiateur);} | else {memento1.setetat(initiateur.valeur);} | | initiateur.incrementation(); | initiateur.affichage(); | | } | System.out.println(""); | System.out.println(" <- annuler"); | Initiateur1Memento.setMemento(initiateur, memento1); | initiateur.affichage(); | | | } | | | } | | | | | | | MEMENTO.InitiateurI | | MEMENTO.Initiateur1Memento | new MEMENTO.Initiateur1Memento(this) | | | | eclipse tells me 2 error in the Main line 14 "The method createMementoFor(InitiateurI) in the type Initiateur1Memento is not applicable for the arguments (Initiateur)" line23 "The method setMemento(InitiateurI, Memento) in the type Initiateur1Memento is not applicable for the arguments (Initiateur, Memento)" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258278#4258278 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258278 From do-not-reply at jboss.com Thu Oct 1 16:58:08 2009 From: do-not-reply at jboss.com (rsobchak) Date: Thu, 1 Oct 2009 16:58:08 -0400 (EDT) Subject: [jboss-user] [JMX] - Re: Exception when deploying a XMBean Message-ID: <12010810.1254430688132.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> a couple of things i have discovered. First, i was able to deploy an XMBean if the MBean classes were not in a jar file contained in the .sar file. Second, I could not get an XMBean to deploy within the .esb file. Maybe a limitation of the esb? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258283#4258283 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258283 From do-not-reply at jboss.com Thu Oct 1 17:19:44 2009 From: do-not-reply at jboss.com (henk53) Date: Thu, 1 Oct 2009 17:19:44 -0400 (EDT) Subject: [jboss-user] [Persistence] - Re: JBoss does not reconnect after mysql-server restart Message-ID: <20824177.1254431984523.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Anyone any ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258287#4258287 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258287 From do-not-reply at jboss.com Thu Oct 1 18:32:53 2009 From: do-not-reply at jboss.com (lperea) Date: Thu, 1 Oct 2009 18:32:53 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Awesome job with jBPM 4.1 Message-ID: <20085851.1254436373582.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Correct, we have an existing app running in informix and the JBPM in postgress. But seems that finally is working, I've just modify the jbpm.cfg.xml to add the name of the sessionFactory to use. :) this is the line: | | some tricky, but it works :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258292#4258292 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258292 From do-not-reply at jboss.com Thu Oct 1 18:57:35 2009 From: do-not-reply at jboss.com (unsavory) Date: Thu, 1 Oct 2009 18:57:35 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Awesome job with jBPM 4.1 Message-ID: <1650801.1254437855572.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Awesome! Glad you got it working. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258293#4258293 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258293 From do-not-reply at jboss.com Thu Oct 1 18:58:21 2009 From: do-not-reply at jboss.com (ramapala) Date: Thu, 1 Oct 2009 18:58:21 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Rolling back to a previous state in jBPM 3.3.2.GA Message-ID: <17181097.1254437901508.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, We are using jBPM 3.3.2.GA. The business wants to have rollback functionality. i.e., Move the token to a previous state in the workflow. Is there native suppor for this in jBPM ? -Ram View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258294#4258294 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258294 From do-not-reply at jboss.com Thu Oct 1 19:17:55 2009 From: do-not-reply at jboss.com (3adil) Date: Thu, 1 Oct 2009 19:17:55 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - JBoss messaging hangs with an Http client Message-ID: <33460787.1254439075208.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I have installed JBoss messaging 1.4.4 on JBoss 4.2.3 (jdk6) (with JBoss remoting 2.2.3) and this works fine with a jnp client. When I use an HTTP client with the following JNDI properties: HttpConnectionFactory org.jboss.naming.HttpNamingContextFactory http://localhost:8080/invoker/JNDIFactory queue/testQueue The message is well sent to the sever, and I see it in my Oracle database. However the call never ends at the client side, seems like the call hangs. Your help will be highly appreciable ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258295#4258295 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258295 From do-not-reply at jboss.com Thu Oct 1 19:21:52 2009 From: do-not-reply at jboss.com (wellerk) Date: Thu, 1 Oct 2009 19:21:52 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: OutOfMemory exception when loading xml schemas in WSDL Message-ID: <33093572.1254439312194.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Still had issues with deploying complex hl7 webservice. Here is a patch to WSDL11Reader (version 3.1.1) that solved my HL7V3 issues: | --- WSDL11Reader.java 2009-09-25 13:06:36.847867600 -0400 | +++ WSDL11Reader.java.new 2009-10-01 18:46:58.741045900 -0400 | @@ -145,6 +145,8 @@ | | // Temporary files used by this reader. | private List tempFiles = new ArrayList(); | + private Map publocation = new HashMap(); | + private List published = new ArrayList(); | | // SWA handling | private Map> skippedSWAParts = new HashMap>(); | @@ -423,7 +425,6 @@ | String localname = domElementClone.getLocalName(); | try | { | - List published = new LinkedList(); | if ("import".equals(localname)) | { | processSchemaImport(destTypes, wsdlLoc, domElementClone, published); | @@ -436,8 +437,8 @@ | { | throw new IllegalArgumentException("Unsuported schema element: " + localname); | } | - published.clear(); | - published = null; | +// published.clear(); | +// published = null; | } | catch (IOException e) | { | @@ -529,7 +530,7 @@ | } | } | | - private void processSchemaImport(WSDLTypes types, URL wsdlLoc, Element importEl, List published) throws IOException, WSDLException | + private void processSchemaImport(WSDLTypes types, URL wsdlLoc, Element importEl, List published) throws IOException, WSDLException | { | if (wsdlLoc == null) | throw new IllegalArgumentException("Cannot process import, parent location not set"); | @@ -542,16 +543,25 @@ | | URL locationURL = getLocationURL(wsdlLoc, location); | Element rootElement = DOMUtils.parse(new ResourceURL(locationURL).openStream()); | - if (!published.contains(locationURL)) | + if (!published.contains(locationURL.toExternalForm())) | { | - published.add(locationURL); | + published.add(locationURL.toExternalForm()); | URL newloc = processSchemaInclude(types, locationURL, rootElement, published); | - if (newloc != null) | + if (newloc != null) { | importEl.setAttribute("schemaLocation", newloc.toExternalForm()); | + publocation.put(locationURL.toExternalForm(), newloc.toExternalForm()); | + } | + } | + else { | + if (publocation.containsKey(locationURL.toExternalForm())) { | + if (publocation.get(locationURL.toExternalForm()) != null) { | + importEl.setAttribute("schemaLocation", (String)publocation.get(locationURL)); | + } | + } | } | } | | - private URL processSchemaInclude(WSDLTypes types, URL wsdlLoc, Element schemaEl, List published) throws IOException, WSDLException | + private URL processSchemaInclude(WSDLTypes types, URL wsdlLoc, Element schemaEl, List published) throws IOException, WSDLException | { | if (wsdlLoc == null) | throw new IllegalArgumentException("Cannot process iclude, parent location not set"); | @@ -580,12 +590,21 @@ | | URL locationURL = getLocationURL(wsdlLoc, location); | Element rootElement = DOMUtils.parse(new ResourceURL(locationURL).openStream()); | - if (!published.contains(locationURL)) | + if (!published.contains(locationURL.toExternalForm())) | { | - published.add(locationURL); | + published.add(locationURL.toExternalForm()); | URL newloc = processSchemaInclude(types, locationURL, rootElement, published); | - if (newloc != null) | + if (newloc != null) { | includeEl.setAttribute("schemaLocation", newloc.toExternalForm()); | + publocation.put(locationURL.toExternalForm(),newloc.toExternalForm()); | + } | + } | + else { | + if (publocation.containsKey(locationURL.toExternalForm())) { | + if (publocation.get(locationURL.toExternalForm()) != null) { | + includeEl.setAttribute("schemaLocation", (String)publocation.get(locationURL)); | + } | + } | } | } | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258296#4258296 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258296 From do-not-reply at jboss.com Thu Oct 1 19:49:00 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 1 Oct 2009 19:49:00 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm4.1 process project Message-ID: <12928233.1254440940307.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> you can also add al these config files in a jar and add that to the library as well. Or put them in a directory and add that to the library (that's what I did) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258297#4258297 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258297 From do-not-reply at jboss.com Thu Oct 1 19:53:04 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 1 Oct 2009 19:53:04 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Rolling back to a previous state in jBPM 3.3.2.GA Message-ID: <24418888.1254441184581.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> there is no 3.3.2.GA, and rollback functionality is not there natively since it is very dependent on the business side of things. The times I implemented 'rollback' functionality I explicitly modeled it in the process. Like you would when e.g. sending a correcting invoice. You do not retract the previous one, but send a new one.... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258298#4258298 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258298 From do-not-reply at jboss.com Thu Oct 1 20:32:42 2009 From: do-not-reply at jboss.com (benzeman) Date: Thu, 1 Oct 2009 20:32:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Install JBoss Message-ID: <23045145.1254443562580.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all. i am new user to Jboss . I have a question to ask all help me . i am just download jboss-5.1.0.GA.zip , of course i already set up the enviroment of JAVA with JDK to be 1.6.0_16 . How can is run Jboss ? How to configuration Jboss run on eclipse ? thank in advance for any helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258300#4258300 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258300 From do-not-reply at jboss.com Thu Oct 1 20:33:12 2009 From: do-not-reply at jboss.com (nakker) Date: Thu, 1 Oct 2009 20:33:12 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: JNDI lookup for object in remote server returns local ob Message-ID: <29141398.1254443592032.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Have you tried properties.put("jnp.disableDiscovery", "true"); Worked for me in a similar situation. This property forces the connection to only connect to the specified server and no one else (including self). It does have clustering implications you need to examine though. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258301#4258301 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258301 From do-not-reply at jboss.com Thu Oct 1 22:55:19 2009 From: do-not-reply at jboss.com (pbaltz) Date: Thu, 1 Oct 2009 22:55:19 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 installation problems on jboss 4.2.3 Message-ID: <4608177.1254452119026.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for the information. I was not aware that JBoss 4.x wasn't supported. Will have to move forward with 5 then. Regards, Pat View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258302#4258302 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258302 From do-not-reply at jboss.com Fri Oct 2 02:25:27 2009 From: do-not-reply at jboss.com (mcalpay) Date: Fri, 2 Oct 2009 02:25:27 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: JBOSS Tools Html editor content assist problem Message-ID: <19937199.1254464727398.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> we are using a 2.0.0 nightly build. I have tld's and facelet tag lib's. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258308#4258308 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258308 From do-not-reply at jboss.com Fri Oct 2 02:28:52 2009 From: do-not-reply at jboss.com (mcalpay) Date: Fri, 2 Oct 2009 02:28:52 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: JBOSS Tools Html editor content assist problem Message-ID: <26267323.1254464932551.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Its version is 3.0.2 my mistake View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258310#4258310 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258310 From do-not-reply at jboss.com Fri Oct 2 02:39:56 2009 From: do-not-reply at jboss.com (akazakov) Date: Fri, 2 Oct 2009 02:39:56 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: JBOSS Tools Html editor content assist problem Message-ID: <22972338.1254465596888.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Unfortunately JBDS 2.0 doesn't use TLD's nor Facelet tag lib's to provide content assist in XHTML editor. There are special XMLs in org.jboss.tools.core.kb plug-in with meta information about tags and attributes for particular tag libs. This problem was solved in JBoss Tools 3.1M3. See http://www.jboss.org/community/wiki/NewKBplug-inandCodeAssistinJBossTools310M3 for details. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258311#4258311 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258311 From do-not-reply at jboss.com Fri Oct 2 02:46:51 2009 From: do-not-reply at jboss.com (mcalpay) Date: Fri, 2 Oct 2009 02:46:51 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: JBOSS Tools Html editor content assist problem Message-ID: <28269631.1254466011882.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> would you recommend me to update to milestone ? Is it stable enough ? Also can you point me to xml's you mentioned ? Thanks for the quick reply View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258312#4258312 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258312 From do-not-reply at jboss.com Fri Oct 2 02:53:02 2009 From: do-not-reply at jboss.com (puag) Date: Fri, 2 Oct 2009 02:53:02 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Deploy a project Message-ID: <23548728.1254466382226.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hello, i??m a begginer with jbpm and I need to deploy the jbpm project on a jboss server without using the eclipse plugin. Can you tell me the way please? Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258313#4258313 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258313 From do-not-reply at jboss.com Fri Oct 2 03:03:47 2009 From: do-not-reply at jboss.com (akazakov) Date: Fri, 2 Oct 2009 03:03:47 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: JBOSS Tools Html editor content assist problem Message-ID: <9188497.1254467027714.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "mcalpay" wrote : would you recommend me to update to milestone ? Is it stable enough ? JBT 3.1 requeres Eclipse 3.5 JBT 3.0 requeres Eclipse 3.4 If you are ok to swith to the latest Eclipse then I would recomend you to try JBT 3.1.M3 "mcalpay" wrote : Also can you point me to xml's you mentioned ? See org.jboss.tools.common.kb.*\schemas\tld\* and org.jboss.tools.common.kb.*\plugin.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258316#4258316 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258316 From do-not-reply at jboss.com Fri Oct 2 03:37:17 2009 From: do-not-reply at jboss.com (bodrin) Date: Fri, 2 Oct 2009 03:37:17 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: jbossall-client.jar and the jar hell at remote JBM clien Message-ID: <11621656.1254469037180.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok, the thing about the order is there, sorry I haven't saw it, I just used the order from the examples. But the question I wanted to ask was :) : What is the minimal set of jars to be included from $JBOSS_HOME/client in order to replace the evil jbossall-client.jar in a remote JBM client? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258321#4258321 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258321 From do-not-reply at jboss.com Fri Oct 2 03:43:41 2009 From: do-not-reply at jboss.com (justkeys) Date: Fri, 2 Oct 2009 03:43:41 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Message Selector based on the host name in clustered env Message-ID: <15696664.1254469421452.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Maybe you dont need jms / mdb for this: you have all handlers in the same vm as the senders. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258322#4258322 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258322 From do-not-reply at jboss.com Fri Oct 2 03:49:45 2009 From: do-not-reply at jboss.com (justkeys) Date: Fri, 2 Oct 2009 03:49:45 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: cluster networking with 2 interface Message-ID: <23695396.1254469785007.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> -Djgroups.bind_addr=172.0.0.2 forces all cluster-communication over this interface -Djboss.bind.address=10.0.0.2 binds jboss only on this interface View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258323#4258323 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258323 From do-not-reply at jboss.com Fri Oct 2 03:53:36 2009 From: do-not-reply at jboss.com (justkeys) Date: Fri, 2 Oct 2009 03:53:36 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: HA Singleton service lookup in cluster Message-ID: <4042438.1254470016567.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If the SLSB depends on the cluster-wide singleton (due to eg @EJB IYoursingleton ... in its implementation class) then it "becomes a cluster-wide singleton" of its own. To make this SLSB available on all nodes, remove the @EJB, and perform a HA lookup (manually, without injection) whenever you need to talk to the singleton. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258325#4258325 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258325 From do-not-reply at jboss.com Fri Oct 2 04:06:24 2009 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Fri, 2 Oct 2009 04:06:24 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm4.1 process project Message-ID: <3952348.1254470784554.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> More convenience is on the way. AFAICS it will be for 4.3 though (Januari 1st 2010). Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258328#4258328 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258328 From do-not-reply at jboss.com Fri Oct 2 04:34:09 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Fri, 2 Oct 2009 04:34:09 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <2214420.1254472449283.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I think I get it now. Your JAASLoginInterceptor should perform a login using the class "org.jboss.web.tomcat.security.login.WebAuthentication": http://www.jboss.org/community/wiki/WebAuthentication This way, your authentication will be propagated to the security layer. I don't know your class "LoginFacade", but I assume that you don't use "WebAuthentication" there? Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258331#4258331 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258331 From do-not-reply at jboss.com Fri Oct 2 04:44:15 2009 From: do-not-reply at jboss.com (praenti) Date: Fri, 2 Oct 2009 04:44:15 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <6150891.1254473055152.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Perhaps you're right I will test that in the next hours. To be complete, this is my LoginFacade: | /** | * | */ | package vwg.audi.cancard.business; | | import javax.naming.AuthenticationException; | import javax.security.auth.login.LoginContext; | import javax.security.auth.login.LoginException; | | import org.apache.log4j.Logger; | import org.jboss.security.auth.callback.UsernamePasswordHandler; | | import vwg.audi.cancard.JAASLoginException; | import vwg.audi.cancard.ui.JAASConstants; | | /** | * LoginFacade | * | * @author Michael Obster (michael.obster at epos-cat.de) | */ | public class LoginFacade { | private Logger log = Logger.getLogger(this.getClass()); | | private LoginContext lc = null; | private String loginContext = ""; | private String clientContext = ""; | | public LoginFacade(String loginContext, String clientContext) { | this.loginContext = loginContext; | this.clientContext = clientContext; | } | | /** | * Real login, used by GUI. | * | * @param username | * @param strPassword | * @throws Exception | */ | public void login(String username, String strPassword) throws Exception{ | char[] password = strPassword != null ? strPassword.toCharArray() : "".toCharArray() ; | UsernamePasswordHandler handler = new UsernamePasswordHandler(username, password); | | lc = null; | try { | //Login for usercheck | lc = new LoginContext(loginContext, handler); | lc.login(); | | } catch (Exception e) { | Throwable t = e; | while (t.getCause() != null) { | | if (t instanceof AuthenticationException) { | break; | } | t = t.getCause(); | } | | //Analyse AuthenticationException | if (t instanceof AuthenticationException) { | AuthenticationException ex = (AuthenticationException)t; | String emsg = ex.getExplanation(); | if (!hasValue(emsg)) { | emsg = ""; | } | String errorhint = JAASConstants.USER_NOT_AUTHENTICATED; | if (emsg.indexOf("password expired") > 0) { | errorhint = JAASConstants.PASSWORD_EXPIRED; | } else if (emsg.indexOf("error code 49") > 0) { | errorhint = JAASConstants.PASSWORD_INVALID; | } else if (emsg.indexOf("error code 19") > 0) { | errorhint = JAASConstants.USER_REVOKED; | } else if (emsg.indexOf("error code 32") > 0) { | errorhint = JAASConstants.USER_INVALID; | } | log.debug(username + " " + ex.getExplanation() + " hint: " + errorhint); | throw new JAASLoginException(errorhint, ex); | | } else if (t instanceof LoginException) { | LoginException ex = (LoginException)t; | String emsg = ex.getMessage(); | if (!hasValue(emsg)) { | emsg = ""; | } | String errorhint = JAASConstants.USER_NOT_AUTHENTICATED; | if (emsg.indexOf("Password Required") > 0) { | errorhint = JAASConstants.PASSWORD_INVALID; | } | log.debug(username + " " + emsg + " " + errorhint); | throw new JAASLoginException(errorhint, ex); | } else { | log.debug(username + " " + t.getMessage() + " " + JAASConstants.UNEXPECTED_ERROR); | throw new JAASLoginException(JAASConstants.UNEXPECTED_ERROR, t); | } | } | } | | /** | * Background Login, set user and password from filter. | */ | public void clientLogin(String username, String strPassword) throws JAASLoginException { | char[] password = strPassword != null ? strPassword.toCharArray() : "".toCharArray() ; | UsernamePasswordHandler handler = new UsernamePasswordHandler(username, password); | try { | lc = new LoginContext(clientContext, handler); | lc.login(); | } catch (LoginException e) { | | throw new JAASLoginException(JAASConstants.UNEXPECTED_ERROR); | } | } | | public void logout() throws JAASLoginException { | if (lc == null) | return; | | try { | lc.logout(); | } catch (LoginException e) { | log.error("JAAS-Logout failed!", e); | throw new JAASLoginException(JAASConstants.UNEXPECTED_ERROR); | } | } | | /** | * Helper function tests if Strings have a value. | * | * @param s - the String to test. | * @return true or false | */ | boolean hasValue(String s) { | return s != null && s.trim().length() != 0 ? true : false; | } | } | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258333#4258333 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258333 From do-not-reply at jboss.com Fri Oct 2 04:48:59 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Fri, 2 Oct 2009 04:48:59 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <28631937.1254473339322.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, to start the JBoss: -extract "jboss-5.1.0.GA.zip" to some directory. -call "bin\run.bat" or the script for your OS. To use JBoss in Eclipse, you need a plugin. You could either use the "Web Tools Platform" plugin 3.1.1, or the "JBoss Tools" plugin (the latter I don't know). Take a look at the Eclipse help to find out how to configure it for Web Tools Platform plugin. See http://help.eclipse.org/galileo/index.jsp (one the left side, browse to "Web Tools Platform user guide" => "Using the server tools". Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258335#4258335 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258335 From do-not-reply at jboss.com Fri Oct 2 05:00:02 2009 From: do-not-reply at jboss.com (npirard) Date: Fri, 2 Oct 2009 05:00:02 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to get history variables and processInstanceId from Message-ID: <16632861.1254474002776.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> [jBPM 4] hello, I think I need access to history variables too. Here is my need : _ I create a process instance that does some stuff, and in particular creates a business object I will need to retrieve (an entity stored somewhere) _ after the workflow is over, I would like to retrieve what it has created. So my idea was that my workflow would set a variable with the id of my business object, and after the workflow is finished I will search the history and get my variable. it is easy when my workflow is not ended : String businessId = (String) executionService.getVariable(processId, "businessId"); but when it is ended there is nothing in the API like I could do: String businessId = (String) historyService.getVariable(processId, "businessId"); and I have not found any other way so my question is : does the jBPM team intend to do something like that, so that the variable of history processes can be retrieved via the API ? or maybe I overlooked something that already exists? I searched the JIRA, but did not fully understand what was intended, especially with this one : https://jira.jboss.org/jira/browse/JBPM-2398 the description : "expose the history that is in the database through the api" sounds nice, but then it seems to specialize on tasks, plus it seems a bit dead View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258338#4258338 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258338 From do-not-reply at jboss.com Fri Oct 2 05:03:27 2009 From: do-not-reply at jboss.com (nikolay.elenkov) Date: Fri, 2 Oct 2009 05:03:27 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: shutting down cluster node causes massive memory usage i Message-ID: <8348042.1254474207834.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I did a bit more testing, and it seems that once I shut down n1, there is some increase in HashMap$Entry's and TreeMap$Entry's on n2. This is a test setup, so n2 is not servicing any requests when I stop n1. So I am guessing, it might have to do with the session being promoted from backup to active, as you suggested. Could you point me to the relevant code in JBoss so I can verify? (I want to check where those map entries are instantiated) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258339#4258339 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258339 From do-not-reply at jboss.com Fri Oct 2 05:33:51 2009 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 2 Oct 2009 05:33:51 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: @Resource and systemproperties-service.xml Message-ID: <4032052.1254476031378.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I think there's a way out. Instead of specifying the properties in the deploy/systemproperties-service.xml file, you can instead have a MBean as follows in the JBOSS_HOME/server/< servername>/conf/jboss-service.xml: | | | | | | serverName=blahblah | | | | | That way, you don't have to worry about the deployment ordering and dependencies, since the conf/jboss-service.xml is always loaded during bootstrap of the server, before it picks up the deployments. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258345#4258345 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258345 From do-not-reply at jboss.com Fri Oct 2 06:20:46 2009 From: do-not-reply at jboss.com (benzeman) Date: Fri, 2 Oct 2009 06:20:46 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <24593928.1254478846022.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Wolfgang Knauf. thank your reply. For running Jboss , Is there setting configuration for JBOSS_HOME variable? thank regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258361#4258361 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258361 From do-not-reply at jboss.com Fri Oct 2 06:39:38 2009 From: do-not-reply at jboss.com (ravirachannavar) Date: Fri, 2 Oct 2009 06:39:38 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Unauthenticated caller null N sqlException Message-ID: <25027840.1254479978943.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Peter, The class file is present in a crimson.jar This jar is used for xml parsing. We have deployed this ear successfully in weblogic,websphere and in JBoss 4.2 also with this jar Can you please suggest wht can be done View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258364#4258364 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258364 From do-not-reply at jboss.com Fri Oct 2 06:41:19 2009 From: do-not-reply at jboss.com (ravirachannavar) Date: Fri, 2 Oct 2009 06:41:19 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Unauthenticated caller null N sqlException Message-ID: <24398455.1254480079451.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Peter, The class file is present in a crimson.jar This jar is used for xml parsing. We have deployed this ear successfully in weblogic,websphere and in JBoss 4.2 also with this jar Can you please suggest wht can be done View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258365#4258365 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258365 From do-not-reply at jboss.com Fri Oct 2 07:15:23 2009 From: do-not-reply at jboss.com (freiburger) Date: Fri, 2 Oct 2009 07:15:23 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - [jBPM4] Problem retrieving activities from history Message-ID: <1387610.1254482123691.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi there, I'm stuck with the following scenario using jBPM 4.1: I have a simple fork/join pattern like | [...] | | | | | | | | | | | | [...] | Now I'm trying to retrieve _all_ past activities from a running process instance. This is no problem using the history service as long as all child processes are still running by simply recursing into them and doing a query on each executions ID, but as soon as a child process has terminated I do see no way getting the IDs of them for building a history query on them. As far as I see the only place where the IDs are then stored in the DB is in the JBPM4_HIST_ACTINST table itsself, but before I can query it I would need exactly those IDs using another mechanism. I hope you understand my problem, to sum it up: How do I get the IDs of terminated child executions of a running process instance? Thanks for your help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258374#4258374 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258374 From do-not-reply at jboss.com Fri Oct 2 07:18:18 2009 From: do-not-reply at jboss.com (ascandroli) Date: Fri, 2 Oct 2009 07:18:18 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: TaskControllerHandler in jBPM4 ? Message-ID: <3954128.1254482298676.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Anyone? Any tips? This is what I'm trying to port: | | | | | | variable1, descripcion, HIDDEN | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258375#4258375 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258375 From do-not-reply at jboss.com Fri Oct 2 07:20:55 2009 From: do-not-reply at jboss.com (benzeman) Date: Fri, 2 Oct 2009 07:20:55 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <19104946.1254482455179.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi . i also setup a JBOSS_HOME variable for JBOSS , But i get error when launching error like that : Calling C:\jboss-5.1.0.GA\bin\run.conf.bat Could not locate "C:\jboss-5.1.0.GA\bin\bin\run.jar". Please check that you are in the bin directory when running this script. Press any key to continue . . . thank for any help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258377#4258377 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258377 From do-not-reply at jboss.com Fri Oct 2 07:37:06 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Fri, 2 Oct 2009 07:37:06 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <3438006.1254483426669.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, as far as I know, you don't even need a "JBOSS_HOME". Simply open a command prompt, "cd" to the JBoss installation directory, go to "bin" and call "run.bat". Your error message contains "...\bin\bin\...", which seems a bit strange. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258384#4258384 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258384 From do-not-reply at jboss.com Fri Oct 2 07:46:29 2009 From: do-not-reply at jboss.com (praenti) Date: Fri, 2 Oct 2009 07:46:29 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <2969685.1254483989408.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> After some trying I get another error, so I tried to find out where the method isUserInRole is implemented, because I want to know what happens there. So where can I have a deeper look into that? The error is | ... | 13:33:02,033 INFO [Login] User extern.michael.obster: login successfull! | 13:33:02,049 DEBUG [CoyoteAdapter] Requested cookie session id is 935A59F3B0ED6 | 44F944D50636D518275 | 13:33:02,080 DEBUG [JAASLoginInterceptor] Login INTERCEPT | 13:33:02,096 DEBUG [JAASLoginInterceptor] User Principal=extern.michael.obster | 13:33:02,096 DEBUG [RealmBase] Username extern.michael.obster does NOT have role | RegularUser | 13:33:02,096 DEBUG [JAASLoginInterceptor] isUserInRole(Authorized User)=false | 13:33:02,096 DEBUG [RealmBase] Username extern.michael.obster does NOT have role | RegularUser | 13:33:02,096 ERROR [[default]] Servlet.service() for servlet default threw excep | tion | javax.servlet.ServletException: User is not authenticated or the isUserInRole ch | eck failed | at vwg.audi.cancard.ui.interceptor.JAASLoginInterceptor.intercept(JAASLo | ginInterceptor.java:77) | at com.opensymphony.xwork2.DefaultActionInvocation$2.doProfiling(Default | ActionInvocation.java:224) | ... | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258390#4258390 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258390 From do-not-reply at jboss.com Fri Oct 2 07:50:05 2009 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 2 Oct 2009 07:50:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <3458514.1254484205458.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Wolfgang is right, you don't have to set JBOSS_HOME. Infact it's always recommended not to set it, since as you see now you might end up setting it wrong. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258391#4258391 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258391 From do-not-reply at jboss.com Fri Oct 2 08:33:09 2009 From: do-not-reply at jboss.com (flavia.rainone@jboss.com) Date: Fri, 2 Oct 2009 08:33:09 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - Re: PLEASE answer me I really need your help Message-ID: <1609392.1254486789394.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The point is that you are trying to achieve something with a framework that you used to do with a language extension. Given AspectJ is a language extension of Java, its compiler would know to recognize that Initiateur now implements InitiateurI. JBoss AOP is not an extension of Java, it is a framework. Hence you have to use javac standard compiler to compile your code; javac won't recognize that after compiling you are going to use a tool that makes Initiateur implemnt InitiateurI. So, you have to use a casting: | ... | if (i==1){memento1= Initiateur1Memento.createMementoFor((InitiateurI) initiateur);} | ... | Initiateur1Memento.setMemento((InitiateurI) initiateur, memento1); | ... | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258401#4258401 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258401 From do-not-reply at jboss.com Fri Oct 2 09:19:05 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 2 Oct 2009 09:19:05 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Problem retrieving activities from history Message-ID: <18920936.1254489545928.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> As mentioned in several other posts and a jira issue, the history is not fullly enabled yet. Vote for the jira issue and refer to this post there. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258412#4258412 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258412 From do-not-reply at jboss.com Fri Oct 2 09:27:42 2009 From: do-not-reply at jboss.com (Marcos_APS) Date: Fri, 2 Oct 2009 09:27:42 -0400 (EDT) Subject: [jboss-user] [Persistence] - How to get an EntityManager or EntityManagerFactory using JN Message-ID: <21422326.1254490062062.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> - JBoss 4.2.3.GA Hello! How do I get an EntityManager or EntityManagerFactory using JNDI? What are their JNDI names? Thank you. Marcos View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258415#4258415 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258415 From do-not-reply at jboss.com Fri Oct 2 09:28:39 2009 From: do-not-reply at jboss.com (benzeman) Date: Fri, 2 Oct 2009 09:28:39 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <11821361.1254490119946.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank all. i am intended build one web with JBoss . but i don't know which tool i can use to write my project such as eclipse, netbeans, or others tool ..... Could anyone give me suggestion which tool i can use to build the web configuration running with JBOSS? thank in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258416#4258416 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258416 From do-not-reply at jboss.com Fri Oct 2 10:03:18 2009 From: do-not-reply at jboss.com (newmanw10) Date: Fri, 2 Oct 2009 10:03:18 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - How do I catch a user define exception on the client (SOAP/J Message-ID: <23425925.1254492198571.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Seems like I am following the spec correctly and JAX-RPC is generating the exception class correctly (I think), but I still cannot get this to work. I am wondering if there is something configuration wise that I need to setup in JBoss to get the correct exception back on the client side. I have a user defined exception: | <xsd:element name="TestExceptionElement" type="xsd:string"/> | | <message name="TestException"> | <part name="message" type="TestExceptionElement"/> | </message> | . | . | <operation name="throwTestException"> | <input message="tns:throwTestException_request"/> | <output message="tns:throwTestException_response"/> | <fault name="TestException" message="tns:TestException"t/> | </operation> | This generates the following code for the exception: | public class TestException extends java.lang.Exception { | private java.lang.String message; | | public TestException(java.lang.String message) { | super(message); | this.message = message; | } | | public String getMessage() { | return message; | } | } | When I throw this exception on the server side things look ok. However on the client side I catch a SOAPFaultException instead of my TestException. Has anyone successfully defined an exception and caught that exception on the client side? Thanks, Billy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258418#4258418 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258418 From do-not-reply at jboss.com Fri Oct 2 10:04:51 2009 From: do-not-reply at jboss.com (newmanw10) Date: Fri, 2 Oct 2009 10:04:51 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - How do I catch a user define exception on the client (SOAP/J Message-ID: <11575764.1254492291182.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Seems like I am following the spec correctly and JAX-RPC is generating the exception class correctly (I think), but I still cannot get this to work. I am wondering if there is something configuration wise that I need to setup in JBoss to get the correct exception back on the client side. I have a user defined exception: | ; | | ; | ; | . | . | | ; | | | | This generates the following code for the exception: | public class TestException extends java.lang.Exception { | private java.lang.String message; | | public TestException(java.lang.String message) { | super(message); | this.message = message; | } | | public String getMessage() { | return message; | } | } | When I throw this exception on the server side things look ok. However on the client side I catch a SOAPFaultException instead of my TestException. Has anyone successfully defined an exception and caught that exception on the client side? Thanks, Billy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258419#4258419 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258419 From do-not-reply at jboss.com Fri Oct 2 10:05:05 2009 From: do-not-reply at jboss.com (newmanw10) Date: Fri, 2 Oct 2009 10:05:05 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - How do I catch a user define exception on the client (SOAP/J Message-ID: <26273100.1254492305999.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Seems like I am following the spec correctly and JAX-RPC is generating the exception class correctly (I think), but I still cannot get this to work. I am wondering if there is something configuration wise that I need to setup in JBoss to get the correct exception back on the client side. I have a user defined exception: | | | | ; | . | . | | | | | | This generates the following code for the exception: | public class TestException extends java.lang.Exception { | private java.lang.String message; | | public TestException(java.lang.String message) { | super(message); | this.message = message; | } | | public String getMessage() { | return message; | } | } | When I throw this exception on the server side things look ok. However on the client side I catch a SOAPFaultException instead of my TestException. Has anyone successfully defined an exception and caught that exception on the client side? Thanks, Billy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258420#4258420 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258420 From do-not-reply at jboss.com Fri Oct 2 10:05:15 2009 From: do-not-reply at jboss.com (newmanw10) Date: Fri, 2 Oct 2009 10:05:15 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - How do I catch a user define exception on the client (SOAP/J Message-ID: <28582423.1254492315766.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Seems like I am following the spec correctly and JAX-RPC is generating the exception class correctly (I think), but I still cannot get this to work. I am wondering if there is something configuration wise that I need to setup in JBoss to get the correct exception back on the client side. I have a user defined exception: | | | | | . | . | | | | | | This generates the following code for the exception: | public class TestException extends java.lang.Exception { | private java.lang.String message; | | public TestException(java.lang.String message) { | super(message); | this.message = message; | } | | public String getMessage() { | return message; | } | } | When I throw this exception on the server side things look ok. However on the client side I catch a SOAPFaultException instead of my TestException. Has anyone successfully defined an exception and caught that exception on the client side? Thanks, Billy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258421#4258421 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258421 From do-not-reply at jboss.com Fri Oct 2 10:10:33 2009 From: do-not-reply at jboss.com (lvonk2000) Date: Fri, 2 Oct 2009 10:10:33 -0400 (EDT) Subject: [jboss-user] [Security] - Re: @RunAs in JBoss 5 - Caller unauthorized in second call Message-ID: <33165116.1254492633826.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We are experiencing the same thing. Have you found an answer? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258422#4258422 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258422 From do-not-reply at jboss.com Fri Oct 2 10:22:51 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Fri, 2 Oct 2009 10:22:51 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: shutting down cluster node causes massive memory usage i Message-ID: <925836.1254493371645.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> http://anonsvn.jboss.org/repos/jbossas/tags/JBPAPP_4_2_0_GA_CP06/tomcat/src/main/org/jboss/web/tomcat/service/session/ is the package where the distributed session manager code resides. http://anonsvn.jboss.org/repos/jbossas/tags/JBPAPP_4_2_0_GA_CP06/tomcat/src/main/org/jboss/web/tomcat/service/session/JBossCacheManager.java is the key class. I highly recommend you get a case opened on the Customer Support Portal. Note that the only thing that promotes a session from backup to active is a user request. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258423#4258423 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258423 From do-not-reply at jboss.com Fri Oct 2 10:37:26 2009 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 2 Oct 2009 10:37:26 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <9264099.1254494246488.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You could do what I do - use a text editor to edit the files, use Ant or Maven to build the WAR/EAR and then deploy it. Or you could use JBoss Tools: http://www.jboss.org/tools/. The Getting Started guide at http://docs.jboss.org/tools/3.1.0.M2/ should help get you set up and started with your first app. The other guides offer helpful tutorials. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258425#4258425 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258425 From do-not-reply at jboss.com Fri Oct 2 10:47:53 2009 From: do-not-reply at jboss.com (vdeminico) Date: Fri, 2 Oct 2009 10:47:53 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - error accessing webapp Message-ID: <561484.1254494874002.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi, i'm new in seam. I'm trying to create a new seam web project using jboss tools. After importing all seam libraries and solving problems with datasource, tomcat correctly deploys my application. Accessing to my web-app by browser, the server shows a message error 404 accessing to debug.seam?cid=1... which is the problem???? thanks, Valerio. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258429#4258429 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258429 From do-not-reply at jboss.com Fri Oct 2 11:08:36 2009 From: do-not-reply at jboss.com (cdivita) Date: Fri, 2 Oct 2009 11:08:36 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Defining classloading rules explicitly (through jboss-classl Message-ID: <8105126.1254496116243.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi to all, I want to deploy on JBoss 5.1.0 a web application that use log4j through commons-logging, and I want to configure logging using a custom log4j.properties file. So I tried to add the file jboss-classloading.xml to directory WEB-INF/lib to my WAR, as reported http://www.jboss.org/community/wiki/useJBossWebClassLoaderinJBoss5. Unfortunately the log4j.properties file that is int WEB-INF/classes directory of the WAR is ignored I think that for the war View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258430#4258430 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258430 From do-not-reply at jboss.com Fri Oct 2 11:12:51 2009 From: do-not-reply at jboss.com (cdivita) Date: Fri, 2 Oct 2009 11:12:51 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Defining classloading rules explicitly (through jboss-cl Message-ID: <27226494.1254496371805.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "cdivita" wrote : Hi to all, | | I want to deploy on JBoss 5.1.0 a web application that use log4j through commons-logging, and I want to configure logging using a custom log4j.properties file. | | So I tried to add the file jboss-classloading.xml to directory WEB-INF/lib to my WAR, as reported http://www.jboss.org/community/wiki/useJBossWebClassLoaderinJBoss5. | | Unfortunately the log4j.properties file that is int WEB-INF/classes directory of the WAR is ignored I'm sorry, the post wasn't complete when I submit it. The jboss-classloading.xml content is: | | | My war also contains jars of commons-logging and log4j. Someone can help me ?? Thank you, Claudio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258431#4258431 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258431 From do-not-reply at jboss.com Fri Oct 2 11:13:35 2009 From: do-not-reply at jboss.com (matjohn) Date: Fri, 2 Oct 2009 11:13:35 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Problem WAR deploy (jboss-5.1.0.GA) Message-ID: <3557883.1254496415452.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have follow exception when deploy my application : 2009-10-02 16:31:18,265 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Configured: name=jboss.j2ee:module="mad.war",service=EjbModule state=Instantiated mode=Manual requiredState=Configured java.lang.RuntimeException: Exception setting attribute WebServiceName on mbean jboss.j2ee:service=EjbModule,module="mad.war" at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:170) at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114) at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58) at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42) at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.system.ServiceController.doChange(ServiceController.java:688) at org.jboss.system.ServiceController.install(ServiceController.java:274) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) at org.jboss.Main.boot(Main.java:221) at org.jboss.Main$1.run(Main.java:556) at java.lang.Thread.run(Unknown Source) Caused by: javax.management.InvalidAttributeValueException: Set attribute has class class javax.management.ObjectName loaded from null that is not assignable to attribute class class javax.management.ObjectName loaded from BaseClassLoader at d99967{vfszip:/D:/projects/jboss-5.1.0.GA/server/default/deploy/mad.war/} at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.checkAssignable(ModelMBeanAttributeInterceptor.java:229) at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:88) at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76) at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461) at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:617) at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:166) ... 51 more 2009-10-02 16:31:26,701 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Real: name=vfszip:/D:/projects/jboss-5.1.0.GA/server/default/deploy/mad.war/ state=PreReal mode=Manual requiredState=Real org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.j2ee:service=EjbModule,module="mad.war" at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:118) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) at org.jboss.Main.boot(Main.java:221) at org.jboss.Main$1.run(Main.java:556) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.RuntimeException: Exception setting attribute WebServiceName on mbean jboss.j2ee:service=EjbModule,module="mad.war" at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:170) at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114) at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58) at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42) at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.system.ServiceController.doChange(ServiceController.java:688) at org.jboss.system.ServiceController.install(ServiceController.java:274) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90) ... 34 more Caused by: javax.management.InvalidAttributeValueException: Set attribute has class class javax.management.ObjectName loaded from null that is not assignable to attribute class class javax.management.ObjectName loaded from BaseClassLoader at d99967{vfszip:/D:/projects/jboss-5.1.0.GA/server/default/deploy/mad.war/} at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.checkAssignable(ModelMBeanAttributeInterceptor.java:229) at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:88) at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76) at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) at org.jboss.mx.server.AbstractMBeanInvoker.setAttribute(AbstractMBeanInvoker.java:461) at org.jboss.mx.server.MBeanServerImpl.setAttribute(MBeanServerImpl.java:617) at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:166) ... 51 more 2009-10-02 16:31:26,935 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] (main) deploy, ctxPath=/testwar 2009-10-02 16:31:26,998 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS IN ERROR: Deployment "vfszip:/D:/projects/jboss-5.1.0.GA/server/default/deploy/mad.war/" is in error due to the following reason(s): javax.management.InvalidAttributeValueException: Set attribute has class class javax.management.ObjectName loaded from null that is not assignable to attribute class class javax.management.ObjectName loaded from BaseClassLoader at d99967{vfszip:/D:/projects/jboss-5.1.0.GA/server/default/deploy/mad.war/} 2009-10-02 16:31:27,014 INFO [org.apache.coyote.http11.Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 2009-10-02 16:31:27,029 INFO [org.apache.coyote.ajp.AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 2009-10-02 16:31:27,045 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 1m:17s:540ms I use webwork 2.2.4. I don't have idea to resolve this, I need help . Best regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258432#4258432 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258432 From do-not-reply at jboss.com Fri Oct 2 11:16:19 2009 From: do-not-reply at jboss.com (oenyinna) Date: Fri, 2 Oct 2009 11:16:19 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Connection handle has been closed and is unusable Message-ID: <28546875.1254496579374.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm trying to keep a jdbc connection open between method calls but it seems to close automatically. How can I keep it open? I'm using Jboss 4.0.5. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258433#4258433 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258433 From do-not-reply at jboss.com Fri Oct 2 11:21:15 2009 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 2 Oct 2009 11:21:15 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <28263519.1254496875714.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> One more thing. I noticed you wrote that you downloaded jboss-5.1.0.GA.zip. That download is for use with JDK 1.5, but you are using JDK 6. Go back to the downloads page and get jboss-5.1.0.GA-jdk6.zip - that one is for use with JDK 6. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258434#4258434 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258434 From do-not-reply at jboss.com Fri Oct 2 11:22:04 2009 From: do-not-reply at jboss.com (nagavijay) Date: Fri, 2 Oct 2009 11:22:04 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: issues with seting up jboss windows serivces. Message-ID: <1917715.1254496924012.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yes I ran the service.bat as "Run as a Adminstration". After running as adminstration I do not see the service installed on window services. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258435#4258435 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258435 From do-not-reply at jboss.com Fri Oct 2 11:29:39 2009 From: do-not-reply at jboss.com (roman.mandeleil@gmail.com) Date: Fri, 2 Oct 2009 11:29:39 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - ClusteredConnectionFactory Message-ID: <2990160.1254497379195.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I try to cook load balancing through JMS connection factory here is two questions to the pros: 1) When I use it from the stand alone it really works, which means it creates connection to each node in it's turn. The question is when I get the object - JBossConnectionFactory I see it encapsulates ClientClusteredConnectionFactoryDelegate object which is reasonable but the data member supportLoadBalancing is false, the question is why ? 2) The second question is when I try the same stuff not from the stand alone to a server but from server to server it doesn't work the connection been created each time to one node despite the fact there is two nodes in the cluster, again the question is what can be the problem ? Here is all the details: I am using JBoss 5.1 GA all - configuration, two nodes - ports binding 02 and 03. on the client here is the code that gets the factory and creates the connection: | Connection connection = null; | InitialContext initialContext = null; | | | Hashtable jndiParameters = new Hashtable(); | jndiParameters.put("java.naming.provider.url", "127.0.0.1:1300,127.0.0.1:1400"); | jndiParameters.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); | jndiParameters.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces"); | | | initialContext = new InitialContext(jndiParameters); | | Queue queue = (Queue) initialContext.lookup("/queue/DLQ"); | | ConnectionFactory cf = (ConnectionFactory) initialContext | .lookup("/ClusteredConnectionFactory"); | | for (Integer i = 0; true; i++) { | try { | | | connection = cf.createConnection(); | | Session session = connection.createSession(false, | Session.AUTO_ACKNOWLEDGE); | MessageProducer producer = session.createProducer(queue); | | String myString = new String(i.toString()); | ObjectMessage objectMessage = session.createObjectMessage(myString); | | producer.send(objectMessage); | | } catch (Throwable th){ | | th.printStackTrace(); | continue; | | } finally { | if (connection != null) { | connection.close(); | } | } | } | } | | on the server I use the same principle. Thanks in advance Roman View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258436#4258436 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258436 From do-not-reply at jboss.com Fri Oct 2 11:31:05 2009 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 2 Oct 2009 11:31:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Unauthenticated caller null N sqlException Message-ID: <13634197.1254497465801.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You are going to have to do some debugging to find out why you are getting the class cast exception. You will need at least the sources for crimson and for the JDK (specifically the source for javax.xml.parsers.SAXParserFactory). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258437#4258437 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258437 From do-not-reply at jboss.com Fri Oct 2 11:35:40 2009 From: do-not-reply at jboss.com (souma) Date: Fri, 2 Oct 2009 11:35:40 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - Re: PLEASE answer me I really need your help Message-ID: <21584798.1254497740168.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Merci beaucoup(thank you very much) ... it work:) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258438#4258438 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258438 From do-not-reply at jboss.com Fri Oct 2 11:42:34 2009 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 2 Oct 2009 11:42:34 -0400 (EDT) Subject: [jboss-user] [Persistence] - Re: How to get an EntityManager or EntityManagerFactory usin Message-ID: <7140532.1254498154878.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You can use the JNVIView mbean to see all of the names in JNDI. http://www.jboss.org/community/wiki/DisplayTheJNDITreeWithTheJMXConsole View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258439#4258439 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258439 From do-not-reply at jboss.com Fri Oct 2 11:47:22 2009 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 2 Oct 2009 11:47:22 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: issues with seting up jboss windows serivces. Message-ID: <18576311.1254498442085.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Just to be clear, when I ran "service.bat install" in a command prompt, the service did not get registered. But when I ran "service.bat install" in a command prompt opened using "Run as Administrator", the service did get registered. This was in Server 2008. Therefore, I have to assume that there is something else wrong. Go into the service.bat file and comment out the "echo off" statement and run it again. Post the command and all of the output. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258440#4258440 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258440 From do-not-reply at jboss.com Fri Oct 2 11:58:58 2009 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 2 Oct 2009 11:58:58 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Problem WAR deploy (jboss-5.1.0.GA) Message-ID: <1221338.1254499138212.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : Caused by: javax.management.InvalidAttributeValueException: Set attribute has class class javax.management.ObjectName loaded from null that is not assignable to attribute class class javax.management.ObjectName loaded from BaseClassLoader at d99967{vfszip:/D:/projects/jboss-5.1.0.GA/server/default/deploy/mad.war/} Are you packaging any jar files containing javax.management.* classes? If yes remove those jars from your application packaging. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258443#4258443 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258443 From do-not-reply at jboss.com Fri Oct 2 12:06:37 2009 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 2 Oct 2009 12:06:37 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Defining classloading rules explicitly (through jboss-cl Message-ID: <17062706.1254499597733.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "cdivita" wrote : | | So I tried to add the file jboss-classloading.xml to directory WEB-INF/lib to my WAR, The jboss-classloading.xml file should be placed in WEB-INF folder and not in WEB-INF/lib. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258445#4258445 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258445 From do-not-reply at jboss.com Fri Oct 2 12:06:50 2009 From: do-not-reply at jboss.com (KevinNCSU) Date: Fri, 2 Oct 2009 12:06:50 -0400 (EDT) Subject: [jboss-user] [Security] - SPNEGO JAAS CallBackHandler? Message-ID: <29511469.1254499610409.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm writing a thick java client application which interfaces with a JBOSS 5.1 back-end. For one deployment a SPNEGO Login module is used. I've had success before autheticating to LDAP login modules using the UsernamePasswordCallbackHandler but when I tried to use this to authenticate to SPNEGO a null pointer was thrown. I've been searching around for a callbackhandler specific to SPNEGO but have been unable to find one, does anyone know if such a thing exists or if not, can you point me in the right direction for authenticating to SPNEGO using a thick java client? UsernamePasswordHandler handler = new UsernamePasswordHandler(username, | password); | | LoginContext lc = new LoginContext("SPNEGO", handler); | lc.login(); javax.security.auth.login.LoginException: java.lang.NullPointerException | at org.jboss.security.negotiation.spnego.SPNEGOLoginModule.login(SPNEGOLoginModule.java:106) | 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:597) | at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) | at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) | at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) | at java.security.AccessController.doPrivileged(Native Method) | at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) | at javax.security.auth.login.LoginContext.login(LoginContext.java:579) | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258446#4258446 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258446 From do-not-reply at jboss.com Fri Oct 2 12:14:43 2009 From: do-not-reply at jboss.com (matjohn) Date: Fri, 2 Oct 2009 12:14:43 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Problem WAR deploy (jboss-5.1.0.GA) Message-ID: <19873835.1254500083298.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I don't have jar files containing javax.management.* . Few minutes ago, I try to deploy same WAR at "jboss-4.2.3.GA" and it work properly !! Is it a bug for 5.1.0 version ? Thanks for the help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258447#4258447 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258447 From do-not-reply at jboss.com Fri Oct 2 12:16:20 2009 From: do-not-reply at jboss.com (kmasood) Date: Fri, 2 Oct 2009 12:16:20 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - custom error pages for all applications? Message-ID: <4514044.1254500180471.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I'm looking for guidance on configuring custom error pages in our JBoss App Server across *all* the applications. For e.g, lets say we have 4 applications running under jboss. I know how to configure error pages per application, but I would like to configure them in a central place and have them take effect in all 4. I found some resources for configuring error pages per application (http://it.amid.com/2009/03/06/custom-404-page-using-jboss/), but none that could suggest configuring them across all applications. Any ideas? Thanks! KM View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258449#4258449 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258449 From do-not-reply at jboss.com Fri Oct 2 12:20:11 2009 From: do-not-reply at jboss.com (Fuchs) Date: Fri, 2 Oct 2009 12:20:11 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Developing an automatic service Message-ID: <18469244.1254500411855.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I am using JBP 2.7.2 and I would like to know, how I could execute an automatic service. This service should start every month without human activity. Should I develop a new JBoss module or what you think I could do? Any pointers will be greatly appreciated. Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258451#4258451 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258451 From do-not-reply at jboss.com Fri Oct 2 12:32:56 2009 From: do-not-reply at jboss.com (nagavijay) Date: Fri, 2 Oct 2009 12:32:56 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: issues with seting up jboss windows serivces. Message-ID: <13112780.1254501176375.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks peter now the services got registered. Previously I was running service.bat by clicking running as adminstration. Now I made setting to my command prompt and after running the service.bat then i see the services registered. Again Thanks for all your help. Vijay View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258457#4258457 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258457 From do-not-reply at jboss.com Fri Oct 2 12:49:09 2009 From: do-not-reply at jboss.com (jprio) Date: Fri, 2 Oct 2009 12:49:09 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: @Resource and systemproperties-service.xml Message-ID: <31561679.1254502149012.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanx for the answer. Looks like it works ! The only remaining little problem is that we used to have a per-webapp systemproperties-service, which seems not to be possible anymore. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258458#4258458 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258458 From do-not-reply at jboss.com Fri Oct 2 12:54:07 2009 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 2 Oct 2009 12:54:07 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: custom error pages for all applications? Message-ID: <22665125.1254502447969.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The global web.xml is located at server/xxx/deployers/jbossweb.deployer, you can specify them there. And you will probably want to place the HTML pages in server/xxx/deploy/ROOT.war. P.S. You never said with version of JBoss AS so I assume the latest (5.x). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258460#4258460 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258460 From do-not-reply at jboss.com Fri Oct 2 12:59:28 2009 From: do-not-reply at jboss.com (Marcos_APS) Date: Fri, 2 Oct 2009 12:59:28 -0400 (EDT) Subject: [jboss-user] [Persistence] - Re: How to get an EntityManager or EntityManagerFactory usin Message-ID: <15441479.1254502768979.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "PeterJ" wrote : You can use the JNVIView mbean to see all of the names in JNDI. | http://www.jboss.org/community/wiki/DisplayTheJNDITreeWithTheJMXConsole | I have done some research on this topic and I had to do this to get an EntityManagerFactory using JNDI: In my persistence.xml: | | | | Now I can use the code: | EntityManagerFactory emf = (EntityManagerFactory) new InitialContext().lookup( | "java:/persistence/solicitacoes"); | EntityManager em = emf.createEntityManager(); | Is this the "official" way or is there a simple one? Marcos View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258463#4258463 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258463 From do-not-reply at jboss.com Fri Oct 2 13:40:04 2009 From: do-not-reply at jboss.com (s3filho) Date: Fri, 2 Oct 2009 13:40:04 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Soap Attachment causes OutOfMemoryError Message-ID: <10009264.1254505204463.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello Everyone, I am building a Web Services that will receive a file attachment in its message. I used the DataHandler classe and the specified annotations (@XmlAttachmentRef) and it worked prety fine. The problem is that when the file to be transmited is really big (more than 100MB, for example) the Client throws an java.lang.OutOfMemoryError, and I belive it does that before even start sending the message. My Client code is: | SignerService service = new SignerService(); | Signer signer = service.getSignerPort(); | | BindingProvider bp = (BindingProvider)signer; | Binding binding = bp.getBinding(); | ((SOAPBinding)binding).setMTOMEnabled(true); | | String path = "..."; //My file path | | MyDocument doc = new MyDocument(); | FileDataSource dataSource = new FileDataSource(path); | doc.setDataHandler(new DataHandler(dataSource)); | | signer.sendDoc(doc); | Where MyDocument is: | @XmlAccessorType(XmlAccessType.FIELD) | @XmlType(name = "myDocument", propOrder = { | "dataHandler" | }) | public class MyDocument { | | @XmlElement(type = String.class) | @XmlAttachmentRef | protected DataHandler dataHandler; | | public DataHandler getDataHandler() { | return dataHandler; | } | public void setDataHandler(DataHandler value) { | this.dataHandler = value; | } | } | The stack trace is: | Exception in thread "main" java.lang.OutOfMemoryError: Java heap space | at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:95) | at sun.net.www.http.PosterOutputStream.write(PosterOutputStream.java:61) | at javax.activation.DataHandler.writeTo(DataHandler.java:308) | at com.sun.xml.ws.message.DataHandlerAttachment.writeTo(DataHandlerAttachment.java:110) | at com.sun.xml.ws.encoding.MtomCodec.writeAttachments(MtomCodec.java:216) | at com.sun.xml.ws.encoding.MtomCodec.encode(MtomCodec.java:167) | at com.sun.xml.ws.encoding.SOAPBindingCodec.encode(SOAPBindingCodec.java:258) | at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:142) | at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:86) | at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595) | at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554) | at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539) | at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436) | at com.sun.xml.ws.client.Stub.process(Stub.java:248) | at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135) | at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) | at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) | at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118) | at $Proxy29.sendDoc(Unknown Source) | ... | Increasing the Java heap space of Client (to 256MB) does resolve the problem for that file but if I try sending a bigger file (500MB) the Error comes back. Since I can't limit a file size to my system, increasing the heap space is only a workaround. It seems that the whole file is being loaded into the memory heap and I though DataHandler class and MTMO property were to address this memory problem, by using cache and flushing routines. Is there anyway to assure that my file will be sent regardless of its size? Thank you very much View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258467#4258467 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258467 From do-not-reply at jboss.com Fri Oct 2 13:59:50 2009 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 2 Oct 2009 13:59:50 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Problem WAR deploy (jboss-5.1.0.GA) Message-ID: <32898877.1254506390936.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Post the output of jar -tf mad.war I am mainly interested in the jar files packaged in that application. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258473#4258473 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258473 From do-not-reply at jboss.com Fri Oct 2 14:05:27 2009 From: do-not-reply at jboss.com (freiburger) Date: Fri, 2 Oct 2009 14:05:27 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Problem retrieving activities from history Message-ID: <16959915.1254506727831.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok thanks, I've voted for it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258474#4258474 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258474 From do-not-reply at jboss.com Fri Oct 2 14:11:28 2009 From: do-not-reply at jboss.com (benzeman) Date: Fri, 2 Oct 2009 14:11:28 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <15119295.1254507088112.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank PeterJ. i am just configuration Jboss to run on eclipse and update Jboss tool for eclipse . But i can not create project with seam 1.2 from eclipse updating when new project is create . look like i miss seam runtime ? How can i create web dynamic project with seam 1.2 on eclipse? [img]http://up.anhso.net/upload/20091003/01/o/anhso-21_create_seam.jpg[/img] thank in advance.[/url] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258475#4258475 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258475 From do-not-reply at jboss.com Fri Oct 2 14:35:29 2009 From: do-not-reply at jboss.com (kmasood) Date: Fri, 2 Oct 2009 14:35:29 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: custom error pages for all applications? Message-ID: <4724907.1254508529124.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Peter, Thank you for the reply. I am using version 4.2.3 and I have successfully added the error-page tag in web.xml in server/all/deploy/jboss-web.deployer/ROOT.war/WEB-INF/ When I go to http://host:8080/blablah, I see the customized 404 page. However, when I go to http://host:8080/app1/blablah or http://host:8080/app2/blablah, etc, I get the standard JBoss error. I think I am almost there, and missing an obvious step, but easy step ... any ideas? KM View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258478#4258478 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258478 From do-not-reply at jboss.com Fri Oct 2 15:16:45 2009 From: do-not-reply at jboss.com (vishnukn) Date: Fri, 2 Oct 2009 15:16:45 -0400 (EDT) Subject: [jboss-user] [MQ] - Re: Weird behavior with ping timeouts Message-ID: <11066519.1254511005638.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> in my case , my jboss is not in clustered, but why should it need to do the ping and pong, is there some thing i need to do in the configuration to stop this. | 2009-10-02 03:04:53,140 WARN [org.jboss.mq.Connection] Connection failure, use javax.jms.Connection.setExceptionListener() to handle this error and reconnect | org.jboss.mq.SpyJMSException: No pong received; - nested throwable: (java.io.IOException: ping timeout.) | at org.jboss.mq.Connection$PingTask.run(Connection.java:1277) | at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.io.IOException: ping timeout. | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258484#4258484 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258484 From do-not-reply at jboss.com Fri Oct 2 15:42:27 2009 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 2 Oct 2009 15:42:27 -0400 (EDT) Subject: [jboss-user] [Persistence] - Re: How to get an EntityManager or EntityManagerFactory usin Message-ID: <24295679.1254512547865.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yes, that is the official way. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258486#4258486 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258486 From do-not-reply at jboss.com Fri Oct 2 15:47:04 2009 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 2 Oct 2009 15:47:04 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <13435118.1254512824196.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Looks like you need to click Add next to the Seam Runtime text field and let Eclipse know where Seam is located. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258488#4258488 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258488 From do-not-reply at jboss.com Fri Oct 2 15:49:32 2009 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 2 Oct 2009 15:49:32 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: custom error pages for all applications? Message-ID: <19148762.1254512972238.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Wrong web.xml file - the one you edited is specific to the ROOT application. You need to edit the global web.xml file. In 4.2.x it is located at server/xxx/deploy/jboss-web.deployer/conf. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258489#4258489 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258489 From do-not-reply at jboss.com Fri Oct 2 16:19:13 2009 From: do-not-reply at jboss.com (bdamato) Date: Fri, 2 Oct 2009 16:19:13 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - More ServiceBindingSet questions Message-ID: <10785276.1254514753306.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I've got a jboss server that's running behind an apache web server, so I have the HTTP and HTTPS connectors disabled in jbossweb.sar/server.xml. Only AJP is running: | | I'm using the port offset feature in bindingservice.beans/META-INF/bindings-jboss-beans.xml to handle the ports. Everything is working properly, except that when I hit a secured web page, jboss is redirecting me to port 9143 instead of 8443 (port offset is 700). This is my config: | | | | | CouponEngineBindings | | ${jboss.bind.address} | | 700 | | | | | | | | | | Any ideas on how I make tomcat redirect HTTPS requests to the correct port? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258492#4258492 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258492 From do-not-reply at jboss.com Fri Oct 2 17:18:34 2009 From: do-not-reply at jboss.com (adorandish) Date: Fri, 2 Oct 2009 17:18:34 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Failed to create a new SAX parser Message-ID: <32159674.1254518314688.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> have you figured out the problem yet? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258499#4258499 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258499 From do-not-reply at jboss.com Fri Oct 2 17:18:45 2009 From: do-not-reply at jboss.com (b.eckenfels) Date: Fri, 2 Oct 2009 17:18:45 -0400 (EDT) Subject: [jboss-user] [MQ] - Re: Weird behavior with ping timeouts Message-ID: <15530841.1254518325231.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> First of all, you abolsutely must register an error listener if you want to recover from problems. Usual reasons for this pong timeout are: - long garbage collection times in one of the participating JVMs - delays in the database when you use jdbc persistence - network problems - os virtualization freezes (like vmotion) Greetings Bernd View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258500#4258500 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258500 From do-not-reply at jboss.com Fri Oct 2 17:26:01 2009 From: do-not-reply at jboss.com (clebert.suconic@jboss.com) Date: Fri, 2 Oct 2009 17:26:01 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: ClusteredConnectionFactory Message-ID: <5759245.1254518761849.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If you are inside the server, it will always connect to that same server. You can enable load balancing on the CF used by the Resource Adapter, but it would become a mess. As you have MDBs and other Beans, you will have other things controlling balancing for you. For instance as you get traffic on nodeA on a HTTPServer, you use most of the load on that node. If you mix up load balancing on the server side you will actually hurt performance instead. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258502#4258502 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258502 From do-not-reply at jboss.com Fri Oct 2 18:12:43 2009 From: do-not-reply at jboss.com (roman.mandeleil@gmail.com) Date: Fri, 2 Oct 2009 18:12:43 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: ClusteredConnectionFactory Message-ID: <5371281.1254521563883.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I think I am over that issue, the problem was that when I look-up from the server to ClusterConnectionFactory it actually gives me the local instance and it doesn't matter what addresses been mentioned in the java.naming.provider.url. So I have solved that problem by creating another CF on the distant cluster with different JNDI binding. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258505#4258505 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258505 From do-not-reply at jboss.com Fri Oct 2 18:48:18 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Fri, 2 Oct 2009 18:48:18 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Farm deployment errors with large WAR files Message-ID: <6479601.1254523698790.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I've commented on the JIRA, but will go into a bit more detail here. First, the logs you sent me, Adam, showed the file that was being farmed was actually "xxx.ear.filepart" not "xxx.ear". From that I believe you were using a tool (perhaps WinSCP?) to upload the file directly to the farm directory. That's a lengthy enough operation that the hot deployment scanner ran in the middle. Hence my recommendation on the JIRA to stop the hot deployment scanner thread before doing lengthy I/O operations. The scanner can be stopped by invoking the JMX stop() operation on the jboss.deployment:flavor=URL,type=DeploymentScanner MBean. This can be done via the jmx-console or via the twiddle utility in $JBOSS_HOME/bin. I also you recommend you do your upload to a temp folder and then do a local copy into farm/. Otherwise if there is a failure during the upload you'll be leaving a corrupt file in farm/. Second, looking closely at the logs tells me that a very high percentage of messages JGroups is sending from the master are not being received on the child. This makes things go very slowly. You need to determine why there is such a high rate of loss on your network. Earlier in the thread we've discussed the OS maximum read buffer setting. You can also adjust the maximum write buffer. Note also that changes made via sysctl -w are not persistent across restarts; for persistent changes you need to edit /etc/sysctl.conf. If you can't eliminate the UDP packet losses, you might consider using a TCP stack, particularly if yours is a 2 node cluster, where there is no benefit from using IP multicast. If you can use IP multicast for the initial cluster discovery messages (which seems to be working fine) then it's very easy to configure the AS to use TCP for regular traffic, just add this to your command line arguments: -Djboss.default.jgroups.stack=tcp (Switching to TCP is a bit more complicated if IP multicast for discovery isn't an option.) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258506#4258506 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258506 From do-not-reply at jboss.com Fri Oct 2 22:17:37 2009 From: do-not-reply at jboss.com (alllle) Date: Fri, 2 Oct 2009 22:17:37 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: What is an invocation, and the related option override? Message-ID: <11595935.1254536257017.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for the reply! Your explanation makes sense, however, it seems conflict with sample in the [url=http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/3.2.0.GA/userguide_en/html_single/index.html#configuration.options]user guide section 3.4.1. (Overriding the Configuration via the Option API) [/url]. Will that be true that if the override is inside a transaction, the lock will be kept for the rest of the transaction? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258507#4258507 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258507 From do-not-reply at jboss.com Fri Oct 2 23:01:51 2009 From: do-not-reply at jboss.com (alllle) Date: Fri, 2 Oct 2009 23:01:51 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: What is an invocation, and the related option override? Message-ID: <25601970.1254538911084.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "mircea.markus" wrote : it only makes sense to use setForceWriteLock(true) on read. Normally when you do an cache.get(fqn) an read lock is aquired, but setting the forceWriteLock to true would force a write lock acquisition. when you do a put(fqn)(generally a write), a WL (write lock) is acquired so having the flag is redundant. As a general rule, the forceWriteLock only apply for one call, i.e. for one invocation. | tm.begin(); | | // force write lock even on read operations | | cache.getInvocationContext().getOptionOverrides().setForceWriteLock(true); | | | | // read node | | Object value = cache.get(myFqn, "key"); | | | | Object value = cache.get(myFqn2, "key"); | | | | tm.commit(); | | In this example a WL is acquired for myFqn and a RL is acquired for myFqn2 | | anonymous wrote : In other words, once I set the "setForceWriteLock(true)", all future cache related operations in this thread will see this option set to "true". No. Only the next call, after that the flag is cleaned. As mentioned in the previous post, an invocation is an call to the cache. I did a quick test and you are absolutely right. Just like what you pointed out in your sample code, after each read or write, the over write option is reset. This clears the confusion I had. Thanks! The reason for this post was that I'm trying to find a reliable way to do a "select for update" kind of operation in the new MVCC locking, i.e., a read followed by a write and the write value depends on the read result. Could you please comment on this thread? http://www.jboss.org/index.html?module=bb&op=viewtopic&t=161530&postdays=0&postorder=asc&start=0 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258508#4258508 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258508 From do-not-reply at jboss.com Sat Oct 3 00:35:39 2009 From: do-not-reply at jboss.com (sridhar1985) Date: Sat, 3 Oct 2009 00:35:39 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Failed to create a new SAX parser Message-ID: <4979006.1254544539673.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yes. I have deleted the xmlparserv2.jar which i really do not need. And i have removed the hibernate capabilities from my project which are adding xml... jars to my WAR file which are causing problem in jboss 5.1.0 GA. Jboss 5.1 contains xml jars already. So do not need them in your WAR. Sridhar. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258509#4258509 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258509 From do-not-reply at jboss.com Sat Oct 3 01:28:30 2009 From: do-not-reply at jboss.com (njrfrens) Date: Sat, 3 Oct 2009 01:28:30 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Diff response times at different times Message-ID: <1281107.1254547710897.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We have a strict SLA requirement that the reports should be displayed in 1 min max for a load of 500 users We are running a load test of 500 users on the application. We are getting different response times in different time intervals. The deviation is from 1 min. to 2 min. I want to understand why the application is giving huge diff. in response times at different time intervals. 1. Is it some thing because of garbage collection? If yes, how to analyze it? 2. Is it because of any memory leaks in the application? If yes, how to analyze it? Can you please help me regarding this? I'm setting the JVM Parameters Xms, -Xmx both to 1024. All the other parameters I'm leaving them as they are in \bin\run.bat View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258512#4258512 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258512 From do-not-reply at jboss.com Sat Oct 3 03:14:57 2009 From: do-not-reply at jboss.com (njrfrens) Date: Sat, 3 Oct 2009 03:14:57 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Diff response times at different times Message-ID: <7994654.1254554097230.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I tried with the below JVM Settings : set JAVA_OPTS=%JAVA_OPTS% -Xms1024m ???Xmx1024m ???XX:NewSize=300M ???XX:MaxNewSize=300M ???XX:SurvivorRatio=32 ???XX:+UseTLAB ???XX:TLABSize=64K But this settings didn't work well for me. With this setting, I observed that the response time is increased even more. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258516#4258516 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258516 From do-not-reply at jboss.com Sat Oct 3 08:36:21 2009 From: do-not-reply at jboss.com (benzeman) Date: Sat, 3 Oct 2009 08:36:21 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <9835762.1254573381332.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi PeterJ. thank your reply. That is question i wanted to ask you help me. Because i am install Jboss using eclipse by updating form the Jboss website . After i install Jboss that it download a lot of thing to entry plugin directory . I can specify where the Seam is located. Have you ever create Seam project ? To base on your work , What is the best method install Jboss? using eclipse to update Jboss or install directly from Jar file ? thank in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258529#4258529 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258529 From do-not-reply at jboss.com Sat Oct 3 09:55:23 2009 From: do-not-reply at jboss.com (iraevsky) Date: Sat, 3 Oct 2009 09:55:23 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Need help with install jboss 4.2.2 Message-ID: <23557442.1254578123826.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi guys!!! I have not a lot expirience in linux, but i need to install jboss to debian. so i unziped zip archive, and run "./rub.sh" it is going to start, but there is nothing after strings | 21:49:25,490 INFO [ServerInfo] OS-System: Linux 2.6.26-2-686,i386 | 21:49:26,475 INFO [Server] Core system initialized | and there is no access by web(localhost:8080), so think jboss as does not start. here is boot.log, please help me with this problem,thx | 21:49:23,334 INFO [Server] Starting JBoss (MX MicroKernel)... | 21:49:23,336 INFO [Server] Release ID: JBoss [Trinity] 4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139) | 21:49:23,337 DEBUG [Server] Using config: org.jboss.system.server.ServerConfigImpl at 181f00 | 21:49:23,337 DEBUG [Server] Server type: class org.jboss.system.server.ServerImpl | 21:49:23,337 DEBUG [Server] Server loaded through: org.jboss.system.server.NoAnnotationURLClassLoader | 21:49:23,337 DEBUG [Server] Boot URLs: | 21:49:23,337 DEBUG [Server] file:/usr/local/jboss-4.2.2.GA/lib/endorsed/serializer.jar | 21:49:23,337 DEBUG [Server] file:/usr/local/jboss-4.2.2.GA/lib/endorsed/xercesImpl.jar | 21:49:23,338 DEBUG [Server] file:/usr/local/jboss-4.2.2.GA/lib/endorsed/xalan.jar | 21:49:23,339 DEBUG [Server] file:/usr/local/jboss-4.2.2.GA/lib/jboss-jmx.jar | 21:49:23,339 DEBUG [Server] file:/usr/local/jboss-4.2.2.GA/lib/concurrent.jar | 21:49:23,339 DEBUG [Server] file:/usr/local/jboss-4.2.2.GA/lib/log4j-boot.jar | 21:49:23,339 DEBUG [Server] file:/usr/local/jboss-4.2.2.GA/lib/jboss-common.jar | 21:49:23,339 DEBUG [Server] file:/usr/local/jboss-4.2.2.GA/lib/jboss-system.jar | 21:49:23,339 DEBUG [Server] file:/usr/local/jboss-4.2.2.GA/lib/jboss-xml-binding.jar | 21:49:23,339 INFO [Server] Home Dir: /usr/local/jboss-4.2.2.GA | 21:49:23,340 INFO [Server] Home URL: file:/usr/local/jboss-4.2.2.GA/ | 21:49:23,340 DEBUG [Server] Library URL: file:/usr/local/jboss-4.2.2.GA/lib/ | 21:49:23,343 INFO [Server] Patch URL: null | 21:49:23,343 INFO [Server] Server Name: default | 21:49:23,344 INFO [Server] Server Home Dir: /usr/local/jboss-4.2.2.GA/server/default | 21:49:23,344 INFO [Server] Server Home URL: file:/usr/local/jboss-4.2.2.GA/server/default/ | 21:49:23,344 INFO [Server] Server Log Dir: /usr/local/jboss-4.2.2.GA/server/default/log | 21:49:23,345 DEBUG [Server] Server Data Dir: /usr/local/jboss-4.2.2.GA/server/default/data | 21:49:23,345 INFO [Server] Server Temp Dir: /usr/local/jboss-4.2.2.GA/server/default/tmp | 21:49:23,378 DEBUG [Server] Server Config URL: file:/usr/local/jboss-4.2.2.GA/server/default/conf/ | 21:49:23,378 DEBUG [Server] Server Library URL: file:/usr/local/jboss-4.2.2.GA/server/default/lib/ | 21:49:23,378 INFO [Server] Root Deployment Filename: jboss-service.xml | 21:49:23,390 DEBUG [Server] Starting General Purpose Architecture (GPA)... | 21:49:24,387 DEBUG [Server] Created MBeanServer: org.jboss.mx.server.MBeanServerImpl at 4173d8[ defaultDomain='jboss' ] | 21:49:24,736 DEBUG [Server] Boot url list: [file:/usr/local/jboss-4.2.2.GA/server/default/conf/] | 21:49:24,737 DEBUG [Server] Creating loader for URL: file:/usr/local/jboss-4.2.2.GA/server/default/conf/ | 21:49:24,757 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at ade10, cl=org.jboss.mx.loading.UnifiedClassLoader3 at a36f50{ url=file:/usr/local/jboss-4.2.2.GA/server/default/conf/ ,addedOrder=0} | 21:49:24,757 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at ade10, cl=org.jboss.mx.loading.UnifiedClassLoader3 at a36f50{ url=file:/usr/local/jboss-4.2.2.GA/server/default/conf/ ,addedOrder=0} | 21:49:24,758 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3 at a36f50{ url=file:/usr/local/jboss-4.2.2.GA/server/default/conf/ ,addedOrder=0} | 21:49:25,378 DEBUG [Server] Failed to create xmbean for: org.jboss.system.server.ServerInfo | 21:49:25,490 INFO [ServerInfo] Java version: 1.5.0,Free Software Foundation, Inc. | 21:49:25,490 INFO [ServerInfo] Java VM: GNU libgcj 4.3.2,Free Software Foundation, Inc. | 21:49:25,490 INFO [ServerInfo] OS-System: Linux 2.6.26-2-686,i386 | 21:49:25,491 DEBUG [ServerInfo] Full System Properties Dump | 21:49:25,491 DEBUG [ServerInfo] jboss.server.base.dir: /usr/local/jboss-4.2.2.GA/server | 21:49:25,491 DEBUG [ServerInfo] java.protocol.handler.pkgs: org.jboss.net.protocol | 21:49:25,491 DEBUG [ServerInfo] jboss.server.lib.url: file:/usr/local/jboss-4.2.2.GA/server/default/lib/ | 21:49:25,491 DEBUG [ServerInfo] path.separator: : | 21:49:25,492 DEBUG [ServerInfo] java.vm.name: GNU libgcj | 21:49:25,492 DEBUG [ServerInfo] jboss.server.data.dir: /usr/local/jboss-4.2.2.GA/server/default/data | 21:49:25,492 DEBUG [ServerInfo] program.name: run.sh | 21:49:25,492 DEBUG [ServerInfo] java.vm.specification.name: Java(tm) Virtual Machine Specification | 21:49:25,492 DEBUG [ServerInfo] jboss.server.base.url: file:/usr/local/jboss-4.2.2.GA/server/ | 21:49:25,492 DEBUG [ServerInfo] java.runtime.version: 1.5.0 | 21:49:25,492 DEBUG [ServerInfo] java.home: /usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/jre | 21:49:25,493 DEBUG [ServerInfo] java.vm.specification.version: 1.0 | 21:49:25,493 DEBUG [ServerInfo] jboss.server.name: default | 21:49:25,493 DEBUG [ServerInfo] java.endorsed.dirs: /usr/local/jboss-4.2.2.GA/lib/endorsed | 21:49:25,493 DEBUG [ServerInfo] line.separator: | | 21:49:25,493 DEBUG [ServerInfo] jbossmx.loader.repository.class: org.jboss.mx.loading.UnifiedLoaderRepository3 | 21:49:25,493 DEBUG [ServerInfo] java.vm.specification.vendor: Sun Microsystems Inc. | 21:49:25,494 DEBUG [ServerInfo] gnu.classpath.home.url: file:///usr/lib | 21:49:25,494 DEBUG [ServerInfo] gnu.gcj.progname: org.jboss.Main | 21:49:25,494 DEBUG [ServerInfo] gnu.classpath.version: 0.95 | 21:49:25,494 DEBUG [ServerInfo] jboss.bind.address: 127.0.0.1 | 21:49:25,494 DEBUG [ServerInfo] jboss.server.temp.dir: /usr/local/jboss-4.2.2.GA/server/default/tmp | 21:49:25,494 DEBUG [ServerInfo] java.specification.version: 1.5 | 21:49:25,494 DEBUG [ServerInfo] jboss.home.dir: /usr/local/jboss-4.2.2.GA | 21:49:25,495 DEBUG [ServerInfo] gnu.java.util.zoneinfo.dir: /usr/share/zoneinfo | 21:49:25,495 DEBUG [ServerInfo] java.library.path: /usr/lib/../lib/gcj-4.3-90:/usr/lib/jni | 21:49:25,495 DEBUG [ServerInfo] gnu.classpath.vm.shortname: libgcj | 21:49:25,495 DEBUG [ServerInfo] jboss.server.home.dir: /usr/local/jboss-4.2.2.GA/server/default | 21:49:25,495 DEBUG [ServerInfo] java.net.preferIPv4Stack: true | 21:49:25,495 DEBUG [ServerInfo] java.class.version: 49.0 | 21:49:25,495 DEBUG [ServerInfo] java.specification.name: Java(tm) Platform API Specification | 21:49:25,496 DEBUG [ServerInfo] jboss.server.config.url: file:/usr/local/jboss-4.2.2.GA/server/default/conf/ | 21:49:25,496 DEBUG [ServerInfo] jboss.home.url: file:/usr/local/jboss-4.2.2.GA/ | 21:49:25,496 DEBUG [ServerInfo] os.version: 2.6.26-2-686 | 21:49:25,496 DEBUG [ServerInfo] gnu.classpath.home: /usr | 21:49:25,496 DEBUG [ServerInfo] user.home: /home/ilya | 21:49:25,496 DEBUG [ServerInfo] file.encoding: UTF-8 | 21:49:25,496 DEBUG [ServerInfo] jboss.server.home.url: file:/usr/local/jboss-4.2.2.GA/server/default/ | 21:49:25,496 DEBUG [ServerInfo] os.name: Linux | 21:49:25,497 DEBUG [ServerInfo] jboss.server.log.dir: /usr/local/jboss-4.2.2.GA/server/default/log | 21:49:25,497 DEBUG [ServerInfo] java.class.path: /usr/local/jboss-4.2.2.GA/bin/run.jar | 21:49:25,497 DEBUG [ServerInfo] user.name: ilya | 21:49:25,497 DEBUG [ServerInfo] java.io.tmpdir: /tmp | 21:49:25,497 DEBUG [ServerInfo] sun.rmi.dgc.server.gcInterval: 3600000 | 21:49:25,497 DEBUG [ServerInfo] jboss.lib.url: file:/usr/local/jboss-4.2.2.GA/lib/ | 21:49:25,498 DEBUG [ServerInfo] os.arch: i386 | 21:49:25,498 DEBUG [ServerInfo] java.fullversion: GNU libgcj 4.3.2 | 21:49:25,498 DEBUG [ServerInfo] java.specification.vendor: Sun Microsystems Inc. | 21:49:25,498 DEBUG [ServerInfo] user.language: ru | 21:49:25,498 DEBUG [ServerInfo] user.dir: /home/ilya | 21:49:25,498 DEBUG [ServerInfo] java.vm.info: GNU libgcj 4.3.2 | 21:49:25,498 DEBUG [ServerInfo] java.version: 1.5.0 | 21:49:25,498 DEBUG [ServerInfo] java.ext.dirs: /usr/share/java/ext | 21:49:25,499 DEBUG [ServerInfo] gnu.gcj.user.realname: ilya,,, | 21:49:25,499 DEBUG [ServerInfo] sun.boot.class.path: /usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/jre/lib/rt.jar | 21:49:25,499 DEBUG [ServerInfo] java.vendor: Free Software Foundation, Inc. | 21:49:25,499 DEBUG [ServerInfo] java.vendor.url: http://gcc.gnu.org/java/ | 21:49:25,499 DEBUG [ServerInfo] java.vm.vendor: Free Software Foundation, Inc. | 21:49:25,499 DEBUG [ServerInfo] file.separator: / | 21:49:25,500 DEBUG [ServerInfo] sun.rmi.dgc.client.gcInterval: 3600000 | 21:49:25,500 DEBUG [ServerInfo] javax.management.builder.initial: org.jboss.mx.server.MBeanServerBuilderImpl | 21:49:25,500 DEBUG [ServerInfo] java.vm.version: 4.3.2 | 21:49:25,500 DEBUG [ServerInfo] java.rmi.server.hostname: 127.0.0.1 | 21:49:25,500 DEBUG [ServerInfo] http.agent: gnu-classpath/0.95 (libgcj/4.3.2) | 21:49:25,500 DEBUG [ServerInfo] gnu.cpu.endian: little | 21:49:25,500 DEBUG [ServerInfo] gnu.gcj.precompiled.db.path: /var/lib/gcj-4.3/classmap.db | 21:49:25,501 DEBUG [ServerInfo] user.region: RU | 21:49:25,501 DEBUG [ServerInfo] gnu.gcj.runtime.endorsed.dirs: /usr/share/java/gcj-endorsed | 21:49:25,656 DEBUG [Server] Created system MBean: jboss.system:type=ServerInfo | 21:49:25,685 DEBUG [Server] Failed to create xmbean for: org.jboss.system.ServiceController | 21:49:25,849 DEBUG [ServiceController] Controller MBean online | 21:49:25,859 DEBUG [Server] Created system MBean: jboss.system:service=ServiceController | 21:49:25,902 DEBUG [Server] Failed to create xmbean for: org.jboss.deployment.MainDeployer | 21:49:26,070 DEBUG [Server] Created system MBean: jboss.system:service=MainDeployer | 21:49:26,071 DEBUG [ServiceController] Creating service jboss.system:service=MainDeployer | 21:49:26,097 DEBUG [MainDeployer] Creating jboss.system:service=MainDeployer | 21:49:26,136 DEBUG [MainDeployer] Created jboss.system:service=MainDeployer | 21:49:26,136 DEBUG [ServiceController] Creating dependent components for: jboss.system:service=MainDeployer dependents are: [] | 21:49:26,137 DEBUG [ServiceController] starting service jboss.system:service=MainDeployer | 21:49:26,137 DEBUG [MainDeployer] Starting jboss.system:service=MainDeployer | 21:49:26,138 DEBUG [MainDeployer] Started jboss.system:service=MainDeployer | 21:49:26,138 DEBUG [ServiceController] Starting dependent components for: jboss.system:service=MainDeployer dependent components: [] | 21:49:26,143 DEBUG [Server] Shutdown hook added | 21:49:26,220 DEBUG [Server] Failed to create xmbean for: org.jboss.deployment.JARDeployer | 21:49:26,318 DEBUG [Server] Created system MBean: jboss.system:service=JARDeployer | 21:49:26,318 DEBUG [ServiceController] Creating service jboss.system:service=JARDeployer | 21:49:26,321 DEBUG [JARDeployer] Creating jboss.system:service=JARDeployer | 21:49:26,335 DEBUG [JARDeployer] Created jboss.system:service=JARDeployer | 21:49:26,335 DEBUG [ServiceController] Creating dependent components for: jboss.system:service=JARDeployer dependents are: [] | 21:49:26,335 DEBUG [ServiceController] starting service jboss.system:service=JARDeployer | 21:49:26,336 DEBUG [JARDeployer] Starting jboss.system:service=JARDeployer | 21:49:26,336 DEBUG [MainDeployer] Adding deployer: org.jboss.deployment.JARDeployer at 5ece40 | 21:49:26,337 DEBUG [MainDeployer] jboss.system:service=JARDeployer does not support EnhancedSuffixes | 21:49:26,338 DEBUG [JARDeployer] Started jboss.system:service=JARDeployer | 21:49:26,338 DEBUG [ServiceController] Starting dependent components for: jboss.system:service=JARDeployer dependent components: [] | 21:49:26,353 DEBUG [Server] Failed to create xmbean for: org.jboss.deployment.SARDeployer | 21:49:26,452 DEBUG [Server] Created system MBean: jboss.system:service=ServiceDeployer | 21:49:26,452 DEBUG [ServiceController] Creating service jboss.system:service=ServiceDeployer | 21:49:26,457 DEBUG [SARDeployer] Creating jboss.system:service=ServiceDeployer | 21:49:26,463 DEBUG [SARDeployer] Created jboss.system:service=ServiceDeployer | 21:49:26,463 DEBUG [ServiceController] Creating dependent components for: jboss.system:service=ServiceDeployer dependents are: [] | 21:49:26,463 DEBUG [ServiceController] starting service jboss.system:service=ServiceDeployer | 21:49:26,464 DEBUG [SARDeployer] Starting jboss.system:service=ServiceDeployer | 21:49:26,464 DEBUG [MainDeployer] Adding deployer: org.jboss.deployment.SARDeployer at 181300 | 21:49:26,475 DEBUG [SARDeployer] Started jboss.system:service=ServiceDeployer | 21:49:26,475 DEBUG [ServiceController] Starting dependent components for: jboss.system:service=ServiceDeployer dependent components: [] | 21:49:26,475 INFO [Server] Core system initialized | 21:49:26,502 DEBUG [MainDeployer] Starting deployment of package: file:/usr/local/jboss-4.2.2.GA/server/default/conf/jboss-service.xml | 21:49:26,503 DEBUG [MainDeployer] Starting deployment (init step) of package at: file:/usr/local/jboss-4.2.2.GA/server/default/conf/jboss-service.xml | 21:49:26,503 DEBUG [MainDeployer] Copying file:/usr/local/jboss-4.2.2.GA/server/default/conf/jboss-service.xml -> /usr/local/jboss-4.2.2.GA/server/default/tmp/deploy/tmppmtdxjjboss-service.xml | 21:49:26,534 DEBUG [MainDeployer] using deployer org.jboss.deployment.SARDeployer at 181300 | 21:49:26,988 DEBUG [SARDeployer] Found classpath element: [classpath: null] | 21:49:26,998 DEBUG [SARDeployer] codebase URL is file:/usr/local/jboss-4.2.2.GA/server/default/lib/ | 21:49:26,998 DEBUG [SARDeployer] listing codebase for archives matching * | 21:49:27,024 DEBUG [SARDeployer] URLLister class is org.jboss.net.protocol.file.FileURLLister | 21:49:27,076 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/ejb3-persistence.jar | 21:49:27,076 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/hsqldb-plugin.jar | 21:49:27,076 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/bcel.jar | 21:49:27,076 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jbossws-framework.jar | 21:49:27,076 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-cache-jdk50.jar | 21:49:27,077 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/commons-codec.jar | 21:49:27,077 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/bindingservice-plugin.jar | 21:49:27,077 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/activation.jar | 21:49:27,077 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jbossjta-integration.jar | 21:49:27,077 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jnpserver.jar | 21:49:27,077 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-saaj.jar | 21:49:27,077 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/commons-collections.jar | 21:49:27,078 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/cglib.jar | 21:49:27,078 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-srp.jar | 21:49:27,078 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/scheduler-plugin-example.jar | 21:49:27,078 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/hibernate-entitymanager.jar | 21:49:27,078 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jaxen.jar | 21:49:27,078 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-ejb3x.jar | 21:49:27,079 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/mail.jar | 21:49:27,079 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/servlet-api.jar | 21:49:27,079 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/el-api.jar | 21:49:27,079 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/joesnmp.jar | 21:49:27,079 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/scheduler-plugin.jar | 21:49:27,079 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-common-jdbc-wrapper.jar | 21:49:27,079 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jpl-util.jar | 21:49:27,080 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/antlr.jar | 21:49:27,080 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/javassist.jar | 21:49:27,080 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/mail-plugin.jar | 21:49:27,080 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jmx-adaptor-plugin.jar | 21:49:27,080 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-vfs.jar | 21:49:27,080 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jpl-pattern.jar | 21:49:27,081 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jbossmq.jar | 21:49:27,081 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/hibernate-annotations.jar | 21:49:27,081 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jbossws-spi.jar | 21:49:27,081 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jsp-api.jar | 21:49:27,081 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-remoting.jar | 21:49:27,081 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jbosssx.jar | 21:49:27,082 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/quartz.jar | 21:49:27,082 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-jaxrpc.jar | 21:49:27,082 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/commons-httpclient.jar | 21:49:27,082 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/commons-logging.jar | 21:49:27,082 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/log4j.jar | 21:49:27,083 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-hibernate.jar | 21:49:27,083 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/hibernate3.jar | 21:49:27,083 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-jca.jar | 21:49:27,084 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jbossjta.jar | 21:49:27,084 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/hsqldb.jar | 21:49:27,084 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jbossws-common.jar | 21:49:27,084 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jbossws-jboss42.jar | 21:49:27,084 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss.jar | 21:49:27,085 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/xmlentitymgr.jar | 21:49:27,086 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/autonumber-plugin.jar | 21:49:27,086 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-serialization.jar | 21:49:27,086 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/bsh-deployer.jar | 21:49:27,086 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-transaction.jar | 21:49:27,086 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/log4j-snmp-appender.jar | 21:49:27,086 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-jaxws.jar | 21:49:27,087 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-j2ee.jar | 21:49:27,087 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-management.jar | 21:49:27,087 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-jsr77.jar | 21:49:27,087 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-jsr88.jar | 21:49:27,087 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/properties-plugin.jar | 21:49:27,087 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/bsf.jar | 21:49:27,088 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-monitoring.jar | 21:49:27,088 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/bsh.jar | 21:49:27,088 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-remoting-int.jar | 21:49:27,088 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/dom4j.jar | 21:49:27,088 DEBUG [SARDeployer] deployed classes for file:/usr/local/jboss-4.2.2.GA/server/default/lib/jbossts-common.jar | 21:49:27,093 DEBUG [SARDeployer] about to copy 0 local directories | 21:49:27,099 DEBUG [SARDeployer] looking for nested deployments in : file:/usr/local/jboss-4.2.2.GA/server/default/conf/jboss-service.xml | 21:49:27,104 DEBUG [DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null) | 21:49:27,105 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at ade10, cl=org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=0} | 21:49:27,105 DEBUG [RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.UnifiedLoaderRepository3 at ade10, cl=org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=0} | 21:49:27,105 DEBUG [UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=0} | 21:49:27,117 DEBUG [RepositoryClassLoader] Added url: file:/usr/local/jboss-4.2.2.GA/server/default/lib/ejb3-persistence.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=2} | 21:49:27,124 DEBUG [RepositoryClassLoader] Added url: file:/usr/local/jboss-4.2.2.GA/server/default/lib/hsqldb-plugin.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=2} | 21:49:27,186 DEBUG [RepositoryClassLoader] Added url: file:/usr/local/jboss-4.2.2.GA/server/default/lib/bcel.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=2} | 21:49:27,200 DEBUG [RepositoryClassLoader] Added url: file:/usr/local/jboss-4.2.2.GA/server/default/lib/jbossws-framework.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=2} | 21:49:27,266 DEBUG [ClassLoaderUtils] Multiple class loaders found for pkg: | 21:49:27,266 DEBUG [RepositoryClassLoader] Added url: file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-cache-jdk50.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=2} | 21:49:27,275 DEBUG [RepositoryClassLoader] Added url: file:/usr/local/jboss-4.2.2.GA/server/default/lib/commons-codec.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=2} | 21:49:27,288 DEBUG [RepositoryClassLoader] Added url: file:/usr/local/jboss-4.2.2.GA/server/default/lib/bindingservice-plugin.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=2} | 21:49:27,301 DEBUG [RepositoryClassLoader] Added url: file:/usr/local/jboss-4.2.2.GA/server/default/lib/activation.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=2} | 21:49:27,314 DEBUG [RepositoryClassLoader] Added url: file:/usr/local/jboss-4.2.2.GA/server/default/lib/jbossjta-integration.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=2} | 21:49:27,327 DEBUG [RepositoryClassLoader] Added url: file:/usr/local/jboss-4.2.2.GA/server/default/lib/jnpserver.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=2} | 21:49:27,334 DEBUG [RepositoryClassLoader] Added url: file:/usr/local/jboss-4.2.2.GA/server/default/lib/jboss-saaj.jar, to ucl: org.jboss.mx.loading.UnifiedClassLoader3 at a36e70{ url=null ,addedOrder=2} | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258533#4258533 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258533 From do-not-reply at jboss.com Sat Oct 3 11:28:18 2009 From: do-not-reply at jboss.com (njrfrens) Date: Sat, 3 Oct 2009 11:28:18 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Diff response times at different times Message-ID: <2071077.1254583698654.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> My heap graph with JVM Parameters : 1. When set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m Graph is http://img260.imageshack.us/img260/2228/withoutyoungsize.jpg [img]http://img260.imageshack.us/img260/2228/withoutyoungsize.jpg[/img] 2. When set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m -XX:NewSize=300M -XX:MaxNewSize=300M -XX:SurvivorRatio=32 -XX:+UseTLAB -XX:TLABSize=64K Graph is [url]http://img260.imageshack.us/img260/1281/withyoungsize.jpg [/url] [img]http://img260.imageshack.us/img260/1281/withyoungsize.jpg [/img] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258538#4258538 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258538 From do-not-reply at jboss.com Sat Oct 3 11:43:28 2009 From: do-not-reply at jboss.com (billson) Date: Sat, 3 Oct 2009 11:43:28 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Path expected for join! Message-ID: <18810905.1254584608279.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "meselfe" wrote : to answer myself the query should have been: | select p from Project as p join p.tasks as t where p.id = :projectid if attached with the *.hbm.xml would be better for newb like me to understand. tks man. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258539#4258539 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258539 From do-not-reply at jboss.com Sat Oct 3 12:24:10 2009 From: do-not-reply at jboss.com (CatchSandeepVaid) Date: Sat, 3 Oct 2009 12:24:10 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - CMT and Connection Objects Message-ID: <815326.1254587050724.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> @TransactionAttribute(TransactionAttributeType.REQUIRED) public void someMethod(...) { // obtain con1 and con2 connection objects con1 = ...; con2 = ...; stmt1 = con1.createStatement(); stmt2 = con2.createStatement(); // // Perform some updates on con1 and con2. The container // automatically enlists con1 and con2 with the container- // managed transaction. // } As we have specified TransactionAttributeType.REQUIRED, container will start a transaction (i guess on a Connection) Q- a) Container will start transaction on which Connection (database) Object? From where it obtains information about my database ? In other words does container uses JTA (Distributed transaction manager layer), from where it obtains info regarding my databses, user password, url etc.. Q- b) What does the statement means "The container automatically enlists con1 and con2 with the container-manager transaction"? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258541#4258541 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258541 From do-not-reply at jboss.com Sat Oct 3 12:54:52 2009 From: do-not-reply at jboss.com (PeterJ) Date: Sat, 3 Oct 2009 12:54:52 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Need help with install jboss 4.2.2 Message-ID: <2926793.1254588892494.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : 21:49:25,490 INFO [ServerInfo] Java version: 1.5.0,Free Software Foundation, Inc. | 21:49:25,490 INFO [ServerInfo] Java VM: GNU libgcj 4.3.2,Free Software Foundation, Inc. This GNU JVM is not a certified JVM - JBoss AS will not run with it. You need to install either the OpenJDK or a Sun JDK and use that. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258542#4258542 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258542 From do-not-reply at jboss.com Sat Oct 3 13:16:03 2009 From: do-not-reply at jboss.com (iraevsky) Date: Sat, 3 Oct 2009 13:16:03 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Need help with install jboss 4.2.2 Message-ID: <3856223.1254590163277.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> thank you very much, i will try soon !!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258543#4258543 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258543 From do-not-reply at jboss.com Sat Oct 3 13:39:01 2009 From: do-not-reply at jboss.com (iraevsky) Date: Sat, 3 Oct 2009 13:39:01 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Need help with install jboss 4.2.2 Message-ID: <325329.1254591541872.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> INFO [Server] JBoss (MX MicroKernel) [4.2.2.GA (build: SVNTag=JBoss_4_2_2_GA date=200710221139)] Started in 46s:542ms Thank you very much!!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258544#4258544 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258544 From do-not-reply at jboss.com Sat Oct 3 14:50:29 2009 From: do-not-reply at jboss.com (newcomer1) Date: Sat, 3 Oct 2009 14:50:29 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Awesome job with jBPM 4.1 Message-ID: <11144479.1254595829224.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "unsavory" wrote : I just wanted to say what a great job you guys did with the jBPM 4.1 release. Not only was it released on time, but the support promised for Tomcat was also delivered. Thank you! | | As of 3:30AM this morning we now have 2 production application servers running jBPM 4.1 in Tomcat with Spring + JPA + Hibernate + JTA + JOTM. | | I struggled for a long time trying to get this configuration to work with jBPM 4 and I never quite got it working right. Most of the issues were related to the Job Executor which now starts like it is supposed to in this environment and actually executes jobs correctly (ie: can find the spring transaction manager). But it all worked as soon as I plugged jBPM 4.1 in. | | There are some JTA transaction issues with JOTM I'm struggling with in regards to rollbacks on exceptions, but I do not believe it is related to jBPM. | | Thanks again for a great product and a great release! This sounds great! We are running jbpm 4 and had to roll our own transaction interceptor (and/or JtaTransaction implementation) to get the jobexecutor to play along with spring and jta. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258548#4258548 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258548 From do-not-reply at jboss.com Sat Oct 3 15:46:00 2009 From: do-not-reply at jboss.com (noicangi) Date: Sat, 3 Oct 2009 15:46:00 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm4.1 process project Message-ID: <13273931.1254599160554.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> that's and excelent idea, kukeltje complementing the idea from sebastian, thanks. i think i cannot wait until january.....i need to finish this university project, and go to beach! :P ( summer time on this latitude...) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258550#4258550 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258550 From do-not-reply at jboss.com Sat Oct 3 16:59:56 2009 From: do-not-reply at jboss.com (jthinaka) Date: Sat, 3 Oct 2009 16:59:56 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: Beans disappear in Global JNDI Namespace after running a Message-ID: <20958700.1254603596294.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> happy_robot, did you ever get a response to your problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258551#4258551 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258551 From do-not-reply at jboss.com Sat Oct 3 19:08:27 2009 From: do-not-reply at jboss.com (kukeltje) Date: Sat, 3 Oct 2009 19:08:27 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm4.1 process project Message-ID: <31996577.1254611307690.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is it is a latitude where it is always summertime? Then I don't envy you.... :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258552#4258552 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258552 From do-not-reply at jboss.com Sun Oct 4 03:58:11 2009 From: do-not-reply at jboss.com (newcomer1) Date: Sun, 4 Oct 2009 03:58:11 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: What is the best pattern to deny method executions? Message-ID: <2770328.1254643091412.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "lzdobylak" wrote : I'm starting learning jBPM and I was wandering what is the best pattern to deny method executions? | I mean how to prevent calling some methods depending on object state in workflow, or even more: | In arhitecture Client SWT <-> jboss EJB3 Application with jBPM | how to disable some actions on view (ex. in context menu of object) | ??? | Do I need implement it all from scrach? | Is there any support from workflow engine? | Is there any good pattern to do this? | | Thansk for everyone :)))) Have you concidered using the gof state pattern? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258556#4258556 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258556 From do-not-reply at jboss.com Sun Oct 4 05:58:16 2009 From: do-not-reply at jboss.com (JithuK) Date: Sun, 4 Oct 2009 05:58:16 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Urgent: org.jboss.xb.binding.JBossXBException: Failed to par Message-ID: <7197159.1254650296717.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi All, I am trying to migrate an application from jBoss 4 to jBoss 5. I am getting below error , while deploying a war file. Can someone let me identify what exactly has gone wrong here .. Any help is highly appreciated. 15:05:18,080 ERROR [AbstractKernelController] Error installing to Parse: name=vfszip:/home/clarify/appserver/jboss-5.1.0.GA/s erver/tBroker/deploy/ibmpm.war/ state=Not Installed mode=Manual requiredState=Parse org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfszip:/home/clarify/appserver/jboss-5.1.0.GA/ server/tBroker/deploy/impm.war/ at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerW ithOutput.java:362) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerW ithOutput.java:322) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerW ithOutput.java:294) at org.jboss.deployment.JBossEjbParsingDeployer.createMetaData(JBossEjbParsingDeployer.java:95) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutpu t.java:234) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.ja va:306) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) at org.jboss.Main.boot(Main.java:221) at org.jboss.Main$1.run(Main.java:556) at java.lang.Thread.run(Thread.java:595) Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: container-configuration cannot appear in this posit ion. Expected content of jboss is unordered_sequence: jmx-name? enforce-ejb-restrictions? unauthenticated-principal? resource -managers? exception-on-rollback? enterprise-beans* container-configurations? missing-method-permissions-excluded-mode? invok er-proxy-bindings? loader-repository? security-domain? webservices? assembly-descriptor? at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203) at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168) at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189) at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166) at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137) at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121) at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256) at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:188) at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerW ithOutput.java:348) ... 34 more Caused by: org.jboss.xb.binding.JBossXBRuntimeException: container-configuration cannot appear in this position. Expected con tent of jboss is unordered_sequence: jmx-name? enforce-ejb-restrictions? unauthenticated-principal? resource-managers? except ion-on-rollback? enterprise-beans* container-configurations? missing-method-permissions-excluded-mode? invoker-proxy-bindings ? loader-repository? security-domain? webservices? assembly-descriptor? at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:449) at org View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258560#4258560 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258560 From do-not-reply at jboss.com Sun Oct 4 08:19:08 2009 From: do-not-reply at jboss.com (bdamato) Date: Sun, 4 Oct 2009 08:19:08 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: More ServiceBindingSet questions Message-ID: <30118468.1254658748801.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Anyone have any ideas on this one? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258563#4258563 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258563 From do-not-reply at jboss.com Sun Oct 4 08:33:31 2009 From: do-not-reply at jboss.com (happy_robot) Date: Sun, 4 Oct 2009 08:33:31 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: Beans disappear in Global JNDI Namespace after running a Message-ID: <12839351.1254659611880.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> yes, i solved it! i had a jndi.properties file in my EJB-project, after removing this it solved the problem. it seems a little bit curios to me, but running a local JBOSS with my project with this jndi.properties file (targeting to my i-net JBOSS instance running the same project) kills all registered beans on my i-net JBoss on shutdown. greetings and thanks for your help View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258564#4258564 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258564 From do-not-reply at jboss.com Sun Oct 4 09:47:27 2009 From: do-not-reply at jboss.com (jaikiran) Date: Sun, 4 Oct 2009 09:47:27 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: Beans disappear in Global JNDI Namespace after running a Message-ID: <8721384.1254664047133.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "happy_robot" wrote : | it seems a little bit curios to me, but running a local JBOSS with my project with this jndi.properties file (targeting to my i-net JBOSS instance running the same project) kills all registered beans on my i-net JBoss on shutdown. | | So you have 2 systems A and B with application myapp deployed on both. myapp has a jndi.properties pointing to B. And on shutting down A, the beans deployed in B get unregistered? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258567#4258567 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258567 From do-not-reply at jboss.com Sun Oct 4 09:50:09 2009 From: do-not-reply at jboss.com (happy_robot) Date: Sun, 4 Oct 2009 09:50:09 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: Beans disappear in Global JNDI Namespace after running a Message-ID: <4059010.1254664209597.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> yes, exactly! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258568#4258568 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258568 From do-not-reply at jboss.com Sun Oct 4 10:05:27 2009 From: do-not-reply at jboss.com (mattjiang) Date: Sun, 4 Oct 2009 10:05:27 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - What is the exact correct way to make JBoss datasource JNDI Message-ID: <2172572.1254665127785.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi All, I saw many people got confused of configuring DataSource JNDI on JBoss, I saw two major example, but for me only one works. I use Spring 2.5.6, Jboss 4.2.2GA, Sun JDK 1.5 Example 1:(works) mysql-ds.xml | | | jdbc/esoafds | jdbc:mysql://192.168.1.2:3306/jbranch?useUnicode=true&characterEncoding=UTF8&autoReconnect=true | com.mysql.jdbc.Driver | root | | 3 | 100 | false | | mySQL | | | Spring applicationContext.xml Above example, could someone advises me why I have to add false to make this config works? Example 2:(It should work, but NOT) mysql-ds.xml | | | jdbc/esoafds | jdbc:mysql://192.168.1.2:3306/jbranch?useUnicode=true&characterEncoding=UTF8&autoReconnect=true | com.mysql.jdbc.Driver | root | | 3 | 100 | | mySQL | | | Please be aware that no "use-java-context" tag needed. web.xml | Esoaf DataSource | jdbc/esoafds | javax.sql.DataSource | Container | jboss-web.xml | | | jdbc/esoafds | java:jdbc/esoafds | | | Spring applicationContext.xml | | Should I add "java:" before "jdbc/esoafds" or not? The second example can find correct JNDI name from JBoss, but it returns null from JNDI look up. Can any body give me a hint what's the concept difference between the two approaches? Why my example 1 works, but exmple 2 return null look up. Thanks a lot. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258569#4258569 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258569 From do-not-reply at jboss.com Sun Oct 4 10:59:54 2009 From: do-not-reply at jboss.com (roman.mandeleil@gmail.com) Date: Sun, 4 Oct 2009 10:59:54 -0400 (EDT) Subject: [jboss-user] [Clustering] - TCPPING configuration Message-ID: <11771794.1254668394395.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Trying to configure a cluster that uses only TCP but without a success, the ports been assigned correct to the transport but the nodes are not trying to discover each other, any advice ?. Here is my configuration: 1) two 5.1 nodes on localhost. 2) run commands: jboss-5.1.0.GA-node1\bin\run.bat -Djboss.service.binding.set=ports-02 -c all jboss-5.1.0.GA-node2\bin\run.bat -Djboss.service.binding.set=ports-03 -c all 3) Node - 1 Node - 2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258570#4258570 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258570 From do-not-reply at jboss.com Sun Oct 4 13:18:10 2009 From: do-not-reply at jboss.com (avenkatesh) Date: Sun, 4 Oct 2009 13:18:10 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - 100% CPU utilization by JBoss java process Message-ID: <10108751.1254676690897.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, We are running load tests with our application using JBoss as the application server. In random load tests (not all) and at a random interval in these load tests, we have observed the JBoss java process running on the application server spike to 100% CPU and remain at 100% unless JBoss is manually restarted. We have captured thread dumps each time we've hit this problem, diagnosed concurrency issues leading to repeated looping, etc, introduced fixes, and monitored. The problem still appears, and we believe at this stage we have exhausted all options that relate to thread dumps. At this point, all key observations in the thread dumps have been addressed. Are there any known limitations with JBoss Application Server that anyone is aware of, or faced, which could possibly lead to this problem? Please help. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258572#4258572 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258572 From do-not-reply at jboss.com Sun Oct 4 13:57:52 2009 From: do-not-reply at jboss.com (souma) Date: Sun, 4 Oct 2009 13:57:52 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - method foo is the only one that can be executed?? Message-ID: <29430491.1254679072332.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Good morning I do not understand why the example foo is the only one that can be executed ... if I change the names or parameters eclipse tells me an error!!! .. package Essai; | | public class Foo { | public int fooField; | | public Foo () { | fooField = 0; | } | | } | | package Essai; | | public class FooMixin implements FooMixinInt { | public FooMixin(){} | | public String fooMethod2 (int i) { | System.out.print("Message"); | return Integer.toString ( 4- i); | } | | } | package Essai; | public interface FooMixinInt { | public String fooMethod2 (int i); | } package Essai; | | public class Main { | | | public static void main(String[] args) { | | Foo foo = new Foo (); | FooMixinInt fooint = (FooMixinInt) foo; | String s = foo.fooMethod2(-2); | | } | | } | | | | Essai.FooMixinInt | Essai.FooMixin | new Essai.FooMixin() | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258573#4258573 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258573 From do-not-reply at jboss.com Sun Oct 4 15:40:33 2009 From: do-not-reply at jboss.com (aapthorp) Date: Sun, 4 Oct 2009 15:40:33 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: sub process event propagation Message-ID: <14704822.1254685233181.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have rather belatedly come back to this one, having not made the switch to jBPM4 - I find the jbpm-console more friendly for trying things out thanks to the ability to signal tokens. I still don't see how this works in JBPM3, may be it works in 4. What I'm trying to achieve is similar to signal events as described in the following (section New Signal Event): http://www.brsilver.com/wordpress/2008/09/15/concepts-and-terminology-in-bpmn-20/ In order to implement this behaviour I have an actionhandler in the subprocess which propagates the event to the superprocess. Question is do I use another handler at the superprocess level and "wire" it to the target node, or do I get the actionhandler to find a handler for the event on the target node? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258575#4258575 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258575 From do-not-reply at jboss.com Sun Oct 4 15:50:29 2009 From: do-not-reply at jboss.com (aapthorp) Date: Sun, 4 Oct 2009 15:50:29 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: superstate timer error Message-ID: <19876289.1254685829206.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Banging my head against this one... "aapthorp" wrote : Hmm, same problem. | | Also, I had to change the datasource configuration in | | ..\jboss-4.2.3.GA\server\default\deploy\ejb-deployer.xml | | Have changed the ejb-deployer config as per the following http://www.jboss.org/index.html?module=bb&op=viewtopic&t=147824 This at least gets over the connection failure exception as mentioned in the referenced thread. I assume this is correct... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258576#4258576 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258576 From do-not-reply at jboss.com Sun Oct 4 21:14:41 2009 From: do-not-reply at jboss.com (kennardconsulting) Date: Sun, 4 Oct 2009 21:14:41 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Upgrade JBoss AS 5.1.0 to JBoss Messaging 1.4.5.GA? Message-ID: <26493623.1254705281992.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi guys, Are there special considerations involved in upgrading JBoss 5.1.0 to use the new JBoss Messaging 1.4.5.GA? I'm keen to be updated on the latest bugfixes. I tried just copying the jboss-messaging.jar into JBoss, but now none of my queues are recognised: [org.jboss.resource.adapter.jms.inflow.JmsActivation] Failure in jms activation org.jboss.resource.adapter.jms.inflow.JmsActivationSpec at 15e154a(ra=org.jboss.resource.adapter.jms.JmsResourceAdapter at 9b7ca4 destination=jnp://localhost:1100/queue/avant-ss-production.emails destinationType=javax.jms.Queue tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 minSession=1 maxSession=15 keepAlive=60000 useDLQ=false) | javax.naming.NameNotFoundException: queue not bound I also note there is no equivalent jboss-messaging-int.jar. Does there need to be? Regards, Richard. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258579#4258579 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258579 From do-not-reply at jboss.com Mon Oct 5 01:30:30 2009 From: do-not-reply at jboss.com (makarandk502) Date: Mon, 5 Oct 2009 01:30:30 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 : Running jbpm test case - issue Message-ID: <17691965.1254720630400.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am not using any custom XML parser. I am trying to test process definition using JbpmTestCase. version is JRE 1.6 When I debugged the code, I got to know that it has failed in protected Document buildDom(Parse parse) ( parser.java in org.jbpm.pvm.internal.xml ) line is saxParser.setProperty("http://java.sun.com/xml/jaxp/properties/schemaLanguage", "http://www.w3.org/2001/XMLSchema"); xmlReader.setFeature("http://apache.org/xml/features/validation/dynamic", true); I am just using jbpmtestcase to test my process -Regards Makarand View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258585#4258585 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258585 From do-not-reply at jboss.com Mon Oct 5 02:21:02 2009 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Mon, 5 Oct 2009 02:21:02 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: error accessing webapp Message-ID: <26592741.1254723662683.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I can't tell since you don't provide much info on what is actually inside the error ? Also I can't see if this is a tooling specific error or if it is "just" for seam - if just for seam try asking at the forums at seamframework.org. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258590#4258590 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258590 From do-not-reply at jboss.com Mon Oct 5 02:26:37 2009 From: do-not-reply at jboss.com (Shenaz) Date: Mon, 5 Oct 2009 02:26:37 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Non clustered Queue Message-ID: <27345842.1254723997727.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Brian, Thanks a ton for the reply. One more doubt. Is it possible to have a combination of singleton and non singleton queues in the clustered environment? Our requirement is to have just one of the queues as non-clustered and all other queues as normal singleton queues. Regards Shenaz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258593#4258593 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258593 From do-not-reply at jboss.com Mon Oct 5 03:57:40 2009 From: do-not-reply at jboss.com (matjohn) Date: Mon, 5 Oct 2009 03:57:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Problem WAR deploy (jboss-5.1.0.GA) Message-ID: <16360663.1254729460933.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok, ops, I have a wrong build script, wrong presence WEB-INF/lib/jmx-1.0.jar ! Now, it's ok. Thanks for your time. "jaikiran" wrote : Post the output of | | jar -tf mad.war | | I am mainly interested in the jar files packaged in that application. | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258598#4258598 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258598 From do-not-reply at jboss.com Mon Oct 5 04:03:46 2009 From: do-not-reply at jboss.com (anindya.tcs) Date: Mon, 5 Oct 2009 04:03:46 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: aj4 calls failing in jboss portal 2.7.2 Message-ID: <5946058.1254729826038.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi , We tried with following versions and see Ajax calls are happening - richfaces(3.3.0 GA) jsf-facelets-1.1.15.B1.jar JBossPortletBridge-1.0.0.CR1 Configuration done for this is as below - com.sun.faces.enableRestoreView11Compatibility true However we see following changes in behaviour - 1.JSF beans which are stored in session can't be fetched from JSF SessionMap (probably as this uses HTTPSession and not PortalSession) Hence the standard call appSecBeanInst = (ApplicationSecurityDataBean) context .getExternalContext().getSessionMap().get(ApplicationConstants.APPLICATIONSECDATABEAN) is not working as expected(SessionMap is coming as empty object) 2.Unlike FaceletViewHandler , the PortletViewHandler(used as View handler) prefixes Portalname,Pagename and Window name with every JSF element id . Hence any JavaScript calls which are made using document.getElementByid.. are failing. Please guide us how to address this issues, as those are being used in our application earlier. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258599#4258599 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258599 From do-not-reply at jboss.com Mon Oct 5 04:33:04 2009 From: do-not-reply at jboss.com (ragadeepika) Date: Mon, 5 Oct 2009 04:33:04 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Help! Timeout occuring. Message-ID: <20061270.1254731584201.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm also getting same exception if i leave my browser for 10 min. I'm using jsf-facelets 1.1.14, Richfaces 3.2, portal bridge 1.0.0.B6 and portal server 2.6.4. Can anyone help me? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258602#4258602 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258602 From do-not-reply at jboss.com Mon Oct 5 05:06:46 2009 From: do-not-reply at jboss.com (makarandk502) Date: Mon, 5 Oct 2009 05:06:46 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - jbpm 4.1 - execution not waiting for Task Form inputs Message-ID: <32564805.1254733606077.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Simple process definition( with a taskform ) when run using jbPM APIS is not getting stopped at task form node but it completes its execution. I am trying to test the process using jBPM APIs not console. Code attached below for reference. Process should wait for user inputs through a form which is attached to "review" task. I also tried removing line " taskService.completeTask(task.getId());" from jbpm test case but no sucsess. Can anybody guide me in this regard ? Process definition : | | | | | | | | | | | | | | | jbpm test case : | package org.jbpm.examples.formdynamic; | | import java.util.HashMap; | import java.util.List; | import java.util.Map; | | import org.jbpm.api.ProcessInstance; | import org.jbpm.api.task.Task; | import org.jbpm.test.JbpmTestCase; | | public class FormDynamicTest extends JbpmTestCase { | String deploymentId; | | protected void setUp() throws Exception { | super.setUp(); | | deploymentId = repositoryService.createDeployment() | .addResourceFromClasspath("org/jbpm/examples/formdynamic/FormDynamic.jpdl.xml") | .deploy(); | } | | protected void tearDown() throws Exception { | repositoryService.deleteDeploymentCascade(deploymentId); | | super.tearDown(); | } | | public void testTaskAssignee() { | Map variables = new HashMap(); | variables.put("order", "johndoe"); | ProcessInstance processInstance = executionService.startProcessInstanceByKey("FormDynamic", variables); | String pid = processInstance.getId(); | //ProcessInstance processInstance = executionService.startProcessInstanceByKey("FormDynamic"); | List taskList=taskService.findPersonalTasks("peter"); | Task task=taskList.get(0); | | taskService.completeTask(task.getId()); | | System.out.println("List is"+taskList); | | // verify that process moved to the next state | processInstance = executionService.findProcessInstanceById(pid); | assertTrue(processInstance.isActive("wait")); | | | | } | } | jbpm test case result : | 14:31:37,940 FIN | [BaseJbpmTestCase] === starting testTaskAssignee ============================= | 14:31:38,231 INF | [Environment] Hibernate 3.3.1.GA | 14:31:38,231 INF | [Environment] hibernate.properties not found | 14:31:38,231 INF | [Environment] Bytecode provider name : javassist | 14:31:38,231 INF | [Environment] using JDK 1.4 java.sql.Timestamp handling | 14:31:38,271 INF | [Configuration] configuring from resource: jbpm.hibernate.cfg.xml | 14:31:38,271 INF | [Configuration] Configuration resource: jbpm.hibernate.cfg.xml | 14:31:38,321 INF | [Configuration] Reading mappings from resource : jbpm.repository.hbm.xml | 14:31:38,441 INF | [Configuration] Reading mappings from resource : jbpm.execution.hbm.xml | 14:31:38,541 INF | [Configuration] Reading mappings from resource : jbpm.history.hbm.xml | 14:31:38,591 INF | [Configuration] Reading mappings from resource : jbpm.task.hbm.xml | 14:31:38,621 INF | [Configuration] Reading mappings from resource : jbpm.identity.hbm.xml | 14:31:38,631 INF | [Configuration] Configured SessionFactory: null | 14:31:38,651 INF | [DriverManagerConnectionProvider] Using Hibernate built-in connection pool (not for production use!) | 14:31:38,651 INF | [DriverManagerConnectionProvider] Hibernate connection pool size: 20 | 14:31:38,651 INF | [DriverManagerConnectionProvider] autocommit mode: false | 14:31:38,651 INF | [DriverManagerConnectionProvider] using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:mem:. | 14:31:38,651 INF | [DriverManagerConnectionProvider] connection properties: {user=sa, password=****} | 14:31:38,791 INF | [Dialect] Using dialect: org.hibernate.dialect.HSQLDialect | 14:31:38,791 INF | [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions) | 14:31:38,801 INF | [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) | 14:31:38,801 INF | [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory | 14:31:38,831 INF | [SessionFactoryImpl] building session factory | 14:31:39,322 INF | [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured | 14:31:39,332 INF | [SchemaExport] Running hbm2ddl schema export | 14:31:39,332 INF | [SchemaExport] exporting generated schema to database | 14:31:39,362 INF | [SchemaExport] schema export complete | 14:31:39,793 FIN | [ProcessDefinitionImpl] creating new execution for process 'FormDynamic' | 14:31:39,793 FIN | [DefaultIdGenerator] generated execution id FormDynamic.1 | 14:31:39,813 FIN | [ScopeInstanceImpl] create variable 'order' in 'execution[FormDynamic.1]' with value 'johndoe' | 14:31:39,813 FIN | [ExecuteActivity] executing activity(17872448) | 14:31:39,813 FIN | [ExecuteActivity] executing activity(review) | 14:31:39,843 FIN | [TaskQueryImpl] select task from org.jbpm.pvm.internal.task.TaskImpl as task where task.assignee = :assignee order by task.priority desc | 14:31:39,853 FIN | [TaskQueryImpl] setting parameter assignee: peter | 14:31:39,863 FIN | [Signal] signalling activity(review), signalName=completed | 14:31:39,863 FIN | [ExecuteActivity] executing activity(wait) | List is[Task(review)] | 14:31:39,903 FIN | [DbSessionImpl] deleting history process instance FormDynamic.1 | 14:31:39,923 FIN | [DbSessionImpl] deleting process instance FormDynamic.1 | 14:31:39,923 FIN | [DeleteDeploymentCmd] deleting deployment 1 | 14:31:39,953 FIN | [BaseJbpmTestCase] === ending testTaskAssignee ============================= | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258605#4258605 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258605 From do-not-reply at jboss.com Mon Oct 5 04:13:11 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 5 Oct 2009 04:13:11 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: More ServiceBindingSet questions Message-ID: <21310758.1254730391610.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Can you please post the console logs? Especially the lines which show the ports being used: 13:09:54,208 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080 | 13:09:54,208 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8009 | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258600#4258600 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258600 From do-not-reply at jboss.com Mon Oct 5 05:22:48 2009 From: do-not-reply at jboss.com (nikhil_chidgopkar) Date: Mon, 5 Oct 2009 05:22:48 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Migration to Jboss 4.05 Message-ID: <8049967.1254734568472.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have requirement of migrating a project from tomcat 5.5.28 to jboss 4.05 . While doing the above ,I am facing the issues in jar file loading. In the tomcat there are folder like ???common??? and ???shared??? which contains some project specific jar file which needs to be loaded. Is there similar functionality in jboss 4.05 (Have seen it in jboss-5.0.0.GA version). I tried to place all the jars in the JBOSS_HOME\server\default\lib folder ,but still it doesn???t work. I don???t have an option of re-bundling wars. Please let me know any solution for it. Thanks in advance. --Nikhil Chidgopkar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258606#4258606 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258606 From do-not-reply at jboss.com Mon Oct 5 05:32:27 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 5 Oct 2009 05:32:27 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Migration to Jboss 4.05 Message-ID: <11639779.1254735147887.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "nikhil_chidgopkar" wrote : Hi, | I have requirement of migrating a project from tomcat 5.5.28 to jboss 4.05 . | Any specific reason, you want to migrate to an older version of JBoss? The latest stable 4.x version of JBoss AS is 4.2.3 GA. "nikhil_chidgopkar" wrote : | | In the tomcat there are folder like "common" and "shared" which contains some project specific jar file which needs to be loaded. | | Is there similar functionality in jboss 4.05 (Have seen it in jboss-5.0.0.GA version). | Project specific jar files are always recommended to be packaged within the application. But since you say that: "nikhil_chidgopkar" wrote : | I don????????????t have an option of re-bundling wars. | The next best thing to do would be place these jars in the JBOSS_HOME/server/< servername>/lib folder. "nikhil_chidgopkar" wrote : | I tried to place all the jars in the JBOSS_HOME\server\default\lib folder ,but still it doesn????????????t work. | | What doesn't work? Please provide the exact details including any relevant stacktrace. While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258607#4258607 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258607 From do-not-reply at jboss.com Mon Oct 5 05:44:57 2009 From: do-not-reply at jboss.com (dschulten) Date: Mon, 5 Oct 2009 05:44:57 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Issues with Maven support in JBoss Tools M3 Message-ID: <10988267.1254735897344.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, when I create a Seam Web Project with JBoss Tools 3.1 M3 as shown here: http://www.screencast.com/users/Snjeza/folders/Jing/media/3d61f7d6-0fad-4e3b-83cf-6fb23ad020c4 then only three projects are created (testmaven-parent, testmaven-test and a testmaven war project) rather than five; in other words, the -ejb and the -ear project are missing. Furthermore, in the parent pom I had to add the dependency to mvel14 with version property: org.mvel mvel14 ${mvel.version} Has anyone had the same problem? What can be the reason for this behaviour? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258608#4258608 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258608 From do-not-reply at jboss.com Mon Oct 5 05:45:06 2009 From: do-not-reply at jboss.com (dschulten) Date: Mon, 5 Oct 2009 05:45:06 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Issues with Maven support in JBoss Tools M3 Message-ID: <26667940.1254735906881.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, when I create a Seam Web Project with JBoss Tools 3.1 M3 as shown here: http://www.screencast.com/users/Snjeza/folders/Jing/media/3d61f7d6-0fad-4e3b-83cf-6fb23ad020c4 then only three projects are created (testmaven-parent, testmaven-test and a testmaven war project) rather than five; in other words, the -ejb and the -ear project are missing. Furthermore, in the parent pom I had to add the dependency to mvel14 with version property: org.mvel mvel14 ${mvel.version} Has anyone had the same problem? What can be the reason for this behaviour? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258609#4258609 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258609 From do-not-reply at jboss.com Mon Oct 5 05:47:18 2009 From: do-not-reply at jboss.com (oenyinna) Date: Mon, 5 Oct 2009 05:47:18 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Keeping ResultSet open Message-ID: <24979505.1254736038761.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am trying to keep a ResultSet object open across method calls in my bean but when I try to access without creating a new connection, I get the error "Connection handle has been closed and is unusable". Is there a way to keep the Connection open until I'm done with the ResultSet? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258610#4258610 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258610 From torsten.reinhard at gi-de.com Mon Oct 5 05:57:41 2009 From: torsten.reinhard at gi-de.com (torsten.reinhard at gi-de.com) Date: Mon, 5 Oct 2009 11:57:41 +0200 Subject: [jboss-user] get JMX data from JBoss via Ant or Maven? Message-ID: Hi, in our Continuous Build System we have some integration / regression tests, running against a deployed (JBoss) application. All I know of this application is the JNP Url, which is always the same. The directory, where this system is deployed is "dynamically" and created by concatenation of buildversion, port, database system and so on, for examle: OurProduct_2.8.1.xxx_Oracle_Port_57080 Is there any way, to come from this JNP Url to the directory (path) where this system is running? I need this information to copy the server.log files from there via scp for example back to the client, where the tests are running. I know that I can get a lot of data from JBoss via the JMX Console - but how can I do this call(s) from within ANT or Maven? Do i have to write my own Task or plugin? Thanx, Torsten Reinhard -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20091005/9c667161/attachment.html From do-not-reply at jboss.com Mon Oct 5 06:34:46 2009 From: do-not-reply at jboss.com (Jimmy56) Date: Mon, 5 Oct 2009 06:34:46 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Ending task with timer - session is closed Message-ID: <10470654.1254738886608.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok, nobody met same issue? With mentioned configuration it seems that helped us to disable cureent session for persistence service - by changing in jbpm.configuration.xml: | | | | | | | | | It helped in earlier described case, but seems it happens in another scenarios which I need to scan more in detail later. Also I think I need to specify configuration more precisely , which contains jbpm deployed twice - once in our application and once within default deployment which comes with JBoss SOA Platform 4.3 which we are using. Job executor is configured in default jbpm deployment, not in our application. But my knowledge of JBPM and Seam is not so deep to know what and why it happens, so if anybody can give an explanation, it will be appreciated. Jakub. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258613#4258613 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258613 From do-not-reply at jboss.com Mon Oct 5 06:51:15 2009 From: do-not-reply at jboss.com (RonanKER) Date: Mon, 5 Oct 2009 06:51:15 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Cannot stop jboss AS service on windows serveur 2003 Message-ID: <1224603.1254739875999.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, We are using JBOSS 4.2.1 on windows serveur 2003. JBoss AS is installed as a windows service. Since we added "JBoss Native 2.0.3" in order to use APR capabilities, we can't stop the jboss service. We have the following traces: | 11:49:29,405 INFO [AjpAprProtocol] (JBoss Shutdown Hook:) - Stopping Coyote AJP/1.3 on ajp-127.0.0.1-8009 | 11:54:22,796 ERROR [AjpAprProtocol] (ajp-127.0.0.1-8009-3:) - Error reading request, ignored | java.lang.NullPointerException | at org.apache.tomcat.util.net.AprEndpoint.getPoller(AprEndpoint.java:347) | at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:453) | at org.apache.coyote.ajp.AjpAprProtocol$AjpConnectionHandler.process(AjpAprProtocol.java:393) | at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1513) | at java.lang.Thread.run(Thread.java:619) | I found this jira that seems related to: https://jira.jboss.org/jira/browse/JBPAPP-1470 But I can't find if it fixed for JBoss AS and in which version. Any hint ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258615#4258615 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258615 From do-not-reply at jboss.com Mon Oct 5 07:24:13 2009 From: do-not-reply at jboss.com (tknyziak) Date: Mon, 5 Oct 2009 07:24:13 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Locking parent nodes even with lockParentForChildInsertRemov Message-ID: <3178902.1254741853160.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, To stress test my JBossCache instance (3.2.0 GA, local mode, synchronous JDBCCacheLoader), I've designed a multi-threaded application which inserts numerous nodes under a common root, e.g. /a/b/c/1, /a/b/c/2, /a/b/c/3, etc. The cache is configured NOT to lock parents for child insert/remove, still, I occasionally get TimeoutExceptions while trying to lock one of the parent nodes, such as a or b, with the MVCCNodeHelper.wrapNodeForWriting being blamed in the stack trace. Digging into the JBoss Cache sources, I've found out that MVCCNodeHelper.wrapNodeForWriting is being called recursively, and although lockForWriting parameter is false for parent nodes, they still get write-locked, I assume - because they don't exist in the current InvocationContext and are 'createdIfAbsent' - which in turn locks their Fqn's for writing until they're fetched from the DataContainer. To make long story short, this seems to me like the lockParentForChildInsertRemove = false setting is not effective in my case - parents get locked for writing anyway. Might it be by design? Has anybody stumbled upon this? Or should MVCCNodeHelper.wrapNodeForWriting delegate the recursive call for parent node to wrapNodeForReading (instead of wrapNodeForWriting) if lockParent = false and parent is not in the InvocationContext? Any help greatly appreciated, Kind Regards Tomasz Knyziak View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258622#4258622 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258622 From do-not-reply at jboss.com Mon Oct 5 07:41:10 2009 From: do-not-reply at jboss.com (cnstntn) Date: Mon, 5 Oct 2009 07:41:10 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - ThreadLocal in handler chain. Message-ID: <12679010.1254742870948.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, The "Web Services for Java EE, Version 1.2"(JSR 109, chapter 6.2.3) says: "A container is not required to use the same thread for invoking each Handler or for invoking the Service Implementation Bean." Does it mean that i can not use ThreadLocal from Handler to pass variables to Service Implementation Bean? Does JBOSS use the same thread to invoke handlers and service beans? Where i can find information according to this problem? Thank you for answers. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258629#4258629 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258629 From do-not-reply at jboss.com Mon Oct 5 07:48:07 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Mon, 5 Oct 2009 07:48:07 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <25839795.1254743287978.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, did you move your code to "WebAuthentication"? If yes: please post an update. I am not sure whether the WebAuthentication class will work with a Struts2 interceptor, but I hope so. "HttpServletRequest.isUserInRole" should be part of the Tomcat implementation of the servlet spec. So, if you need the sources, take a look at the Tomcat source code. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258631#4258631 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258631 From do-not-reply at jboss.com Mon Oct 5 07:53:59 2009 From: do-not-reply at jboss.com (bdamato) Date: Mon, 5 Oct 2009 07:53:59 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: More ServiceBindingSet questions Message-ID: <12613998.1254743639743.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> | 2009-10-05 07:44:37,270 WARN [org.jboss.annotation.factory.AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent | 2009-10-05 07:44:37,886 WARN [org.jboss.annotation.factory.AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent | 2009-10-05 07:44:42,829 INFO [org.apache.catalina.core.AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/lib | 2009-10-05 07:44:43,210 INFO [org.apache.coyote.ajp.AjpProtocol] Initializing Coyote AJP/1.3 on ajp-0.0.0.0-8709 | 2009-10-05 07:44:43,334 INFO [org.apache.catalina.core.StandardService] Starting service jboss.web | 2009-10-05 07:44:43,347 INFO [org.apache.catalina.core.StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA | 2009-10-05 07:44:43,693 INFO [org.apache.catalina.startup.Catalina] Server startup in 481 ms | 2009-10-05 07:44:43,812 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/jbossws | .... | | 2009-10-05 07:46:02,831 INFO [org.jboss.web.tomcat.service.deployers.TomcatDeployment] deploy, ctxPath=/vpservice | 2009-10-05 07:46:03,853 INFO [org.apache.coyote.ajp.AjpProtocol] Starting Coyote AJP/1.3 on ajp-0.0.0.0-8709 | 2009-10-05 07:46:04,034 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 5m:1s:569ms | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258632#4258632 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258632 From do-not-reply at jboss.com Mon Oct 5 07:55:57 2009 From: do-not-reply at jboss.com (richard.opalka@jboss.com) Date: Mon, 5 Oct 2009 07:55:57 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: ThreadLocal in handler chain. Message-ID: <9003011.1254743757018.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "cnstntn" wrote : | Does it mean that i can not use ThreadLocal from Handler to pass variables to Service Implementation Bean? | You shouldn't use threadlocals in handlers on client side, because executor threads can be different (you can customize executors on service proxy BTW). "cnstntn" wrote : | Does JBOSS use the same thread to invoke handlers and service beans? | On server side yes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258633#4258633 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258633 From do-not-reply at jboss.com Mon Oct 5 08:02:36 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Mon, 5 Oct 2009 08:02:36 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Urgent: org.jboss.xb.binding.JBossXBException: Failed to Message-ID: <6768451.1254744156904.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, seems your "jboss-web.xml" is invalid (order of elements is wrong). JBoss 5 is much stricter when validating xml files against DTD/schema. Please use an editor which validates the file (e.g. Eclipse + Web Tools Platform) to verify and fix the file. Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258635#4258635 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258635 From do-not-reply at jboss.com Mon Oct 5 08:03:14 2009 From: do-not-reply at jboss.com (snjeza) Date: Mon, 5 Oct 2009 08:03:14 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Issues with Maven support in JBoss Tools M3 Message-ID: <27147359.1254744194588.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Which version of m2eclipse are you using? Could you send log file? It would be good if you could try the latest version of m2eclipse (http://m2eclipse.sonatype.org/update-dev) and JBoss Tools nightly build (http://download.jboss.org/jbosstools/updates/nightly/trunk). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258636#4258636 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258636 From do-not-reply at jboss.com Mon Oct 5 08:12:37 2009 From: do-not-reply at jboss.com (belcar) Date: Mon, 5 Oct 2009 08:12:37 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Nullpointer while creating a remote JMS Session Message-ID: <11783304.1254744757734.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I've managed to reproduce this error on a windows environment, but only when the 2 JBoss processes are remote. Since you need to patch JBoss Remoting to get JBM working I guess my issue might be related to just that! As a result, I wonder how and where I need to provide this patch. Currently I've added the jboss-remoting (2.2.3) to the WEB-INF/lib but that doesn't seem to work. Can somebody please provide more details about this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258637#4258637 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258637 From do-not-reply at jboss.com Mon Oct 5 08:30:17 2009 From: do-not-reply at jboss.com (belcar) Date: Mon, 5 Oct 2009 08:30:17 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Nullpointer while creating a remote JMS Session Message-ID: <14890807.1254745817237.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> FYI: The update to JBM 1.4.5 had no effect. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258641#4258641 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258641 From do-not-reply at jboss.com Mon Oct 5 08:44:19 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 5 Oct 2009 08:44:19 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <6672985.1254746659321.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> When you say "JBoss", what are you talking about? The JBoss Application Server, or JBoss Tools? I think you mean JBoss Tools, so that is what my answer is based on. anonymous wrote : What is the best method install Jboss? The best way to install JBoss Tools is by using the Install New Software selection in the Help menu in Eclipse. anonymous wrote : I can specify where the Seam is located Did you download Seam? Then all you need to do in Eclipse to create a Seam runtime is specify the directory into which you unzipped Seam. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258644#4258644 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258644 From do-not-reply at jboss.com Mon Oct 5 08:57:35 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 5 Oct 2009 08:57:35 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Diff response times at different times Message-ID: <33059934.1254747455984.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Looks like you are following my instructions for graphing the GC data, but you incorrectly added the "after" and "millis" data points to the graph. When adding the extra data points, be sure to select the entire column and to place that selection in the "Y Values" box, and leave the "X Values" box blank. I suspect you switched the values of these two boxes. Based on the current graphs, I don't think that 1GB is a sufficient heap size, try 1.5GB. and increase the young gen size to 500MB. As to the response time differences, it could be the major GC time, but as I noted, the graphs are not correctly plotted so I cannot tell what the GC times are. You could, of course, scan the GC times for the major collections to see about how long each one takes. How many processors/cores are on your system? If you have several, you might try the CMS collection. Are you running a 32-bit or 64-bit JVM? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258646#4258646 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258646 From do-not-reply at jboss.com Mon Oct 5 09:01:16 2009 From: do-not-reply at jboss.com (surajmundada@yahoo.com) Date: Mon, 5 Oct 2009 09:01:16 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - authentication failed while JBPM console login Message-ID: <3739853.1254747676556.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I just installed JBoss-5.1.0-GA-JGK-6 JBPM 4.1 as per JBPM user guide. I started JBoss and database through "demo.setup.jboss" ant task. I want to access JBPM console at http://localhost:8080/jbpm-console. I used username and passwords as (mary, password), (alex, password), (admin,admin), (j2ee, j2ee). But still can not login into JBPM console. I am using default database HyperSonic. REgards, Suraj View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258649#4258649 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258649 From do-not-reply at jboss.com Mon Oct 5 09:23:43 2009 From: do-not-reply at jboss.com (JithuK) Date: Mon, 5 Oct 2009 09:23:43 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Urgent: org.jboss.xb.binding.JBossXBException: Failed to Message-ID: <8275696.1254749023216.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello Knauf, Many thanks for the inputs.. But, Still I not able to understand what is wrong in it.. Below is my jboss-web.xml. Can you please advice what needs to be corrected here ?... common.ProcessMonitor common.ProcessMonitor false org.jboss.ejb.plugins.StatelessSessionInstancePool 10 1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258662#4258662 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258662 From do-not-reply at jboss.com Mon Oct 5 09:25:44 2009 From: do-not-reply at jboss.com (JithuK) Date: Mon, 5 Oct 2009 09:25:44 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Urgent: org.jboss.xb.binding.JBossXBException: Failed to Message-ID: <14074241.1254749144287.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Maximim and minimum tag disappeared.. Here is it once again.. common.ProcessMonitor common.ProcessMonitor false org.jboss.ejb.plugins.StatelessSessionInstancePool 10 1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258663#4258663 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258663 From do-not-reply at jboss.com Mon Oct 5 09:36:03 2009 From: do-not-reply at jboss.com (praenti) Date: Mon, 5 Oct 2009 09:36:03 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <13377520.1254749763139.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Using the Webauthentication does only have to be used from the interceptor instead of my own LoginFacade as I have seen. First of all is this correct? So I hope I've moved to WebAuthetication in the correct way. I have seen a example how to implement a struts 1 filter. I have used the code to implement my struts 2 interceptor. And this is the current error: | 15:05:30,318 DEBUG [RealmBase] Username extern.michael.obster does NOT have role AdminUser | The login principal in the LoginModule gives me a mapping "extern.michael.obster" to "AdminUser", so this is in some way a discrepance, which I suppose that s.th. of the security context is lost (therefor I wanted to have "deeper" debugging, but I don't see a way how to do it because I cannot get a better acces into the JBossWebRealm.java). This is my new JaasLoginInterceptor: | /** | * | */ | package vwg.audi.cancard.ui.interceptor; | | import javax.servlet.ServletException; | import javax.servlet.http.HttpServletRequest; | | import org.apache.log4j.Logger; | import org.apache.struts2.ServletActionContext; | import org.jboss.web.tomcat.security.login.WebAuthentication; | | import vwg.audi.cancard.business.LoginFacade; | import vwg.audi.cancard.ui.JAASConstants; | | import com.opensymphony.xwork2.Action; | import com.opensymphony.xwork2.ActionInvocation; | import com.opensymphony.xwork2.interceptor.Interceptor; | | /** | * JAASLoginFilter | * | * @author Michael Obster | */ | public class JAASLoginInterceptor implements Interceptor { | | private static final long serialVersionUID = -1983088770872827621L; | | private Logger log = Logger.getLogger(this.getClass()); | | String loginDomain = ""; | String clientLoginDomain = ""; | | LoginFacade loginFacade; | | @Override | public void init() { | | } | | @Override | public String intercept(ActionInvocation actionInvocation) throws Exception { | HttpServletRequest request = ServletActionContext.getRequest(); | | String servletPath = request.getServletPath(); | String pathInfo = request.getPathInfo(); | String path = (servletPath == null ? "" : servletPath) | + (pathInfo == null ? "" : pathInfo); | if (log.isDebugEnabled()) { | log.debug("Login INTERCEPT"); | } | | if (!JAASConstants.USER_IS_VALID.equals(request | .getSession().getAttribute( | JAASConstants.USER_VALIDITY))) { | log.info("requested path: " + path); | return Action.LOGIN; | } | | //Get the user name and password based on some attributes from your FORM post | String username = (String) request.getSession().getAttribute(JAASConstants.USERNAME); //username can be any attribute | String pass = (String) request.getSession().getAttribute(JAASConstants.PASSWORD); //pass can be any attribute | | if(username == null || pass == null) { | throw new RuntimeException("username or password is null"); | } | WebAuthentication pwl = new WebAuthentication(); | pwl.login(username, pass); | | if (log.isDebugEnabled()) { | //Only when there is web login, does the principal be visible | log.debug("User Principal="+request.getUserPrincipal()); | //Some basic checks to see if the user who just did a programmatic login has a role of "AuthorizedUser" | log.debug("isUserInRole(Authorized User)="+request.isUserInRole("AdminUser")); | } | | if(request.getUserPrincipal() == null || !request.isUserInRole("AdminUser")) { | throw new ServletException("User is not authenticated or the isUserInRole check failed"); | } | | //Log the user out | pwl.logout(); | | if(request.getUserPrincipal() != null || request.isUserInRole("AdminUser")) { | throw new ServletException("User is still authenticated or pass: isUserInRole(Authorized User)"); | } | | return actionInvocation.invoke(); | } | | @Override | public void destroy() { | // loginFacade.logout(); | } | | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258664#4258664 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258664 From do-not-reply at jboss.com Mon Oct 5 09:48:17 2009 From: do-not-reply at jboss.com (vergereau) Date: Mon, 5 Oct 2009 09:48:17 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Jboss AS 4.2 to 5.1.0 Caching problem O_o Message-ID: <7216889.1254750497314.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I'm a bit confuse with JBoss AS 5.1.0 concerning Caching. I switch my application from JBoss AS 4.2 to 5.1.0 and I'm little surprise to see that doesn't work. So I look the documentation on the http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/Caching_EJB3_Entities.html but change nothing. I have a not classFound org.hibernate.cache.jbc2.JndiMultiplexedJBossCacheRegionFactory etc etc Conf on Jboss 4.2.3 | | | java:/oracleDSTest | | | | | | | | | | | | | Anyone can help me to know how to set up caching on JBOSS 5.1.0 ? Regards, J????r????me View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258668#4258668 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258668 From do-not-reply at jboss.com Mon Oct 5 09:56:25 2009 From: do-not-reply at jboss.com (prashanthkasulabadha) Date: Mon, 5 Oct 2009 09:56:25 -0400 (EDT) Subject: [jboss-user] [JMX] - JNDI lookup for all the mbeans in JBoss Message-ID: <13984603.1254750985861.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Is there any option in JBoss to do a JNDILookup for the MBeanServer and get all the mbeans information which could be similar to getting all the mbeans in weblogic like the below code. MBeanHome mbeanHome = null; try { ... // Same as earlier example mbeanHome =(MBeanHome) ctx.lookup("weblogic.management.adminhome"); } catch (NamingException ne) { ... } Thanks in advance Prashanth View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258670#4258670 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258670 From do-not-reply at jboss.com Mon Oct 5 10:00:43 2009 From: do-not-reply at jboss.com (belcar) Date: Mon, 5 Oct 2009 10:00:43 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Nullpointer while creating a remote JMS Session Message-ID: <19311376.1254751243374.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I finally found the solution for my problem. I had to put the javassist.jar and jboss-aop-jdk50.jar in my WEB-INF/lib folder to make it work. This was a lot of trial and error going on here, so I would be delighted if somebody could explain why this happened to be the (a) solution. Also why is this not documented, because I use the refdocs on a clean JBoss AS. Just to understand what's going on. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258676#4258676 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258676 From do-not-reply at jboss.com Mon Oct 5 10:07:52 2009 From: do-not-reply at jboss.com (mwx.dennis) Date: Mon, 5 Oct 2009 10:07:52 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - "Application Scope" in EJB project? Message-ID: <29929500.1254751672567.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In my project, Application clients access a JBoss AS via RMI. Each client is assigned to a specific category, but only one client per category is allowed at the same time (so there may be mutliple clients connected to the AS simultaneously, but only one of each category). How do I implement this? In a non-EJB environment I'd use synchronized login/logout methods which manage a flag for each category. But both synchronization and an application-like scope are unavailable in EJBs, right? The obvious solution would be to have a database remember the login state and handle the concurrency issue. However, this seems a bit of an overkill and so far I do not need a database and I'd love to keep it like that. Any input would be greatly appreciated! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258678#4258678 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258678 From do-not-reply at jboss.com Mon Oct 5 10:20:37 2009 From: do-not-reply at jboss.com (schamarthi) Date: Mon, 5 Oct 2009 10:20:37 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: java.io.NotSerializableException: java.util.concurrent. Message-ID: <22053963.1254752437391.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have similar issue. can you share the solution to your problem here ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258682#4258682 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258682 From do-not-reply at jboss.com Mon Oct 5 09:13:19 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 5 Oct 2009 09:13:19 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: 100% CPU utilization by JBoss java process Message-ID: <10765134.1254748399723.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> And your version of JBoss Application Server is??? OS and JVM level would be nice also. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258657#4258657 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258657 From do-not-reply at jboss.com Mon Oct 5 09:05:25 2009 From: do-not-reply at jboss.com (nilspreusker) Date: Mon, 5 Oct 2009 09:05:25 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jBPM4 - .bar deployment to embedded jBPM Message-ID: <9320601.1254747925822.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Maybe someone could give me some feedback. Should I post this in the developers forum or read the documentation better...? Thanks, Nils View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258653#4258653 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258653 From do-not-reply at jboss.com Mon Oct 5 09:04:51 2009 From: do-not-reply at jboss.com (cnstntn) Date: Mon, 5 Oct 2009 09:04:51 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: ThreadLocal in handler chain. Message-ID: <3122352.1254747891206.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "richard.opalka at jboss.com" wrote : | "cnstntn" wrote : | | Does JBOSS use the same thread to invoke handlers and service beans? | | | On server side yes. Is it writen somewhere in JBOSS specification? I would like to see the details. Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258652#4258652 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258652 From do-not-reply at jboss.com Mon Oct 5 09:11:08 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 5 Oct 2009 09:11:08 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: What is the exact correct way to make JBoss datasource J Message-ID: <21041351.1254748268890.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : Above example, could someone advises me why I have to add | Code: | | false | | to make this config works? The use-java-context setting determines where in the jndi tree the name appears. If this is true (the default), the the full name is "java:/jdbc/esoafds". If the value is false then the full name is "jdbc/esoafds". Only apps deployed into the application server can see names in the "java:" context, so if you are using a remote client to access a name, it cannot appear there. Thus you need use-java-context set to false. In you second example, the web.xml, in combination with the jboss-web.xml, is saying that any time the app requests the name "jdbc/esoafds" to actually look at "java:jdbc/esoafds". But your ap is a Spring app and you are telling it the wrong name - try "jdbc/esoafds" instead. Disclaimer: its been years since I used Spring and I don't know what funny things it does with JNDI names when looking things up, so you might have to play around with the names for a while. Also, you should use jNDIView to see what names you really have. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258656#4258656 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258656 From do-not-reply at jboss.com Mon Oct 5 10:56:13 2009 From: do-not-reply at jboss.com (averri) Date: Mon, 5 Oct 2009 10:56:13 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - How to improve performance of Message Driven Beans Message-ID: <22855835.1254754573434.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have a MDB with a very bad performance: the actual throughput is only 10 messages per second. I need to improve it to 100 messages per second. How can I configure JBoss/MDB to archive this goal? I've tried to tune the 'maxSession' property, without success. My actual MDB configuration is: @MessageDriven(activationConfig = { | @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), | @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/testQueue"), | @ActivationConfigProperty(propertyName = "maxSession", propertyValue="10"), | @ActivationConfigProperty(propertyName = "minSession", propertyValue="10"), | @ActivationConfigProperty(propertyName = "maxMessages", propertyValue="1") | }) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258686#4258686 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258686 From do-not-reply at jboss.com Mon Oct 5 10:56:47 2009 From: do-not-reply at jboss.com (opensoft) Date: Mon, 5 Oct 2009 10:56:47 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - active connections - jboss vmware windows server Message-ID: <27985956.1254754607737.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have custom developed application running in JBoss 4.2. Every day hundreds of TCP connection from Jboss remain in CLOSE_WAIT state. The problem is currently circumvented by restarting JBoss. Is there any other solution that could be taken into consideration that would help relase the connections? The server runs JBoss 4.2 on a Windows 2003 64bit in a VMware ESX Server. Silviu View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258687#4258687 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258687 From do-not-reply at jboss.com Mon Oct 5 10:59:47 2009 From: do-not-reply at jboss.com (averri) Date: Mon, 5 Oct 2009 10:59:47 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: How to improve performance of Message Driven Beans Message-ID: <19308109.1254754787664.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "averri" wrote : Hi, | | I have a MDB with a very bad performance: the actual throughput is only 10 messages per second. | | I need to improve it to 100 messages per second. How can I configure JBoss/MDB to achieve this goal? | | I've tried to tune the 'maxSession' property, without success. | | My actual MDB configuration is: | | @MessageDriven(activationConfig = { | | @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), | | @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/testQueue"), | | @ActivationConfigProperty(propertyName = "maxSession", propertyValue="10"), | | @ActivationConfigProperty(propertyName = "minSession", propertyValue="10"), | | @ActivationConfigProperty(propertyName = "maxMessages", propertyValue="1") | | }) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258688#4258688 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258688 From do-not-reply at jboss.com Mon Oct 5 11:03:01 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 5 Oct 2009 11:03:01 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Non clustered Queue Message-ID: <32126023.1254754981206.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> That should be doable. What I described before was focused on the JMS server. And with it you have a server running on every node. The queue is independent; it can be deployed via deploy-hasingleton and that will work as long as there is a JMS server running on its node. Which there will be. Hmm, big problem. The problem is to connect to that singleton queue, a remote client running would need to figure out which AS instance has the queue, and lookup the connection factory and queue from that AS. When you use the regular singleton JMS server approach, you just look things up using HA-JNDI and HA-JNDI finds the one node that has the connection factory and queue deployed. That won't work if you have a connection factory deployed everywhere. To get this to work you'd need to come up with some fancy integration of your own. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258689#4258689 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258689 From do-not-reply at jboss.com Mon Oct 5 11:06:07 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 5 Oct 2009 11:06:07 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: TCPPING configuration Message-ID: <6629275.1254755167980.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Please cut and paste the full protocol stack configuration. What you posted looks OK, so I want to see an unedited version. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258690#4258690 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258690 From do-not-reply at jboss.com Mon Oct 5 11:06:23 2009 From: do-not-reply at jboss.com (benzeman) Date: Mon, 5 Oct 2009 11:06:23 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <3880920.1254755183968.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank your reply. To base on your knowledge , what is main difference between JBoss Developer Studio 2.1 Portfolio Edition and using eclipse to update Jboss tool ? Which one is the better ? which one are you satisfied ? i am ask you that question because i embarrassed determine whether i use eclipse updating Jboss tool or JBoss Developer Studio 2.1 Portfolio Edition thank in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258691#4258691 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258691 From do-not-reply at jboss.com Mon Oct 5 11:11:55 2009 From: do-not-reply at jboss.com (slimamar) Date: Mon, 5 Oct 2009 11:11:55 -0400 (EDT) Subject: [jboss-user] [JBoss Remoting Users] - Set the 'timeout' parameter at the client side for an EJB ca Message-ID: <16259871.1254755515134.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Is it possible to set the parameter 'timeout' for a EJB call at the client side. Actually this parameter is set at the server side with the url parameter (socket://${jboss.bind.address}:3873/?clientMaxPoolSize=2&invokerDestructionDelay=28800000&timeout=3000) We are using JBoss AS 5.0.1.GA. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258692#4258692 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258692 From do-not-reply at jboss.com Mon Oct 5 11:36:14 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 5 Oct 2009 11:36:14 -0400 (EDT) Subject: [jboss-user] [JMX] - Re: JNDI lookup for all the mbeans in JBoss Message-ID: <19597428.1254756974855.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The JNDI name for the MBean server is "jmx/invoker/RMIAdaptor". You can cast that to MBeanServerConnection and from there get any MBean info you want. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258695#4258695 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258695 From do-not-reply at jboss.com Mon Oct 5 11:47:32 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 5 Oct 2009 11:47:32 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: active connections - jboss vmware windows server Message-ID: <24833287.1254757652667.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Try defining an Executor in service.xml http://tomcat.apache.org/tomcat-6.0-doc/config/executor.html. The maxIdleTime setting defines how long a thread remains idle before being terminated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258696#4258696 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258696 From do-not-reply at jboss.com Mon Oct 5 11:53:14 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 5 Oct 2009 11:53:14 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <14116158.1254757994981.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have not used JBoss Developer Studio (JDS) 2.1 Portfolio Edition, so I cannot say which one is better. It is my understanding that JDS is geared towards building applications with the corresponding JBoss Enterprise Application Platform (EAP). Thus if you want to use EAP and a development environment that has tight integration with it, then use JDS. Whihc means you are stuck using that version fo EAP, and thus the version of JBoss AS on which is is based. If you want to use the latest and greatest version of JBoss AS, stick with the latest Eclipse and the latest JBoss Tools. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258698#4258698 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258698 From do-not-reply at jboss.com Mon Oct 5 12:18:10 2009 From: do-not-reply at jboss.com (kmasood) Date: Mon, 5 Oct 2009 12:18:10 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: custom error pages for all applications? Message-ID: <2547241.1254759490926.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I've added this line in server/xxx/deploy/jboss-web.deployer/conf/web.xml: 404 /404.html and added the 404.html file in ROOT.war, with partial success. http://host:8080/blablah - returns correct 404 page http://host:8080/app1/blablah - returns a blank page ... What might be causing the blank page? I don't see anything unusual in the log files ... hmm ... /-: KM View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258699#4258699 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258699 From do-not-reply at jboss.com Mon Oct 5 12:25:38 2009 From: do-not-reply at jboss.com (njrfrens) Date: Mon, 5 Oct 2009 12:25:38 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Diff response times at different times Message-ID: <22750017.1254759938045.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I think I plotted graphs properly this time. 1. When set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m Graph is http://img169.imageshack.us/img169/6715/withoutyoung.jpg 2. When set JAVA_OPTS=%JAVA_OPTS% -Xms1024m -Xmx1024m -XX:NewSize=300M -XX:MaxNewSize=300M -XX:SurvivorRatio=32 -XX:+UseTLAB -XX:TLABSize=64K Graph is http://img203.imageshack.us/img203/9528/withyoung.jpg The server machine is having 4 processors. 32 bit JVM. What is meant by CMS collection? You mean using Concurrent Collector (Using -XX:+UseConcMarkSweepGC -XX:+UseParNewGC options)? Btw, I configured the HttpConnector with maxthreads=600. (I arrived at this number after monitoring the busy threads using JMX Console) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258700#4258700 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258700 From do-not-reply at jboss.com Mon Oct 5 12:38:34 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 5 Oct 2009 12:38:34 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Diff response times at different times Message-ID: <9744315.1254760714831.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The time data is all on the X axis. Either you have not set up a second scale for the Y axis for that data (don't ask me how to do this, I'm not a Excel expert), or you have not provided a high enough factor (I cover this in my description of building the chart, using a factor of 10000 or 100000, depending on the pause-time ranges). [I really need to come up with new scripts that plot the pause time ranges for minor and major collections... Yet another task to do in copious spare time.] Also, look at the pause times for the full collections and give me an idea of what their ranges are. Yes, CMS is the Concurrent Mark-Sweep collector. Regarding the 500 users in the SLA - is that logged in users, or simultaneous active requests? I ask because in general you can figure about 1 active request for every 10 logged-in users. Is there any think time in your load testing script? I still think you need to go with the higher memory settings. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258702#4258702 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258702 From do-not-reply at jboss.com Mon Oct 5 12:42:06 2009 From: do-not-reply at jboss.com (apemberton) Date: Mon, 5 Oct 2009 12:42:06 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Developing an automatic service Message-ID: <5483630.1254760926836.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> This sounds more like a business component than a Portal component (ie: not a portlet) that the EJB3 timer service would be well-fit for: http://java-x.blogspot.com/2007/01/ejb-3-timer-service.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258703#4258703 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258703 From do-not-reply at jboss.com Mon Oct 5 12:45:57 2009 From: do-not-reply at jboss.com (apemberton) Date: Mon, 5 Oct 2009 12:45:57 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: links from portlet content to another portal page Message-ID: <8344031.1254761157303.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The message you're getting may be resolved by configuring your jboss-portlet.xml with a transaction attribute, otherwise your two portlets won't be able to generate URLs to eachother: YourPortlet Required The the appropriate reference guide for info on the jboss-portlet.xml descriptor: http://docs.jboss.org/jbportal/v2.6.4/referenceGuide/html/jbossPortletDTD.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258704#4258704 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258704 From do-not-reply at jboss.com Mon Oct 5 12:47:17 2009 From: do-not-reply at jboss.com (dschulten) Date: Mon, 5 Oct 2009 12:47:17 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Issues with Maven support in JBoss Tools M3 Message-ID: <3731544.1254761237223.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am already using the m2eclipse from update-dev, eclipse says: Maven Integration for Eclipse (Required) 0.9.9.200909092308 org.maven.ide.eclipse.feature.feature.group Before I had used the update archive, now I switched to the URL http://download.jboss.org/jbosstools/updates/nightly/trunk/ and updated, the outcome is the same. Since this seems not to be a wrong usage, I have created a Jira Issue and will attach the logfile there: https://jira.jboss.org/jira/browse/JBIDE-4972 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258705#4258705 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258705 From do-not-reply at jboss.com Mon Oct 5 13:11:29 2009 From: do-not-reply at jboss.com (njrfrens) Date: Mon, 5 Oct 2009 13:11:29 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Diff response times at different times Message-ID: <8914016.1254762689886.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Please pardon me for my poor excel skills. The csv files for the tests are here 1. Without setting young size http://new.flyupload.com/files/view/rwy3laQamtpju9Ok1ZH9 2. With Young size setting http://new.flyupload.com/files/view/JP8mCuSxAOH8VTIGWJEj What is meant by think time? My Performance test run is done around for 8 min Where in first 2 min, no. of users slowly ramp up and then steady state is maintained for 5 min and then the no. of users will be ramped down in 1 min Though my RAM is 4 GB, unfortunately, If I am going beyond 1124 MB of heap, I'm getting some error saying that cannot allocate that much heap and the server is not getting started. I'm running I am running JBoss 4.2.3 on Intel Xeon CPU, E5405 @2.00 G.Hz,3.99 GB RAM. It has 4 processors I'm running it on 32-bit Windows Server 2003 OS View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258707#4258707 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258707 From do-not-reply at jboss.com Mon Oct 5 13:13:17 2009 From: do-not-reply at jboss.com (gengish) Date: Mon, 5 Oct 2009 13:13:17 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - wsconsume generate client from a wsdl with basic authenticat Message-ID: <24489839.1254762797938.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi, i have to generate a java client from a remote wsdl protected with basic authetication i've tried with wsconsume -k -o build -s src -p package http://utente:passwd at myip:myport/file.wsdl but i have error accessing wsdl and xsd declared inside wsdl. why? gengish View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258708#4258708 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258708 From do-not-reply at jboss.com Mon Oct 5 13:41:08 2009 From: do-not-reply at jboss.com (pieter.martin) Date: Mon, 5 Oct 2009 13:41:08 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - JBPM4 and JBoss5 and JEE Message-ID: <21491682.1254764468897.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have installed jBPM4 as per the documentation in JBoss 5.1.0.GA. I have also got an seam based ear application deployed on jboss. In my ear applIication I can successfully get a reference to the ProcessEngine via | @Resource(mappedName = "java:/ProcessEngine") | private ProcessEngine processEngine; | I can also successfully deploy a process definition, but alas then then I become stuck. Using an expression I would like to call a seam component, or if that is not possible a method on an Stateless EJB. Is this possible? Thanks Pieter View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258712#4258712 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258712 From do-not-reply at jboss.com Mon Oct 5 14:31:46 2009 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Mon, 5 Oct 2009 14:31:46 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Generating DDL from annotated POJOs Message-ID: <4493422.1254767506855.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Seems like my comments only make it through half of the time. The problem is that the class name of the jdbc driver is wrong (exactly as the error message actually says). When I look at the latest sql driver from MS it contains com.microsoft.sqlserver.jdbc.SQLServerDriver which is the new name for their driver it seems. The name used in your project is the old server name AFAIK. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258715#4258715 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258715 From do-not-reply at jboss.com Mon Oct 5 14:36:25 2009 From: do-not-reply at jboss.com (mcconnma) Date: Mon, 5 Oct 2009 14:36:25 -0400 (EDT) Subject: [jboss-user] [Clustering] - proper place for AUTH in jgroups-channelfactory-stacks.xml Message-ID: <15065975.1254767785871.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have a out-of-the-box (jboss-5.0.1.GA) 2 node cluster setup (using the 'all' config). I've added the following AUTH protocol to the UDP stack in jgroups-channel-factory-stacks.xml, with limited success: I would like to improve the MDB performance, that is actually very bad on JBoss. I'm using JBoss v4.2.3, with integrated JBossMQ. Please help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258718#4258718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258718 From do-not-reply at jboss.com Mon Oct 5 15:00:28 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 5 Oct 2009 15:00:28 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Diff response times at different times Message-ID: <643546.1254769228609.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> No need to apologize about your Excel, I am not that good at it either. The full GC pause time is only around 1 second, so GC is not the cause of the response time discrepancies you are seeing. In total you are spending about 53 seconds in GC (72 when not setting young gen size), which is a little high (1/8th of your run time)., but not too bad. I think the max heap size is due to the permgen size setting. Between the heap and the permgen you can allocate around 1700MB. You could do a run with -XX:+PrintHeapAtGC to see what your perm gen requirements are and set it accordingly. Other than that, you might want to look at your CPU usage. Is the kernel time high? If so, then that could indicate contention issues between your threads. "Think time" is the delay that you place into your load test script between requests. Some load tests simulate real environments where the users have to "think" between the time they are shown a page and when they submit the request. For example, after entering a certain page back the script might wait 20 seconds before sending the next request on the assumption that it takes the average user 20 seconds to fill in the page before making the request. This the question about your SLA is very apropos - if it is 500 logged in users then added the think time would place less of a burden on the system and lower the response time. Usually you will want to under guess the think time. In other words, when I mentioned 20 second think time in the earlier example, that was probably because most users take 40 seconds or longer. Of course, the other way to do that is assume that only, say, 1/4 or 1/5 of the users will have simultaneous requests. Then you can try a 100 or 150 user run to simulate that (though I would run 200 users just to be safe.) Have you tried 100, 200, ... 400 users? Or going 50, 100, .. 450, 500? If so, have you plotted the response times for each such run? If there is a dramatic drop between two runs that could pinpoint your saturation level. In which case you might want to reduce the number of HTTP threads to match that. For example, if with 300 users, 90% of your responses are within 15 seconds, then you could set 300 threads with a 200 request wait queue. Then the overall response time should be around 30 seconds. The idea here is to not overload the system (more threads is not always better, and adding more thread to an overloaded system is a well-known performance anti-pattern). I found out the hard way when first doing performance testing many years ago that doing the full run with the max number of users as the first run was the wrong way to do this - you need to start small and steadily increase the workload and note at what time the response times start to change drastically - that is your saturation point. And you have to find out hwy your are saturated at that point, fix that issue, see the response times go back in line, and then continue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258721#4258721 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258721 From do-not-reply at jboss.com Mon Oct 5 15:06:49 2009 From: do-not-reply at jboss.com (ozlevanon) Date: Mon, 5 Oct 2009 15:06:49 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Change Class Loader Behavior to load classes from the appli Message-ID: <11347770.1254769609214.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I'm developing an application (WAR) which has some jars which class with jboss's jars. I'm using Jboss 4.0.2 I want to make jboss load the classes from my application jars first. I've search the web and the wiki, but all I can find are things like this: anonymous wrote : For .war files, in your jboss-web.xml, the following template applies: | | | | | com.example:archive=unique-archive-name | | | | I don't understand what values I'm supposed to put in the loader-repository tag. Can you please tell me how to deploy a WAR and have Jboss use the WAR's jar first when looking for classes (I'd appreciate it if you can explicitly tell me which files to change and what their contents should be)? Thanks a lot, Oz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258722#4258722 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258722 From do-not-reply at jboss.com Mon Oct 5 15:44:53 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 5 Oct 2009 15:44:53 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: proper place for AUTH in jgroups-channelfactory-stacks.x Message-ID: <31382745.1254771893616.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Your logging is coming from the JBoss Messaging channels, which do not use the "udp" protocol stack. They use "jbm-control" and "jbm-data" lower down in the same file. So you'll need to add AUTH there as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258731#4258731 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258731 From do-not-reply at jboss.com Mon Oct 5 16:04:48 2009 From: do-not-reply at jboss.com (tcr) Date: Mon, 5 Oct 2009 16:04:48 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 - execution not waiting for Task Form inputs Message-ID: <16015674.1254773088197.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi makarandk502, if I remove the taskService.completeTask(task.getId()); and change the assert to check for "review" instead of "wait" the tests works for me. I only had a 4.0 to hand, not 4.1 but I think this should work in 4.1.... ....... | Task task=taskList.get(0); | | //taskService.completeTask(task.getId()); | | System.out.println("List is"+taskList); | | //verify that process moved to the next state | processInstance = executionService.findProcessInstanceById(pid); | assertTrue(processInstance.isActive("review")); | regards! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258734#4258734 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258734 From do-not-reply at jboss.com Mon Oct 5 16:07:26 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 5 Oct 2009 16:07:26 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: More ServiceBindingSet questions Message-ID: <7458818.1254773246862.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Looking at the bindings-jboss-beans.xml, the "redirectPort" of the connector is calculated from the XSLT transform configuration: | | | ... | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... | As can be seen, the "redirectPort" is set to $portHttps, which itself is calculated as $port + 363. The $port is your HTTP port which in your case, because of the offset 700, is 8780. So redirectPort = 8780 + 363 = 9143 and that's what you are seeing. You mentioned that you have disabled HTTP connector: anonymous wrote : so I have the HTTP and HTTPS connectors disabled in jbossweb.sar/server.xml So to get around this issue, try setting a fixed port 8080 in the bindings-jboss-beans.xml for the HTTP port, so that the redirectPort gets calculated as 8080 + 363 = 8443. Here's an example (haven't checked for syntax or other semantics): | | | | CouponEngineBindings | | ${jboss.bind.address} | | 700 | | | | | | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258735#4258735 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258735 From do-not-reply at jboss.com Mon Oct 5 16:27:56 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 5 Oct 2009 16:27:56 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: How to improve performance of Message Driven Beans Message-ID: <3117129.1254774476411.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "averri" wrote : | | I need to improve it to 100 messages per second. How can I configure JBoss/MDB to archive this goal? | | I've tried to tune the 'maxSession' property, without success. The Message Driven bean configurations in JBOSS_HOME/server/< serverName>/deploy/ejb3-interceptors-aop.xml is configured to use StrictMaxPool with max 15 instances: | ... | | @org.jboss.ejb3.annotation.Pool (value="StrictMaxPool", maxSize=15, timeout=10000) | | | In combination with the maxSession value, also configure your MDB to set the Pool size of your choice, as explained here http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/reference/1.0.7/html/SessionBean_and_MDB_configuration.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258741#4258741 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258741 From do-not-reply at jboss.com Mon Oct 5 16:33:06 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 5 Oct 2009 16:33:06 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: How to improve performance of Message Driven Beans Message-ID: <27089842.1254774786576.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "averri" wrote : I would like to improve the MDB performance, that is actually very bad on JBoss. | | I'm using JBoss v4.2.3, with integrated JBossMQ. | | Please help! | Ah, you are using JBoss AS-4.2.x. The docs that i refered you to are for JBoss AS-5.x. You will have to do similar configurations even in AS 4.x and you can follow this documentation for AS-4.x http://www.jboss.org/ejb3/docs/reference/build/reference/en/html/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258743#4258743 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258743 From do-not-reply at jboss.com Mon Oct 5 17:05:31 2009 From: do-not-reply at jboss.com (bdamato) Date: Mon, 5 Oct 2009 17:05:31 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: More ServiceBindingSet questions Message-ID: <20610279.1254776731488.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> That did it, thanks jaikiran! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258749#4258749 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258749 From do-not-reply at jboss.com Mon Oct 5 17:33:25 2009 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 5 Oct 2009 17:33:25 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4 and JBoss5 and JEE Message-ID: <30362233.1254778405273.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Nope, at least not yet. Searching the jira helps btw.... this time (due to my own curiosity) I did it for you. https://jira.jboss.org/jira/browse/JBPM-2203 https://jira.jboss.org/jira/browse/JBPM-2412 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258753#4258753 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258753 From do-not-reply at jboss.com Mon Oct 5 17:36:39 2009 From: do-not-reply at jboss.com (bestage) Date: Mon, 5 Oct 2009 17:36:39 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Starting process instance by key Message-ID: <5593804.1254778599364.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Today in a project we are currently doing, I was suprised to find out that startProcessInstanceByKey(procDefId, key) allows to use the same key many times. Although it is clear that this is intended to be a business key, I still wonder why it is not forced to be unique. I actually planned to use this key as some sort of locking mechanism to lock the business object used by a process against being used in another process instance. Thus if I'd start another process instance with the same key whilst the previous one is running, I'd expect to get an exception. Now, the only work around seems to be to check before starting a new process instance, if another process instance is running with the same key and not allow to start the new instance until the previous one is finished. Does anyone have a better idea? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258755#4258755 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258755 From do-not-reply at jboss.com Mon Oct 5 17:52:30 2009 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 5 Oct 2009 17:52:30 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 : Running jbpm test case - issue Message-ID: <1481591.1254779550914.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yes, that is the line that 'cause the error' but the real error is that your parser does not understand it. So maybe you are not aware of some other parser but afaik, if a specific xml parser is loaded via jaxp, that will be used by other applications as well. The Aefred parser is not a default parser of my jdk's (openjdk 1.6 and the sun 1.6 jdk) So it might be part of some plug-in or library or whatever. But.... this is only based on my experience with this error in previous projects View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258757#4258757 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258757 From do-not-reply at jboss.com Mon Oct 5 17:53:58 2009 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 5 Oct 2009 17:53:58 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: authentication failed while JBPM console login Message-ID: <15737669.1254779638727.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yes, if this does not work, "something" is wrong. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258758#4258758 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258758 From do-not-reply at jboss.com Mon Oct 5 18:15:37 2009 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 5 Oct 2009 18:15:37 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Starting process instance by key Message-ID: <22112733.1254780937548.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> According to the docs it *should* be unique, so in that case the only thing missing according to you is a unique constraint on the database. Personally, I make the key unique myself by using it in a 'compound' way. I used a license plate number, followed by a colon and a date (assuming two insurance claims were not started on the same day). In other demo I used the insurance claim number for the businesskey, making it unique in that way and prevent duplicates. I've not run into a problem with this, but it might not hurt to add a unique constraint. Please file a jira issue for this, though I'm not 100% sure what the outcome might be. You could discuss this on the dev list first. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258761#4258761 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258761 From do-not-reply at jboss.com Mon Oct 5 21:01:36 2009 From: do-not-reply at jboss.com (G_Thimm) Date: Mon, 5 Oct 2009 21:01:36 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Message-ID: <31945223.1254790896738.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi! If the information on the categories is obsolete once the application is restarted, your could use a EJB 3.1 (or larger) Singleton Bean to mimic the database. Hope this helps, Georg View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258769#4258769 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258769 From do-not-reply at jboss.com Mon Oct 5 22:24:13 2009 From: do-not-reply at jboss.com (smartz) Date: Mon, 5 Oct 2009 22:24:13 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - how to use catalog files in jbossws? Message-ID: <20412685.1254795853149.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have a WSDL that imports an external schema using a URL: | ... | | | | | | ... | The URL (127.0.0.1:9090) is not available while consuming the WSDL (wsconsume/wsimport), nor at runtime. I would like to avoid editing the WSDL, so I have created a catalog file (see below) and I am able to run wsconsume/wsimport correctly using the 'catalog' ant attribute; however, I cannot understand how to provide the catalog file in the runtime environment (deployed WAR/EAR). I have tried putting the catalog file in META-INF and WEB-INF, but it does not seem to be picked. I am running JBoss 4.2.3 with JBossWS jbossws-3.0.1-native-2.0.4.GA Catalog file (jax-ws-catalog.xml): | | | | thanks in advance for any help View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258770#4258770 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258770 From do-not-reply at jboss.com Mon Oct 5 22:29:02 2009 From: do-not-reply at jboss.com (smartz) Date: Mon, 5 Oct 2009 22:29:02 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: how to use catalog files in jbossws? Message-ID: <2788733.1254796142383.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The stacktrace I am getting while creating the service client (SimpleServiceService.getSimpleServiceBinding()) is: | java.lang.IllegalArgumentException: Cannot resolve imported resource: http://127.0.0.1:9090/SimpleService/Schema | org.jboss.ws.tools.wsdl.WSDLLocatorImpl.getImportInputSource(WSDLLocatorImpl.java:141) | org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.parseSchema(JBossWSDLReaderImpl.java:779) | org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.parseSchema(JBossWSDLReaderImpl.java:659) | org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.parseTypes(JBossWSDLReaderImpl.java:620) | org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.parseDefinitions(JBossWSDLReaderImpl.java:332) | org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.readWSDL(JBossWSDLReaderImpl.java:2293) | org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.readWSDL(JBossWSDLReaderImpl.java:2257) | org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.readWSDL(JBossWSDLReaderImpl.java:2310) | org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.readWSDL(JBossWSDLReaderImpl.java:2331) | org.jboss.ws.tools.wsdl.JBossWSDLReaderImpl.readWSDL(JBossWSDLReaderImpl.java:2363) | org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:127) | org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:295) | org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.buildMetaData(JAXWSClientMetaDataBuilder.java:86) | org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.(ServiceDelegateImpl.java:140) | org.jboss.ws.core.jaxws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:64) | javax.xml.ws.Service.(Service.java:81) | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258771#4258771 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258771 From do-not-reply at jboss.com Tue Oct 6 00:21:46 2009 From: do-not-reply at jboss.com (pieter.martin) Date: Tue, 6 Oct 2009 00:21:46 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4 and JBoss5 and JEE Message-ID: <25240538.1254802906168.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks, I'll be watching those jiras closely as for now I'll have to go back to using jBPM3. Pieter View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258778#4258778 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258778 From do-not-reply at jboss.com Tue Oct 6 01:26:05 2009 From: do-not-reply at jboss.com (abhijitdas.cs@gmail.com) Date: Tue, 6 Oct 2009 01:26:05 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Error in submit portlet page using javascript Message-ID: <23246197.1254806765479.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am using javascript function to submit a button in portlet. The URL is given by the createActionURL() in my Portlet class. Once it is submitted, processAction() is called but the input values are not passed in the ActionRequest object. So, I cannot get the inserted values in the processAction(). If the same URL is assigned to the action attribute of tag , It is working fine using submit form. But, my page consists of more than one submit , so I have to use buttons and javascript function to submit . NOTE :I am dynmically assigning the URL value in the my XHTML page Thanks, Abhijit View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258784#4258784 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258784 From do-not-reply at jboss.com Tue Oct 6 01:29:51 2009 From: do-not-reply at jboss.com (makarandk502) Date: Tue, 6 Oct 2009 01:29:51 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 - execution not waiting for Task Form inputs Message-ID: <10063940.1254806991854.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Even in my case, its reaching at "review" task. print statements like "List is[Task(review)]" But in "review" task, we have associated a form which can be viewed in jbpm console. Ideally we should view the form and once we enter "submit" , it should proceed further. Basically it is not waiting for user inputs in taskform But I am not able to see the form in jbpm console and it is deleting process instance. I am attaching jbpm test case result below. | 11:00:00,036 FIN | [TaskQueryImpl] select task from org.jbpm.pvm.internal.task.TaskImpl as task where task.assignee = :assignee order by task.priority desc | 11:00:00,036 FIN | [TaskQueryImpl] setting parameter assignee: peter | 11:00:00,066 FIN | [DbSessionImpl] deleting history process instance FormDynamic.1 | 11:00:00,087 FIN | [DbSessionImpl] deleting process instance FormDynamic.1 | 11:00:00,097 FIN | [DeleteDeploymentCmd] deleting deployment 1 | 11:00:00,127 FIN | [BaseJbpmTestCase] === ending testTaskAssignee ============================= | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258785#4258785 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258785 From do-not-reply at jboss.com Tue Oct 6 02:23:42 2009 From: do-not-reply at jboss.com (prashanthkasulabadha) Date: Tue, 6 Oct 2009 02:23:42 -0400 (EDT) Subject: [jboss-user] [JMX] - Re: JNDI lookup for all the mbeans in JBoss Message-ID: <22227165.1254810222986.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks Peter I am not sure about this lookup, will it fetch all the mbeans. I also found jmx/invoker/HttpAdaptor which also gets some MBeans but I am not sure whether both fetch the same MBeans. It could be better if I can know the list of all the lookup strings available so that I can get maximum number of MBeans info. Other queries of mine are 1. How to get the connection string from the server 2. How to get the details of all the instances which are running in the JBoss server. (For example I have deployed three wars, a.war,b.war and c.war, I need the information of all the applications(war) like database connection string, application name, driver, connection type etc.. ) It could be very grateful if I can get any inormation for the above queries if not the whole info. Thanks in advance Prashanth View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258789#4258789 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258789 From do-not-reply at jboss.com Tue Oct 6 02:58:55 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Tue, 6 Oct 2009 02:58:55 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Deploying exploded war files in jboss from eclipse Message-ID: <24606979.1254812335280.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> My set up is an ear with jars and wars inside. I have an eclipse project setup and the enterprise project output is put up in exploded form(the ear is a folder and not an archive). But whatever i do my web project inside the ear is put to deploy as an archive. I want it to be deployed as a folder... Tried changing the dependency type for the web project to consumes, but this creates more problems as the ear project doesnt even recognize the war project then. Any help.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258790#4258790 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258790 From do-not-reply at jboss.com Tue Oct 6 03:16:30 2009 From: do-not-reply at jboss.com (njrfrens) Date: Tue, 6 Oct 2009 03:16:30 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Diff response times at different times Message-ID: <28387413.1254813390014.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks Peter For your excellent support. During the load test run, I saw that the CPU utilization is around 60-70% I'm setting the PermGen Size to 512m with the params -XX:PermSize=64m -XX:MaxPermSize=512m If I donot set this, I'm quickly getting Out of Memory Permgen Space Error. If I can't increase the heapsize beyond 1700MB(including permgen), Does that mean 2GB/4GB/8GB RAM will not make much difference? If garbage collector is not the culprit for the difference in response times at different intervals, I wonder what else could be the reason...? Will clustering of JBoss help me in meeting the SLA? If yes, can I try the software clustering(with out adding any other hardware), or I have to go with Hardware Clustering only? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258791#4258791 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258791 From do-not-reply at jboss.com Tue Oct 6 03:43:47 2009 From: do-not-reply at jboss.com (prachi.mukhija) Date: Tue, 6 Oct 2009 03:43:47 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Please help me to install jbpm with mysql Message-ID: <28197883.1254815027319.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am facing the same error. Here's my trace: | 12:52:52,757 INFO [Server] Starting JBoss (MX MicroKernel)... | 12:52:52,757 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417) | 12:52:52,758 INFO [Server] Home Dir: /home/prachi/Download/jboss/jboss-4.2.3.GA | 12:52:52,758 INFO [Server] Home URL: file:/home/prachi/Download/jboss/jboss-4.2.3.GA/ | 12:52:52,759 INFO [Server] Patch URL: null | 12:52:52,759 INFO [Server] Server Name: default | 12:52:52,759 INFO [Server] Server Home Dir: /home/prachi/Download/jboss/jboss-4.2.3.GA/server/default | 12:52:52,759 INFO [Server] Server Home URL: file:/home/prachi/Download/jboss/jboss-4.2.3.GA/server/default/ | 12:52:52,759 INFO [Server] Server Log Dir: /home/prachi/Download/jboss/jboss-4.2.3.GA/server/default/log | 12:52:52,759 INFO [Server] Server Temp Dir: /home/prachi/Download/jboss/jboss-4.2.3.GA/server/default/tmp | 12:52:52,760 INFO [Server] Root Deployment Filename: jboss-service.xml | 12:52:52,987 INFO [ServerInfo] Java version: 1.6.0_11,Sun Microsystems Inc. | 12:52:52,987 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 11.0-b16,Sun Microsystems Inc. | 12:52:52,987 INFO [ServerInfo] OS-System: Linux 2.6.27.9-73.fc9.i686,i386 | 12:52:53,260 INFO [Server] Core system initialized | 12:52:54,861 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ | 12:52:54,862 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml | 12:52:55,181 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. | 12:52:55,181 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer | 12:52:55,333 INFO [TransactionManagerService] Starting recovery manager | 12:52:55,400 INFO [TransactionManagerService] Recovery manager started | 12:52:55,400 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference | 12:52:57,313 INFO [EJB3Deployer] Starting java:comp multiplexer | 12:52:58,942 INFO [NativeServerConfig] JBoss Web Services - Native | 12:52:58,942 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044) | 12:52:59,784 INFO [Embedded] Catalina naming disabled | 12:52:59,907 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/java/lib/i386/server:/usr/java/java/lib/i386:/usr/java/java/../lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib | 12:52:59,955 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 | 12:52:59,955 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 | 12:52:59,955 INFO [Catalina] Initialization processed in 170 ms | 12:52:59,955 INFO [StandardService] Starting service jboss.web | 12:52:59,957 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA | 12:52:59,993 INFO [Catalina] Server startup in 37 ms | 12:53:00,080 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/ | 12:53:00,565 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/ | 12:53:00,745 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/ | 12:53:00,869 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ | 12:53:01,507 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ | 12:53:01,989 INFO [MailService] Mail Service bound to java:/Mail | 12:53:02,079 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar | 12:53:02,111 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar | 12:53:02,139 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar | 12:53:02,193 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar | 12:53:02,322 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar | 12:53:02,352 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar | 12:53:02,411 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar | 12:53:02,419 INFO [QuartzResourceAdapter] start quartz!!! | 12:53:02,464 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main | 12:53:02,483 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. | 12:53:02,485 INFO [RAMJobStore] RAMJobStore initialized. | 12:53:02,485 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' | 12:53:02,485 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 | 12:53:02,485 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. | 12:53:02,923 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' | 12:53:03,115 INFO [JbpmJobQueue] Bound to JNDI name: queue/JbpmJobQueue | 12:53:03,149 INFO [JbpmCommandQueue] Bound to JNDI name: queue/JbpmCommandQueue | 12:53:03,157 INFO [A] Bound to JNDI name: queue/A | 12:53:03,158 INFO [B] Bound to JNDI name: queue/B | 12:53:03,160 INFO [C] Bound to JNDI name: queue/C | 12:53:03,161 INFO [D] Bound to JNDI name: queue/D | 12:53:03,162 INFO [ex] Bound to JNDI name: queue/ex | 12:53:03,178 INFO [testTopic] Bound to JNDI name: topic/testTopic | 12:53:03,179 INFO [securedTopic] Bound to JNDI name: topic/securedTopic | 12:53:03,180 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic | 12:53:03,183 INFO [testQueue] Bound to JNDI name: queue/testQueue | 12:53:03,234 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093 | 12:53:03,263 INFO [DLQ] Bound to JNDI name: queue/DLQ | 12:53:03,322 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=JbpmDS' to JNDI name 'java:JbpmDS' | 12:53:03,450 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' | 12:53:03,792 INFO [EjbModule] Deploying TimerEntityBean | 12:53:03,882 INFO [EjbModule] Deploying CommandServiceBean | 12:53:03,892 INFO [EjbModule] Deploying CommandListenerBean | 12:53:03,906 INFO [EjbModule] Deploying JobListenerBean | 12:53:04,851 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'TimerEntityBean' to jndi 'java:jbpm/TimerEntityBean' | 12:53:04,861 INFO [ProxyFactory] Bound EJB Home 'TimerEntityBean' to jndi 'jbpm/TimerEntityBean' | 12:53:04,868 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'CommandServiceBean' to jndi 'java:jbpm/CommandServiceBean' | 12:53:04,873 INFO [ProxyFactory] Bound EJB Home 'CommandServiceBean' to jndi 'jbpm/CommandServiceBean' | 12:53:04,966 INFO [EJBDeployer] Deployed: file:/home/prachi/Download/jboss/jboss-4.2.3.GA/server/default/deploy/jbpm/jbpm-enterprise.jar/ | 12:53:05,002 INFO [TomcatDeployer] deploy, ctxPath=/jbpm-console, warUrl=.../deploy/jbpm/jsf-console.war/ | 12:53:05,005 WARN [TomcatDeployer] message-destination-ref 'jms/JobQueue' ignoring message-destination-link 'JobQueue' because it has a jndi-name in jboss-web.xml | 12:53:05,605 INFO [JbpmConfiguration] using configuration resource: jbpm.cfg.xml | 12:53:05,641 INFO [StaleObjectLogConfigurer] stale object exceptions will be hidden from logging | 12:53:05,672 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ | 12:53:05,754 INFO [TomcatDeployer] deploy, ctxPath=/jspLearning, warUrl=.../tmp/deploy/tmp4766398020094246831jspLearning-exp.war/ | 12:53:05,900 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 | 12:53:05,937 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 | 12:53:05,967 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 13s:206ms | I have done all the relevant configuration, however, I am not able to login to the console. Please help. Thanks ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258793#4258793 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258793 From do-not-reply at jboss.com Tue Oct 6 03:45:32 2009 From: do-not-reply at jboss.com (abirami.82) Date: Tue, 6 Oct 2009 03:45:32 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Active Directory and LdapExtLoginModule? Message-ID: <31654997.1254815132201.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> sdfsdf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258794#4258794 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258794 From do-not-reply at jboss.com Tue Oct 6 03:47:16 2009 From: do-not-reply at jboss.com (abirami.82) Date: Tue, 6 Oct 2009 03:47:16 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Active Directory and LdapExtLoginModule? Message-ID: <13838885.1254815236784.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> How should be the login page for LDAPLoginmodule?. Can anybody help. Thanks, Abirami View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258795#4258795 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258795 From do-not-reply at jboss.com Tue Oct 6 04:29:32 2009 From: do-not-reply at jboss.com (newcomer1) Date: Tue, 6 Oct 2009 04:29:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to get history variables and processInstanceId from Message-ID: <18099617.1254817772206.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is it possible to get the name of the task that was finished from the history? To be able to get the name of the finished task one have to first find the task in the HIST_TASK table, and then look it up in HIST_ACTINST (activity_name) table too? E.g. is there any plans to simplify the programming model against the history tables to traverse relations? E.g. from a HistoryTask instance to its related HIST_ACTINST row? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258801#4258801 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258801 From do-not-reply at jboss.com Tue Oct 6 04:46:02 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 6 Oct 2009 04:46:02 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Unit test succeeds but process does not properly run when de Message-ID: <12258657.1254818762211.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Good morning folks! Sorry but it's me pestering the forum with my questions again. ;) I tried to implement a kind of 4-eyes-approval where the decisions of the 2 people can be made concurrently. I had trouble with this process because when I tried to start a new instance in the jbpm-console I did not see a new instance. Furthermore when I tried to view the 2 users' tasklists to check if the tasks had been created I got an exception: | org.jboss.resteasy.spi.UnhandledException: org.hibernate.LazyInitializationException: could not initialize proxy - no Session | I thought this was a bug already reported but I don't manage to find the matching posts and the matching issue in JIRA anymore. I was sure there was a thing partly related to the engine and partly related to the console. At first I thought it was just an issue with the console because I made a unit test for the process and it passed. Afterwards I was using the API of the Process Engine instance used by the console to go through the process without using the console and it did not work. Buit when the unit test passes it should run on the server as well (in my case Tomcat), or not? Process definition and unit test follow. I am using jBPM 4.1 running on Tomcat on a Windows Server System. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | import java.util.Iterator; | import java.util.List; | import java.util.Set; | | import org.jbpm.api.ProcessInstance; | import org.jbpm.api.job.Job; | import org.jbpm.api.task.Task; | import org.jbpm.test.JbpmTestCase; | | | public class MeinTestfall extends JbpmTestCase { | | String deploymentId; | | protected void setUp() throws Exception { | super.setUp(); | | deploymentId = repositoryService.createDeployment() | .addResourceFromClasspath("parallel.jpdl.xml") | .deploy(); | } | | protected void tearDown() throws Exception { | repositoryService.deleteDeploymentCascade(deploymentId); | | super.tearDown(); | } | | public void testProcess() { | | ProcessInstance processInstance = executionService.startProcessInstanceById("parallel-2"); | | List tasksMike = taskService.findPersonalTasks("mike"); | List tasksPeter = taskService.findPersonalTasks("peter"); | | if(tasksMike.size() == 0) { | fail(); | } | | if(tasksPeter.size() == 0) { | fail(); | } | | Set activities = processInstance.findActiveActivityNames(); | | Iterator iterator = activities.iterator(); | | while(iterator.hasNext()) { | System.out.println(iterator.next()); | } | | taskService.completeTask(tasksMike.get(0).getId(), "yes"); | taskService.completeTask(tasksPeter.get(0).getId(), "yes"); | | processInstance = executionService.findProcessInstanceById(processInstance.getId()); | | activities = processInstance.findActiveActivityNames(); | iterator = activities.iterator(); | | while(iterator.hasNext()) { | System.out.println(iterator.next()); | } | | assertTrue(processInstance.isActive("approved")); | | // executing the job which would normally be executed by the JobExecutor | Job job = managementService.createJobQuery() | .timers() | .processInstanceId(processInstance.getId()) | .uniqueResult(); | | managementService.executeJob(job.getId()); | | // process instance should be finished right now | assertNull(executionService.findProcessInstanceById(processInstance.getId())); | | } | | } | | Hints?? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258805#4258805 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258805 From do-not-reply at jboss.com Tue Oct 6 04:49:53 2009 From: do-not-reply at jboss.com (roman.mandeleil@gmail.com) Date: Tue, 6 Oct 2009 04:49:53 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: TCPPING configuration Message-ID: <23071920.1254818993579.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Brian , I found your post here: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=157684 it solved almost all my problems. Thanks a lot Roman View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258806#4258806 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258806 From do-not-reply at jboss.com Tue Oct 6 04:55:02 2009 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Tue, 6 Oct 2009 04:55:02 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Deploying exploded war files in jboss from eclipse Message-ID: <25098980.1254819302128.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What are you using for the packaging ? WTP ? Our server adapter or theirs ? Project archives ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258807#4258807 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258807 From do-not-reply at jboss.com Tue Oct 6 05:14:38 2009 From: do-not-reply at jboss.com (erasmomarciano) Date: Tue, 6 Oct 2009 05:14:38 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: custom error pages for all applications? Message-ID: <7325330.1254820478300.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> This two url are different 1)http://host:8080/blablah - returns correct 404 page 2)http://host:8080/app1/blablah - returns a blank page .. You must put also in app1/WEB-INF/web.xml this code | | 404 | /404.html | Hi Georg, Thank you very much for this tip. This seems to be exactly what I'm looking for! Is this supported in JBoss AS 5.1.0? If not, when will it be available? Best regards, Dennis View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258813#4258813 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258813 From do-not-reply at jboss.com Tue Oct 6 05:46:02 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 6 Oct 2009 05:46:02 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4 and JBoss5 and JEE Message-ID: <17276930.1254822362619.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Or help out developing ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258819#4258819 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258819 From do-not-reply at jboss.com Tue Oct 6 05:46:27 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 6 Oct 2009 05:46:27 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 - execution not waiting for Task Form inputs Message-ID: <6196639.1254822387138.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Correct, since your unittest ends (how can the test know it has to wait for something..... If you e.g. build in a Thread.sleep(1000) loop endlessly and check in the loop if the task has ended (do a break then) it could work. That is *not* the way unittests are *normally* used though. The user is also 'simulated' in the unittest. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258820#4258820 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258820 From do-not-reply at jboss.com Tue Oct 6 05:50:40 2009 From: do-not-reply at jboss.com (gosgurka) Date: Tue, 6 Oct 2009 05:50:40 -0400 (EDT) Subject: [jboss-user] [Clustering] - Lifecycle methods with HASingletonDeployer Message-ID: <23356205.1254822640199.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm sorry if this is a common noob question, but I can't find a solution reading FAQs and the wiki. What I'm trying to do is writing a bean that should do some work when a new master gets elected. I've read that the recomended way is to use a MDB with dependency on 'jboss.ha:service=HASingletonDeployer,type=Barrier', and then do the work in the start lifecycle method. I guess I have to register a listener on the lifecycle phase or something since I don't get any calls to my start() method, but I don't know how to do that. The version I'm using is 4.2.2.GA. This is my tiny test bean: import javax.ejb.ActivationConfigProperty; | import javax.ejb.MessageDriven; | import javax.jms.Message; | import javax.jms.MessageListener; | | import org.jboss.annotation.ejb.Depends; | | @Depends("jboss.ha:service=HASingletonDeployer,type=Barrier") | @MessageDriven(name = "DummyMDBean", activationConfig = { | @ActivationConfigProperty(propertyName = "destinationType", propertyValue = "javax.jms.Queue"), | @ActivationConfigProperty(propertyName = "destination", propertyValue = "queue/testQueue"), | @ActivationConfigProperty(propertyName = "acknowledgeMode", propertyValue = "Auto-acknowledge") }) | public class DummyMDBean implements MessageListener { | | public void start() throws Exception { | System.out.println("=== START ==="); | } | | public void onMessage(Message message) { | System.out.println("message = " + message); | } | | public DummyMDBean() { | System.out.println("=== CREATE ==="); | } | } I have also tried using a Service bean without any luck. If the bean recieves a message DummyMDBean() and onMessage() gets called, but start() never gets called. The bean are stopped/started correct on all slaves and master, it's just the start() I can't get to work. Does anyone know of an alternative way to do the tasks when going from slave to master? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258825#4258825 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258825 From do-not-reply at jboss.com Tue Oct 6 05:50:54 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 6 Oct 2009 05:50:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to get history variables and processInstanceId from Message-ID: <4891494.1254822654629.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Guys (Girls?)... The history functionality, including the api are not fully matured yet. That is what the jira issues are about. Keep a close eye on check-ins related to those, try them out as early ass possible and comment then. Helping out is also appreciated (if you take a look at the source, you'll see the code it is not that difficult to understand) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258826#4258826 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258826 From do-not-reply at jboss.com Tue Oct 6 06:04:58 2009 From: do-not-reply at jboss.com (mcconnma) Date: Tue, 6 Oct 2009 06:04:58 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: proper place for AUTH in jgroups-channelfactory-stacks.x Message-ID: <31498345.1254823498959.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks Brian!, confirmed, by adding the AUTH to those 2 additional stacks, the observed behavior is as expected. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258832#4258832 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258832 From do-not-reply at jboss.com Tue Oct 6 06:05:36 2009 From: do-not-reply at jboss.com (praveen1401) Date: Tue, 6 Oct 2009 06:05:36 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.5 ANT start/stop tasks Message-ID: <11956404.1254823536869.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Can any one tell me how to start/stop jboss server using exec command here is the scripts: ant getting this in log file but the server is not stopping top.jboss: [echo] +-----------------------------+ [echo] | | [echo] | S T O P P I N G J B O S S | [echo] | | [echo] +-----------------------------+ [echo] [exec] shutdown: unused non-option argument: 192.168.113.17 [exec] shutdown: unused non-option argument: 8080 [exec] Exception in thread "main" javax.naming.CommunicationException: Could not obtain connection to any of these urls: localhost:1099 [Root exception is javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]] [exec] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414) [exec] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594) [exec] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) [exec] at javax.naming.InitialContext.lookup(InitialContext.java:351) [exec] at org.jboss.Shutdown.main(Shutdown.java:214) [exec] Caused by: javax.naming.CommunicationException: Failed to connect to server localhost:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect]] [exec] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:269) [exec] at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1385) [exec] ... 4 more [exec] Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server localhost:1099 [Root exception is java.net.ConnectException: Connection refused: connect] [exec] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:243) [exec] ... 5 more [exec] Caused by: java.net.ConnectException: Connection refused: connect [exec] at java.net.PlainSocketImpl.socketConnect(Native Method) [exec] at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) [exec] at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) [exec] at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) [exec] at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) [exec] at java.net.Socket.connect(Socket.java:520) [exec] at java.net.Socket.connect(Socket.java:470) [exec] at java.net.Socket.(Socket.java:367) [exec] at java.net.Socket.(Socket.java:267) [exec] at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:84) [exec] at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:77) [exec] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:239) [exec] ... 5 more [exec] Press any key to continue . . . [echo] +-----------------------------+ [echo] | J B O S S S T O P P E D | [echo] +-----------------------------+ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258833#4258833 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258833 From do-not-reply at jboss.com Tue Oct 6 06:08:52 2009 From: do-not-reply at jboss.com (npirard) Date: Tue, 6 Oct 2009 06:08:52 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to get history variables and processInstanceId from Message-ID: <10129095.1254823732224.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> of course I intend to have a look at the code, if I get time (hahaha ;-) (and even more time to set up a jbpm dev environment, write tests and everything). It is too frustrating otherwise, and probably not very complicated, as you say but there is something else I do not really get : if jbpm 4 has been released without the full history functionality, I suppose it should not be considered that important by BPM experts, then I suppose I misunderstood or mis-conceived something, as a BPM-newbie, since I feel I really need it. Well, hopefully with experience I will get wisdom too ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258834#4258834 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258834 From do-not-reply at jboss.com Tue Oct 6 06:12:17 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 6 Oct 2009 06:12:17 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe Message-ID: <16317239.1254823938002.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If the unit tests run, it means the processdefinition is ok, your usage of the api is ok, your expectation of what the engine does is ok, the way the testbaseclasses use the engine etc are ok, but it does not mean and I do not want to do any fingerpointing whatsoever, that the console uses the api in the same correct way. Maybe there have been some changes in the api that were not incorporated in the console yet. Do you have the full stacktrace to show where the error occurs? If you think it is caused by the console, please post in that forum (not under jBPM, but under http://www.jboss.org/community/wiki/BPMConsole) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258835#4258835 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258835 From do-not-reply at jboss.com Tue Oct 6 06:15:44 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 6 Oct 2009 06:15:44 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to get history variables and processInstanceId from Message-ID: <32206526.1254824144713.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : suppose it should not be considered that important by BPM experts, | Hmmm... Personally I think it is very important for comlpex usage like 'round tripping'. For simple usage it is not. (like holiday requests etc ;-)) Why it is in the state it is, I'm not sure. I'll ask one of the core devs to respond. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258836#4258836 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258836 From do-not-reply at jboss.com Tue Oct 6 06:19:47 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 6 Oct 2009 06:19:47 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Please help me to install jbpm with mysql Message-ID: <4064310.1254824387131.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> - It's no 'trace' it's just the logging with level info. - There are no errors - It is just the part until starting your JBoss server, nothing seems to have happened after that - ... Very, very difficult, impossible even, to help out here. I hope you understand that. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258838#4258838 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258838 From do-not-reply at jboss.com Tue Oct 6 06:25:47 2009 From: do-not-reply at jboss.com (praveen1401) Date: Tue, 6 Oct 2009 06:25:47 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - how to start/stop jboss sever using ant scripts Message-ID: <15327698.1254824747735.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> can any one tell me how to start and stop jboss server using ant build scripts am using ant1.7.0 jboss : 4.0.5GA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258841#4258841 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258841 From do-not-reply at jboss.com Tue Oct 6 06:27:55 2009 From: do-not-reply at jboss.com (abirami.82) Date: Tue, 6 Oct 2009 06:27:55 -0400 (EDT) Subject: [jboss-user] [Security] - Re: JAAS Security conversion from WebSphereAS to JBossAS Message-ID: <16788514.1254824875498.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Did you got any solution for this? If yes, then can you please mail the solution to bharani.82 at gmail.com. Please. Thanks, Bharani View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258842#4258842 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258842 From do-not-reply at jboss.com Tue Oct 6 06:28:46 2009 From: do-not-reply at jboss.com (cdivita) Date: Tue, 6 Oct 2009 06:28:46 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Defining classloading rules explicitly (through jboss-cl Message-ID: <6227902.1254824926338.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "jaikiran" wrote : | The jboss-classloading.xml file should be placed in WEB-INF folder and not in WEB-INF/lib. It was a typing error, the file jboss-classloading.xml is in WEB-INF folder. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258844#4258844 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258844 From do-not-reply at jboss.com Tue Oct 6 06:45:48 2009 From: do-not-reply at jboss.com (the_olo) Date: Tue, 6 Oct 2009 06:45:48 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: After migrating from JBossMQ to JBM: Message-ID: <896914.1254825948739.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> BTW, some instances of this exception are accompanied by message delivery failures: 2009-10-06 12:42:20,704 WARN [org.jboss.jms.client.container.ClientConsumer] Timed out waiting for last delivery 1 got 0 | 2009-10-06 12:42:20,709 ERROR [org.jboss.jms.client.container.ClosedInterceptor] ClosedInterceptor.ClientSessionDelegate[1q1-nuttig0g-1-i1bc6f0g-oiap2t-100j3] | : method postDeliver() did not go through, the interceptor is CLOSED | 2009-10-06 12:42:20,709 ERROR [org.jboss.jms.client.container.ClientConsumer] Failed to deliver message | javax.jms.IllegalStateException: The object is closed | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:157) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:105) | at org.jboss.jms.client.delegate.ClientSessionDelegate$postDeliver_1255239194451907669.invokeNext(ClientSessionDelegate$postDeliver_125523919445190766 | 9.java) | at org.jboss.jms.client.delegate.ClientSessionDelegate.postDeliver(ClientSessionDelegate.java) | at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:253) | at org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:1043) | at org.jboss.messaging.util.OrderedExecutorFactory$ChildExecutor.run(OrderedExecutorFactory.java:120) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) | at java.lang.Thread.run(Thread.java:595) The delivery failure occurs after a 30 second timeout from the moment the message had been sent. This isn't harmless anymore, as it causes 30 second long process executions and then failure sent back to the client. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258849#4258849 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258849 From do-not-reply at jboss.com Tue Oct 6 06:53:54 2009 From: do-not-reply at jboss.com (npirard) Date: Tue, 6 Oct 2009 06:53:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to get history variables and processInstanceId from Message-ID: <23932316.1254826434434.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hey, do not let managers read that holiday requests may be unimportant !! ;-))) > I'll ask one of the core devs to respond. thanks! I promise I will really give at least a serious look into the code this week View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258854#4258854 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258854 From do-not-reply at jboss.com Tue Oct 6 06:56:34 2009 From: do-not-reply at jboss.com (timfox) Date: Tue, 6 Oct 2009 06:56:34 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Nullpointer while creating a remote JMS Session Message-ID: <30116254.1254826594803.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> IIRC, the user manual chapter 4 explains exactly what jars you need on the classpath, and in what order. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258855#4258855 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258855 From do-not-reply at jboss.com Tue Oct 6 07:04:36 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Tue, 6 Oct 2009 07:04:36 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: problem with publish in Eclipse.... Message-ID: <555323.1254827076076.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Anybody getting a better hand on this.. Me too facing a similar issue.... Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258856#4258856 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258856 From do-not-reply at jboss.com Tue Oct 6 07:07:46 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Tue, 6 Oct 2009 07:07:46 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Deploying exploded war files in jboss from eclipse Message-ID: <12386255.1254827266850.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Im just using the jboss support provided by eclipse galileo.. nothing else.... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258858#4258858 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258858 From do-not-reply at jboss.com Tue Oct 6 07:42:02 2009 From: do-not-reply at jboss.com (mprkumar1248) Date: Tue, 6 Oct 2009 07:42:02 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Problem with IIS7(on windows 2008) with JBOSS 430 on 64bit e Message-ID: <28048636.1254829322130.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Anybody configured/using IIS7(64bit) installed on Windows 2008(64bit) with JBOSS 4.3.x or JBOSS 4.x? IIS7(64bit), Windows 2008(64bit), JBOSS(64bit) - Notworking IIS7(32bit), Windows 2008(32bit), JBOSS(32bit) - Working fine. I have googled alot but I could find this topic. Can some one tell me whether it works on 64bit or not. Even after placing the 64bit mod_jk binaries, I am facing this problem. Hence I would like to know if some one succeeded on this or not? Note: I have configured on the same environment but on 32bit as given the guide http://www.jboss.org/community/wiki/IIS7withJBOSS430. This I have prepare with screenshots after doing the setup based on the http://www.jboss.org/community/wiki/UsingModjk12WithJBossAndIIS7 document Thanks RamkumarMP View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258876#4258876 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258876 From do-not-reply at jboss.com Tue Oct 6 07:48:59 2009 From: do-not-reply at jboss.com (mprkumar1248) Date: Tue, 6 Oct 2009 07:48:59 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.2.2 redirects with IIS7 Message-ID: <22996039.1254829739137.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Try the following links. Instructions with screenshots http://www.jboss.org/community/wiki/IIS7withJBOSS430 Instructions http://www.jboss.org/community/wiki/UsingModjk12WithJBossAndIIS7 Thanks RamkumarMP View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258881#4258881 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258881 From do-not-reply at jboss.com Tue Oct 6 08:08:47 2009 From: do-not-reply at jboss.com (vijay2p) Date: Tue, 6 Oct 2009 08:08:47 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Help required for implementing SSO for Jboss Portal with Message-ID: <9940313.1254830927650.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Any feedback from experts? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258889#4258889 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258889 From do-not-reply at jboss.com Tue Oct 6 08:16:10 2009 From: do-not-reply at jboss.com (Krohm) Date: Tue, 6 Oct 2009 08:16:10 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - JBPM 4.1 : Task Count Message-ID: <1916724.1254831370827.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I am developing an application embedding JBPM 4.1. In the front end, I need to get the list of pending tasks for a given user (and page it), as well as the total number of pending tasks ( in order, for example, to determine the number of pages). I am currently using the TaskQuery interface for that. (this one http://docs.jboss.com/jbpm/v4/javadocs/org/jbpm/api/TaskQuery.html ) It is working perfectly, but I am a bit confused by the way I am counting tasks, and suspecting there is a better way to do it. Once the different filters are set (user, activity, status ...), there is a method to get all the Tasks, but none to just count them. So what I am doing for now is get the size of the list, but I am a bit afraid of what will happen if a few million records are sent back. Not mentioning the performances. Is there a "better" way to have access to this information through the standard JBPM 4.1 API ? (topic copied / pasted from this one http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162113, posted on the wrong forum) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258891#4258891 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258891 From do-not-reply at jboss.com Tue Oct 6 08:16:46 2009 From: do-not-reply at jboss.com (octafiantos) Date: Tue, 6 Oct 2009 08:16:46 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - jboss-5.1.0.GA doesn't start web service in hp-ux 11iv3 Message-ID: <21517382.1254831406407.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi all, i try to deploy jboss-5.1.0.GA in hp-ux 11iv3 (hp bl8760c, itanium based with 8gb memory). the application server will be used for java/oracle software. there's already java 1.4 and java 1.5 installed in ux (/opt/java1.4 and /opt/java1.5). i put jboss in /app/jboss-5.1.0.GA and execute the script. i have added the oracle and root user to the /etc/rc.config.d/jboss. the jboss service runs, port 8083 is listening, but unfortunately the port 8080 is not listening. i try to execute the script with oracle & root user and resulting in same thing. when i compare the server.log file from ux and my fedora testbed i find that there is nothing similar to the line "2009-09-28 16:16:32,973 INFO [org.apache.coyote.http11.Http11Protocol] (main) Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080" which i assume that this is the process when port 8080 is open. i uploaded the server.log file in http://www.sistema.co.id/server.log because it contains thousands of lines (app. 2mb). what should i do to fix the problem? any suggestions would be greatly appreciated. thank you in advance. -- singgih octafianto View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258892#4258892 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258892 From do-not-reply at jboss.com Tue Oct 6 08:31:42 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 6 Oct 2009 08:31:42 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to get history variables and processInstanceId from Message-ID: <6313564.1254832302333.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hahaha... that is not what I said... I said historical information (not your remaining days) e.g. how long it took to request a holiday etc is unimportant... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258899#4258899 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258899 From do-not-reply at jboss.com Tue Oct 6 08:36:52 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 6 Oct 2009 08:36:52 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM 4.1 : Task Count Message-ID: <20271364.1254832612877.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : there is a method to get all the Tasks, but none to just count them. Please file a jira issue for this. adding a .count() next to the .list() would make sense, and maybe even add it (in combination with paging) directly to the TaskService View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258901#4258901 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258901 From do-not-reply at jboss.com Tue Oct 6 08:43:31 2009 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 6 Oct 2009 08:43:31 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss-5.1.0.GA doesn't start web service in hp-ux 11iv3 Message-ID: <19346870.1254833011125.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : when i compare the server.log file from ux and my fedora testbed i find that there is nothing similar to the line "2009-09-28 16:16:32,973 INFO [org.apache.coyote.http11.Http11Protocol] (main) Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080" which i assume that this is the process when port 8080 is open. There seems to be some bug hiding there, because you are now the third person to report this: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158736 http://www.jboss.org/index.html?module=bb&op=viewtopic&t=159600 Those 2 threads weren't conclusive since the original poster never replied with the data that we asked for. anonymous wrote : i put jboss in /app/jboss-5.1.0.GA Where did you download it from? Which exact link? And can you please post the details that i asked for in the other thread http://www.jboss.org/index.html?module=bb&op=viewtopic&t=159600#4248612 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258906#4258906 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258906 From do-not-reply at jboss.com Tue Oct 6 09:13:27 2009 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 6 Oct 2009 09:13:27 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss-5.1.0.GA doesn't start web service in hp-ux 11iv3 Message-ID: <6209903.1254834807568.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Looking at the log file you uploaded, it contains a whole lot of exceptions including Port in use errors. You need to fix that, before looking into other issues. See this for pointers http://www.jboss.org/community/wiki/DebugBindException View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258911#4258911 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258911 From do-not-reply at jboss.com Tue Oct 6 09:22:51 2009 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Tue, 6 Oct 2009 09:22:51 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Deploying exploded war files in jboss from eclipse Message-ID: <25603969.1254835371431.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Then please install JBoss Tools and use that ;) Plain Galileo does not support exploded deployment for JBoss - JBoss Tools server adapter does. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258913#4258913 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258913 From do-not-reply at jboss.com Tue Oct 6 09:58:01 2009 From: do-not-reply at jboss.com (octafiantos) Date: Tue, 6 Oct 2009 09:58:01 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss-5.1.0.GA doesn't start web service in hp-ux 11iv3 Message-ID: <18752451.1254837481022.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> thank you for the reply, jaikiran. here is my boot.log (again, since it is too long), i uploaded to http://www.sistema.co.id/boot.log i downloaded the source from http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA-jdk6.zip/download. i extract the file to /app/jboss-5.1.0.GA and follow the instruction in /app/jboss-5.1.0.GA/bin/jboss_init_hpux.sh since there is java1.5 already, i set the JAVA_HOME to /opt/java1.5 and try to run the script with ./run.sh -b 0.0.0.0 to allow all incoming connection. it seems that it is not necessary to add the ports to /etc/services but i add some ports including 8080 to that file. i will read the DebugBindException and try to check the logs. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258921#4258921 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258921 From do-not-reply at jboss.com Tue Oct 6 09:58:11 2009 From: do-not-reply at jboss.com (njrfrens) Date: Tue, 6 Oct 2009 09:58:11 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Diff response times at different times Message-ID: <31561057.1254837491327.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> There was a typo in my earlier post regarding CPU Utilization. It was around 60-90% during peak load View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258922#4258922 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258922 From do-not-reply at jboss.com Tue Oct 6 10:23:17 2009 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 6 Oct 2009 10:23:17 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss-5.1.0.GA doesn't start web service in hp-ux 11iv3 Message-ID: <31110006.1254838997944.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "octafiantos" wrote : | | i downloaded the source from http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA-jdk6.zip/download. | | since there is java1.5 already, i set the JAVA_HOME to /opt/java1.5 and try to You downloaded the JDK 1.6 compiled AS and are running against JDK 1.5. That won't work :) You either have to download JDK 1.6 and set JAVA_HOME to that or download the JDK 1.5 variant of the AS http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/jboss-5.1.0.GA.zip/download View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258926#4258926 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258926 From do-not-reply at jboss.com Tue Oct 6 10:26:05 2009 From: do-not-reply at jboss.com (belcar) Date: Tue, 6 Oct 2009 10:26:05 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Nullpointer while creating a remote JMS Session Message-ID: <30495661.1254839165594.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Indeed, but it only mentions non-JBoss clients. It reads: "In order to access JBoss Messaging from a client outside the JBoss app server, you will need to ensure the following jar files are on the client classpath" Since I was deploying on JBoss I expected everything was already on the classpath. As result, I guess my issue was caused by classloading scoping? Thank you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258927#4258927 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258927 From do-not-reply at jboss.com Tue Oct 6 10:39:42 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 6 Oct 2009 10:39:42 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to get history variables and processInstanceId from Message-ID: <29895344.1254839982225.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Feedback from the dev team: The timeperiod for the 4.2 release (due november 1st) is to short to address these. JBPM-2568 was created as a reminder to assess the open issues for the 4.3 release. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258931#4258931 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258931 From do-not-reply at jboss.com Tue Oct 6 11:03:07 2009 From: do-not-reply at jboss.com (makam) Date: Tue, 6 Oct 2009 11:03:07 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Integration problem of jBPM 4, Spring and Hibernate Message-ID: <4184620.1254841387493.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hy , sorry by my english, Meaby can you help me... I have integrated jbpm4 with spring and hibernate, and everything work perfect, but i have problems with the delete, i can`t delete anything from de jbpm database, it throw me and "java.lang.NullPointerException" , i`don??t know what hapend because all the functions of the jbpm Api work perfect, createUser, CrearDeploy , etc... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258939#4258939 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258939 From do-not-reply at jboss.com Tue Oct 6 11:03:55 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 6 Oct 2009 11:03:55 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe Message-ID: <17653398.1254841435688.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I will try to verify on a second installation and I will post the stacktrace tomorrow. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258940#4258940 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258940 From do-not-reply at jboss.com Tue Oct 6 11:15:30 2009 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 6 Oct 2009 11:15:30 -0400 (EDT) Subject: [jboss-user] [JMX] - Re: JNDI lookup for all the mbeans in JBoss Message-ID: <16409666.1254842130992.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : I am not sure about this lookup, will it fetch all the mbeans. Did you even look at the javadoc for MBeanServerConnection? Like the queryMBeans() method? Perhaps looking at a JMX tutorial would help also. 1) What kind of connection string? Database connection? 2) JBoss AS create sevearl MBeans for each WAR deployed. You can use the MBeanServerConnection.queryMBeans() method, with a properly formatted name string, to get those MBeans. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258941#4258941 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258941 From do-not-reply at jboss.com Tue Oct 6 11:31:24 2009 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 6 Oct 2009 11:31:24 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Diff response times at different times Message-ID: <15017040.1254843084387.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : If I can't increase the heapsize beyond 1700MB(including permgen), Does that mean 2GB/4GB/8GB RAM will not make much difference? That is correct. As long as you are using a 32-bit JVM you are limited to a 32-bit (4GB) address space for each process. Windows uses 2GB of that space for its data (file handles, thread handles, GUI handles, etc) and leaves the other 2GB for the process' use. Then take away the memory required for the code (exe and dlls), the C/C++ data structures used by the JVM, and the thread stack memory, and you are left with around 1700MB, give or take a few 100 MB depending on the exact version of Windows. You would have to install a 64-bit OS and run with a 64-bit JVM to get a larger address space. anonymous wrote : If garbage collector is not the culprit for the difference in response times at different intervals, I wonder what else could be the reason...? Without profiling your code, it is hard to tell. You need to find out where you code is spending its time. Also, seriously consider my suggestion of running with different numbers of users - with 500 threads all fighting to get time on 4 cores you could just be overloading the system. Reducing the number of threads could very well improve your response times. even if you have requests queued up waiting for their turn. anonymous wrote : Will clustering of JBoss help me in meeting the SLA? Clustering using a software load balancer (Apache mod_jk) will probably work for you. 500 requests per minute (based on SLA of 1 min max response time for 500 users) is very low, usually you need to go to a hardware load balancer if you are handling hundreds (or thousands) of requests per second. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258944#4258944 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258944 From do-not-reply at jboss.com Tue Oct 6 11:37:58 2009 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 6 Oct 2009 11:37:58 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.2 ANT start/stop tasks Message-ID: <31782630.1254843478793.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> When posting XML text, please use the [ code ] tags. To do this, select the XML and click the Code button above the text editor box. [quoteFailed to connect to server localhost:1099 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258945#4258945 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258945 From do-not-reply at jboss.com Tue Oct 6 11:39:02 2009 From: do-not-reply at jboss.com (apemberton) Date: Tue, 6 Oct 2009 11:39:02 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Error in submit portlet page using javascript Message-ID: <25199876.1254843542310.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Does your javascript function send an HTTP get (ie: window.location) or an HTTP post (ie: dynamically set the action="" in your form)? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258947#4258947 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258947 From do-not-reply at jboss.com Tue Oct 6 11:48:32 2009 From: do-not-reply at jboss.com (infodavid) Date: Tue, 6 Oct 2009 11:48:32 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - bisocket and listening on all interfaces Message-ID: <10521187.1254844112650.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, We want to have jboss listening on all interfaces using 0.0.0.0 but the bisocket configuration does not allow that. Is there a solution to listen on all interfaces or we must use a physical address (not localhost) ? Thanks for your ideas. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258949#4258949 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258949 From do-not-reply at jboss.com Tue Oct 6 12:03:08 2009 From: do-not-reply at jboss.com (Krohm) Date: Tue, 6 Oct 2009 12:03:08 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM 4.1 : Task Count Message-ID: <17883257.1254844988945.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank for the advice. https://jira.jboss.org/jira/browse/JBPM-2567 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258951#4258951 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258951 From do-not-reply at jboss.com Tue Oct 6 12:05:45 2009 From: do-not-reply at jboss.com (pieter.martin) Date: Tue, 6 Oct 2009 12:05:45 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4 and JBoss5 and JEE Message-ID: <13678297.1254845145846.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ha, indeed, I had a look at the code but will have to spend a lot more time with iy to get to any kind of understanding of whats required. I imagine the way to go about this is to somehow link JBPM4 Context into WebBeans/Weld's context. Cheers Pieter View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258952#4258952 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258952 From do-not-reply at jboss.com Tue Oct 6 13:20:52 2009 From: do-not-reply at jboss.com (s3filho) Date: Tue, 6 Oct 2009 13:20:52 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - EJB with WAR Classloader Message-ID: <2909673.1254849652796.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello Everyone, I've done some tests and realized that EJBs and Web applications always run on different Classloaders A static property of a class that an EJB access doesn't necessary have the same value of the same static property of the same class that a Web applications access. I was expecting this when we do separated deploys but I've put them together inside the same EAR and the Classloaders keep different. Is there anyway of forcing that some EJBs and some Web applications share the same Classloaders? If not, is there another way of an EJB access a static property inside the Web applications? Thank you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258959#4258959 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258959 From do-not-reply at jboss.com Tue Oct 6 13:37:45 2009 From: do-not-reply at jboss.com (benzeman) Date: Tue, 6 Oct 2009 13:37:45 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install JBoss Message-ID: <181455.1254850665245.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank Peterj. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258960#4258960 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258960 From do-not-reply at jboss.com Tue Oct 6 14:53:05 2009 From: do-not-reply at jboss.com (newmanw10) Date: Tue, 6 Oct 2009 14:53:05 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Use JAX-RPC in 4.2.3.GA Message-ID: <32930553.1254855185359.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Does anyone know which system properties I need to set to use JAX-RPC in jboss 4.2.3. I don't want to use the jboss.ws stuff that comes with JBoss I want to use teh sun libs. I have the libs in the correct path but I am not sure of all the System properties I need to set to get this to work correclty. i.e. -Djavax.xml.soap.MessageFactory=com.sun.xml.messaging.saaj.soap.ver1_2.SOAPMessageFactory1_2Impl -Djavax.xml.soap.MetaFactory=com.sun.xml.messaging.saaj.soap.SAAJMetaFactoryImpl -Djavax.xml.soap.SOAPFactory=com.sun.xml.messaging.saaj.soap.ver1_2.SOAPFactory1_2Impl When I do this I get: java.lang.ClassCastException: com.sun.xml.messaging.saaj.soap.ver1_1.Envelope1_1Impl at org.jboss.ws.core.soap.SOAPEnvelopeImpl So it is still going into the jboss stuff instead of the jax-rpc stuff. Any ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258971#4258971 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258971 From do-not-reply at jboss.com Tue Oct 6 15:13:58 2009 From: do-not-reply at jboss.com (usubhash) Date: Tue, 6 Oct 2009 15:13:58 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - EJB3 entity cache in default configuration Message-ID: <27387483.1254856438467.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am using JBoss 4.2.3 and "Default" configuration. Now I have a need to do entity caching. I can see lot of documentation for caching the entities with "All" configuration or clustered environment. Is there a way to achieve entity caching for non-clustered environment? Or Default configuration of JBoss? Any pointers will be greatly appreciated. Thanks, Subhash View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258973#4258973 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258973 From do-not-reply at jboss.com Tue Oct 6 15:24:51 2009 From: do-not-reply at jboss.com (swenu) Date: Tue, 6 Oct 2009 15:24:51 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Sharing Seam projects with SVN Message-ID: <28848891.1254857091260.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm not sure, if it's the right place - if not, please move to the right one! I created a Seam web project with the jboss tools wizard. Now i want to share it with some other developers. Which files i have to ignore before i commit? Thanks in advance,swenu View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258974#4258974 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258974 From do-not-reply at jboss.com Tue Oct 6 15:47:53 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 6 Oct 2009 15:47:53 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4 and JBoss5 and JEE Message-ID: <444386.1254858473515.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yep... Maybe the spring integration can be used as an example. Several concepts are the same. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258977#4258977 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258977 From do-not-reply at jboss.com Tue Oct 6 15:50:04 2009 From: do-not-reply at jboss.com (kmasood) Date: Tue, 6 Oct 2009 15:50:04 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: custom error pages for all applications? Message-ID: <11188435.1254858604958.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> So there is no way to configure the error pages in one central place have them take effect for all other applications? Just confirming ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258978#4258978 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258978 From do-not-reply at jboss.com Tue Oct 6 15:52:16 2009 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Tue, 6 Oct 2009 15:52:16 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Sharing Seam projects with SVN Message-ID: <33366463.1254858736066.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The folder with classes...otherwise all are fine... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258979#4258979 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258979 From do-not-reply at jboss.com Tue Oct 6 16:59:39 2009 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 6 Oct 2009 16:59:39 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: custom error pages for all applications? Message-ID: <18042929.1254862779583.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If there is a way, the global web.xml is not it. Think of it this way - the configuration for a web app is the combination of the contents of the global web.xml and the web.xml specific to that app. Thus to get the 404 page for app1, you would have to place a copy of 404.html into app1.war (though you do not need to add anything to the web.xml for app1 - the global web.xml declaration is sufficient.) But this still would not work if the user entered a bad context name (for example http://hostname:8080/nosuchapp/aaa) - that would still give the app server's built in error message. There is probably a way of using a filter, or some other mechanism, to do this, however. Perhaps someone knows off-hand. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258988#4258988 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258988 From do-not-reply at jboss.com Tue Oct 6 17:03:28 2009 From: do-not-reply at jboss.com (nickboldt) Date: Tue, 6 Oct 2009 17:03:28 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Sharing Seam projects with SVN Message-ID: <31494082.1254863008327.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In addition to setting svn:ignore on bin and *.class, you probably don't want to share your .settings folder/files either. The only useful .dotfiles are .classpath and .project, IIRC. The rest are metadata specific to your workspace that don't need to be in SVN, unless you NEED to share that because w/o it the project won't compile. (In that case you could set values in build.properties, MANIFEST.MF, or .classpath to accomplish the same thing, I believe.) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258989#4258989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258989 From do-not-reply at jboss.com Tue Oct 6 17:42:58 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 6 Oct 2009 17:42:58 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM 4.1 : Task Count Message-ID: <32222312.1254865378281.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You know, on second thought, it was a question for the dev forum... well, kind of... So sorry for that. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258994#4258994 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4258994 From do-not-reply at jboss.com Tue Oct 6 18:26:25 2009 From: do-not-reply at jboss.com (VanceChristiaanse) Date: Tue, 6 Oct 2009 18:26:25 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Possible bug when namespace name ends with Message-ID: <21926327.1254867985727.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello JBoss WS fans, In the schemas in the WSDL for my web service I need to refer to the namespace URI http://www.w3.org/1999/02/22-rdf-syntax-ns# which ends with "#". Unfortunately, when I do I get an error when I start the server: Caused by: java.lang.NullPointerException | at org.jboss.ws.tools.JavaToXSD.parseSchema(JavaToXSD.java:178) | at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:451) | at org.jboss.ws.tools.wsdl.WSDL11Reader.processTypes(WSDL11Reader.java:466) | at org.jboss.ws.tools.wsdl.WSDL11Reader.processDefinition(WSDL11Reader.java:180) | at org.jboss.ws.tools.wsdl.WSDLDefinitionsFactory.parse(WSDLDefinitionsFactory.java:129) | at org.jboss.ws.metadata.umdm.ServiceMetaData.getWsdlDefinitions(ServiceMetaData.java:293) | When I remove the "#" from the namespace name in the WSDL (and regenerate classes with wsconsume and make corresponding class name changes) the web service deploys without error and clients can access it. I have created a very simple WSDL file that demonstrates this error and tested it on a clean installation of JBossAS 5.1.0.GA (released 23 May 2009). Is it okay to submit it as a bug without building from the latest source and testing? Or is this not a bug? (I notice the value of the soapAction attribute in the generated WSDL includes the fragment notation "#" whether or not the namespace name includes the "#".) Thank you for any feedback or advice, Vance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259000#4259000 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259000 From do-not-reply at jboss.com Tue Oct 6 19:12:03 2009 From: do-not-reply at jboss.com (bwalker55) Date: Tue, 6 Oct 2009 19:12:03 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Looking for standard jndi/jdbc java connection syntax Message-ID: <9344961.1254870723740.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Deploying java servlet code on jBoss for the first time and am having trouble with jndi/jdbc database connection. Code from long running Tomcat/Resin deployments look like: Context init = new InitialContext(); | Context ctx = (Context)init.lookup("java:comp/env"); | DataSource ds = (DataSource) ctx.lookup("jdbc/" + dbName); // dbname defined in Tomcat server.xml With jBoss the above code gives: javax.naming.NameNotFoundException: jdbc not bound error. As per http://www.jboss.org/community/wiki/WhyDoIGetNameNotFoundException I have changed the last line to: DataSource ds = (DataSource) ctx.lookup("java:/" + dbName); // dbname defined in *-ds.xml for jBoss and this works. However, I would like to find a solution that works on both servers. I've looked through the JNDI Wiki and FAQ as suggested in the Sticky, but there's nothing obvious jumping out at me as to what I need to do. Thanks, Bob. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259007#4259007 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259007 From do-not-reply at jboss.com Tue Oct 6 19:15:29 2009 From: do-not-reply at jboss.com (rbenko) Date: Tue, 6 Oct 2009 19:15:29 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - getDeliveringCount() analogous to getInProcessMessageCount() Message-ID: <6761175.1254870929390.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi: Sorry, newbie question. Trying to upgrade an app from JBossMQ to JBoss Messaging. I can't seem to find an answer to this. In JBossMQ, QueueMBean had a method to get the 'in-process' message count - trying to figure out what the equivalent is in JBoss Messaging. Javadoc does not have any description for QueueMBean.getDeliveringCount(). Thanks for any help. And if anybody can point me to a migration document, that would be great. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259008#4259008 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259008 From do-not-reply at jboss.com Tue Oct 6 23:30:27 2009 From: do-not-reply at jboss.com (waterg2008) Date: Tue, 6 Oct 2009 23:30:27 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Install JBossWS on AS 4.0.3SP1 Message-ID: <15257444.1254886227612.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi there, Is there any patches I can install on 4.0.3SP1 so that I can install JBossWS on it? We have other constrains on the server that we can't upgrade the server for now. Thank you very much for your help! Waterg View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259015#4259015 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259015 From do-not-reply at jboss.com Wed Oct 7 00:36:18 2009 From: do-not-reply at jboss.com (RaghavPrabhu) Date: Wed, 7 Oct 2009 00:36:18 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - Unhandled Exception on Jboss AOP Message-ID: <12703794.1254890178041.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, I am using Jboss-4.2.2.GA with AOP 1.5.5.GA. I have enabled the AOP into the App Server successfully. Its throwing the error like as in below. 16:20:59,490 WARN RequestProcessor Unhandled Exception thrown: class java.lang.RuntimeException 16:20:59,490 ERROR [action] Servlet.service() for servlet action threw exception java.lang.ClassNotFoundException: sun.reflect.GeneratedMethodAccessor131 at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204) at org.jboss.aop.pointcut.CFlow.loadClass(CFlow.java:144) at org.jboss.aop.pointcut.CFlow.matchesClass(CFlow.java:124) at org.jboss.aop.pointcut.CFlow.matches(CFlow.java:88) at org.jboss.aop.pointcut.CFlow.matches(CFlow.java:72) at org.jboss.aop.pointcut.CFlowStack.matches(CFlowStack.java:59) at org.jboss.aop.pointcut.CFlowMatcher.visit(CFlowMatcher.java:124) at org.jboss.aop.pointcut.ast.ASTCFlow.jjtAccept(ASTCFlow.java:37) at org.jboss.aop.pointcut.CFlowMatcher.visit(CFlowMatcher.java:73) at org.jboss.aop.pointcut.ast.ASTCFlowExpression.jjtAccept(ASTCFlowExpression.java:37) at org.jboss.aop.pointcut.CFlowMatcher.matches(CFlowMatcher.java:55) at org.jboss.aop.advice.CFlowInterceptor.invoke(CFlowInterceptor.java:59 ) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aop.ClassAdvisor.invokeMethod(ClassAdvisor.java:1720) at com.css.labs.plugin.core.FrontController.GridifyCommandGroup(FrontController.java) at com.css.labs.plugin.core.FrontController.PerformCommandGroup(FrontController.java:123) at com.css.labs.plugin.core.FrontController.Perform(FrontController.java:69) at com.css.labs.cblite.server.actions.MyFolderAction.execute(MyFolderAction.java:198) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) 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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481) at com.css.labs.spinneret.server.SpinneretProxyImpl.execute(SpinneretProxyImpl.java:184) at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:527) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:163) at com.google.gwt.user.server.rpc.RemoteServiceServlet.doPost(RemoteServiceServlet.java:85) at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) 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 com.css.labs.cblite.server.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:211) 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:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 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:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:619) 16:20:59,537 ERROR SpinneretProxyImpl java.lang.RuntimeException: java.lang.ClassNotFoundException: sun.reflect.GeneratedMethodAccessor131 Please help me as soon as possible! Thanks & Regards Prabhu View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259020#4259020 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259020 From do-not-reply at jboss.com Wed Oct 7 01:09:40 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Wed, 7 Oct 2009 01:09:40 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Deploying exploded war files in jboss from eclipse Message-ID: <13947450.1254892180533.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you for the info. That was really helpful... I downloaded the JBoss Archive Tools.. But how does this thing work.. i saw the option-Project Archives'- for creating the package for my project as exploded... how do i deploy the same in my server.... Any useful link for understanding the JBoss Tools stuff....... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259022#4259022 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259022 From do-not-reply at jboss.com Wed Oct 7 02:01:37 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 7 Oct 2009 02:01:37 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe Message-ID: <15894687.1254895297033.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> >From the Tomcat log files: | 07.10.2009 07:55:32 org.hibernate.LazyInitializationException | SCHWERWIEGEND: could not initialize proxy - no Session | org.hibernate.LazyInitializationException: could not initialize proxy - no Session | at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:86) | at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140) | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190) | at org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_4.getId(ExecutionImpl_$$_javassist_4.java) | at org.jbpm.integration.console.ModelAdaptor.adoptTask(ModelAdaptor.java:147) | at org.jbpm.integration.console.TaskManagementImpl.adoptTasks(TaskManagementImpl.java:69) | at org.jbpm.integration.console.TaskManagementImpl.getAssignedTasks(TaskManagementImpl.java:49) | at org.jboss.bpm.console.server.TaskListFacade.getTasksForIdRef(TaskListFacade.java:99) | 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:597) | at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:117) | at org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:260) | at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:232) | at org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:166) | at org.jboss.resteasy.core.DispatcherUtilities.getJaxrsResponse(DispatcherUtilities.java:142) | at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:356) | at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:173) | at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:93) | at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:68) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.bpm.console.server.util.GWTJsonFilter.doFilter(GWTJsonFilter.java:59) | 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:233) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) | at java.lang.Thread.run(Thread.java:619) | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259023#4259023 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259023 From do-not-reply at jboss.com Wed Oct 7 02:06:01 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 7 Oct 2009 02:06:01 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4 and JBoss5 and JEE Message-ID: <1223870.1254895561470.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Additional to watching you should also always vote if a specific issue is important to you. This helps finding priorities. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259025#4259025 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259025 From do-not-reply at jboss.com Wed Oct 7 02:57:20 2009 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 7 Oct 2009 02:57:20 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - Re: OSGi and MicroContainer Message-ID: <31707564.1254898640299.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : | I placed the bundles into the deploy directory of my JBoss instance and they are not hot deployed | This would be a bug. Bundles are supposed to get picked up like any other hot deployment to the deploy directory View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259027#4259027 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259027 From do-not-reply at jboss.com Wed Oct 7 03:09:29 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 7 Oct 2009 03:09:29 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Using Process variables as parameters for method calls Message-ID: <7928400.1254899369333.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello everybody, I was reading the section about java activities and process variables in the userguide and wondering about some things. In a java or a custom activity I could use Object getVariable(String key); to retrieve the values of process variables and then I could go use them as arguments for method calls. But that means that if I changed the names of the process variables I would need to change the implementation of the java or custom activity, too. So wouldn't it be more convient to be able to specifiy process variables in the process definition which would be passed as arguments? So in case the process variable names changed just the process definition would need need changes but the java class wouldn't need to be touched? If I got it wrong I'd be happy for some clarifying words. If not this seems to turn out to be a discussion for the dev forum, right? I was also wondering why you can specify the method name for a java activity in the GPD but not the number of arguments. Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259029#4259029 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259029 From do-not-reply at jboss.com Wed Oct 7 03:18:27 2009 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Wed, 7 Oct 2009 03:18:27 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Sharing Seam projects with SVN Message-ID: <31755474.1254899907215.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> not so fast nick ;) .settings are actually supposed to be *project* specific and not machine specific. i.e. if you don't share your .settings folder you won't get the component description needed for WTP projects! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259030#4259030 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259030 From do-not-reply at jboss.com Wed Oct 7 03:20:16 2009 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Wed, 7 Oct 2009 03:20:16 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Deploying exploded war files in jboss from eclipse Message-ID: <23947390.1254900016698.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> jboss.org/tools got links to documentation. btw. using project archives is not needed - just use our Server adapter and your existing projects can just use that server instead. project archives requires additional configuration. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259031#4259031 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259031 From do-not-reply at jboss.com Wed Oct 7 03:22:42 2009 From: do-not-reply at jboss.com (OChikvina) Date: Wed, 7 Oct 2009 03:22:42 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Deploying exploded war files in jboss from eclipse Message-ID: <11320442.1254900162499.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The nightly builds of the JBoss Tools docs find out here: http://download.jboss.org/jbosstools/nightly-docs/ There are also docs specific to JBoss Tools releases here: http://docs.jboss.org/tools/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259032#4259032 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259032 From do-not-reply at jboss.com Wed Oct 7 03:43:19 2009 From: do-not-reply at jboss.com (krasig) Date: Wed, 7 Oct 2009 03:43:19 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Find References and Refactoring for JSF and Seam EL Message-ID: <21694398.1254901399689.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi folks, Anything of this http://in.relation.to/Bloggers/FindReferencesAndRefactoringForJSFAndSeamEL is not working for me I have installed: Hibernate Tools 3.3.0.v200910051201N-H154-M4 JBoss Archives Tools 3.1.0.v200910051201N-H154-M4 JBoss Tools RichFaces 3.1.0.v200910051201N-H154-M4 JBossAS Tools 2.1.0.v200910051201N-H154-M4 Can you verified? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259036#4259036 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259036 From do-not-reply at jboss.com Wed Oct 7 03:43:57 2009 From: do-not-reply at jboss.com (3adil) Date: Wed, 7 Oct 2009 03:43:57 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: JBoss messaging hangs with an Http client Message-ID: <2948353.1254901437888.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I resolved the issue .. The problem occurs beceause that my remote client doesn't close the JMS session / Message Producer / JMS Connection. I closed the connections and the JVM exits normally. HTH. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259037#4259037 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259037 From do-not-reply at jboss.com Wed Oct 7 03:46:23 2009 From: do-not-reply at jboss.com (akazakov) Date: Wed, 7 Oct 2009 03:46:23 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Find References and Refactoring for JSF and Seam EL Message-ID: <27525200.1254901583134.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You have to install Seam Tools too if you want to use Seam Refactoring ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259039#4259039 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259039 From do-not-reply at jboss.com Wed Oct 7 04:00:19 2009 From: do-not-reply at jboss.com (mkch2000) Date: Wed, 7 Oct 2009 04:00:19 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to start JobExecutor with jBPM 4 + Spring Message-ID: <9072482.1254902419326.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have faced same issues. I'll appreciate if anyone will help us. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259041#4259041 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259041 From do-not-reply at jboss.com Wed Oct 7 04:07:50 2009 From: do-not-reply at jboss.com (krasig) Date: Wed, 7 Oct 2009 04:07:50 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Find References and Refactoring for JSF and Seam EL Message-ID: <21258642.1254902870102.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> mmmm this cool feature is for FSF+SEAN not only JSF ???? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259044#4259044 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259044 From do-not-reply at jboss.com Wed Oct 7 04:10:48 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 7 Oct 2009 04:10:48 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: Looking for standard jndi/jdbc java connection syntax Message-ID: <21057840.1254903048961.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> See this reply from Peter http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232520#4232520 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259047#4259047 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259047 From do-not-reply at jboss.com Wed Oct 7 04:20:10 2009 From: do-not-reply at jboss.com (krasig) Date: Wed, 7 Oct 2009 04:20:10 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Find References and Refactoring for JSF and Seam EL Message-ID: <15441552.1254903610773.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> FSF.equals(JSF) == true :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259052#4259052 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259052 From do-not-reply at jboss.com Wed Oct 7 04:20:15 2009 From: do-not-reply at jboss.com (swenu) Date: Wed, 7 Oct 2009 04:20:15 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Sharing Seam projects with SVN Message-ID: <3408857.1254903615189.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> thanks for all your answers! I don't know the differences what i've done yesterday and today. Now it seems to work! Thanks all! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259053#4259053 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259053 From do-not-reply at jboss.com Wed Oct 7 04:25:49 2009 From: do-not-reply at jboss.com (akazakov) Date: Wed, 7 Oct 2009 04:25:49 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Find References and Refactoring for JSF and Seam EL Message-ID: <10511490.1254903949063.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> There are a few mentioned features: Searching/Find EL references - works only for Seam. But we are going to enable it for JSF too. Seam Refactoring - it's supposed to work only for Seam ;) Renaming of EL variables used in Strings - Now we have only Seam Context variables renaming feature. But feel free to report a feature request in JIRA to rename related JSF managed bean if user changes any EL. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259057#4259057 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259057 From do-not-reply at jboss.com Wed Oct 7 04:49:17 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Wed, 7 Oct 2009 04:49:17 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Editing the JBoss AS Configuration Message-ID: <18967581.1254905357273.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Im using Jboss AS tools with eclipse for jboss5.1 configuration... Im in need of using my own setup for server startup like 1. Having a few of my custom jars also for server startup. 2. Define custom configuration folder instead of the defaults like 'all', 'default', 'minimal' etc... I mean my custom server setup has a configuration folder separate and do not the defaults. Where do i define these configurations. With the default jboss available with eclipse i used to configure the .serverdef file for the jboss server version to get these things done.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259068#4259068 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259068 From do-not-reply at jboss.com Wed Oct 7 05:01:29 2009 From: do-not-reply at jboss.com (krasig) Date: Wed, 7 Oct 2009 05:01:29 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Find References and Refactoring for JSF and Seam EL Message-ID: <15368619.1254906089958.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> https://jira.jboss.org/jira/browse/JBIDE-4990 https://jira.jboss.org/jira/browse/JBIDE-4991 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259071#4259071 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259071 From do-not-reply at jboss.com Wed Oct 7 05:16:48 2009 From: do-not-reply at jboss.com (cash1981) Date: Wed, 7 Oct 2009 05:16:48 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: bean autocompletion not working on xhtml Message-ID: <4906677.1254907008549.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I get the same problem, only have tried with JSF autocompletion. I also get this error under problems in Eclipse KB Problem: KB Nature is not installed. KB Builder is not installed. Use Quick Fix to allow JSF Content Assistant. | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259076#4259076 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259076 From do-not-reply at jboss.com Wed Oct 7 05:17:31 2009 From: do-not-reply at jboss.com (cash1981) Date: Wed, 7 Oct 2009 05:17:31 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: bean autocompletion not working on xhtml Message-ID: <32700491.1254907051301.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "cash1981" wrote : I get the same problem, only have tried with JSF autocompletion. | | I also get this error under problems in Eclipse | | KB Problem: KB Nature is not installed. KB Builder is not installed. Use Quick Fix to allow JSF Content Assistant. | | I forgot to say, I am using version 3.1.0.v200909110340M-H277-M3/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259077#4259077 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259077 From do-not-reply at jboss.com Wed Oct 7 05:18:49 2009 From: do-not-reply at jboss.com (newcomer1) Date: Wed, 7 Oct 2009 05:18:49 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Jbpm 4.1 ProcessEngine.execute() / CommandService Message-ID: <12479401.1254907129659.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> How can one access the commandservice to execute custom commands in JBpm 4? The ProcessEngine interface has a execute() method that tries to get the "user.command.service" wiredefinition (which is null by default), so the question is: what is the best practice to run custom commands in JBpm 4? Am I missing something obvious in my configuration? I'm using a Spring setup. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259078#4259078 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259078 From do-not-reply at jboss.com Wed Oct 7 05:20:30 2009 From: do-not-reply at jboss.com (akazakov) Date: Wed, 7 Oct 2009 05:20:30 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: bean autocompletion not working on xhtml Message-ID: <208070.1254907230966.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Use quick-fix to solve the porblem. See http://screencast.com/t/oKxlJ6Eaez4M and https://jira.jboss.org/jira/browse/JBIDE-4770 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259079#4259079 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259079 From do-not-reply at jboss.com Wed Oct 7 05:33:50 2009 From: do-not-reply at jboss.com (adamw) Date: Wed, 7 Oct 2009 05:33:50 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Subfqns not invalidated in INVALIDATION_SYNC mode Message-ID: <22134815.1254908030267.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I just came across a weird thing. I'm using cache 1.4.1.SP13 in INVALIDATION_SYNC mode, with 2 nodes. Let suppose I have data under FQNs "a" and "a/b". Now I execute: cache.remove("a"). On the node that I called the operation, both "a" and "a/b" are removed. However, on the other node, only "a" is removed, and "a/b" data is retained. Is it the expected behaviour? To me the more logical thing would be to remove "a" and "a/b" on both nodes. Adam View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259081#4259081 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259081 From do-not-reply at jboss.com Wed Oct 7 05:35:08 2009 From: do-not-reply at jboss.com (vchira) Date: Wed, 7 Oct 2009 05:35:08 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to start JobExecutor with jBPM 4 + Spring Message-ID: <6556859.1254908108171.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have done something like this: | import org.jbpm.api.ProcessEngine; | import org.jbpm.pvm.internal.jobexecutor.JobExecutor; | import org.springframework.beans.factory.annotation.Required; | import org.springframework.context.ApplicationEvent; | import org.springframework.context.ApplicationListener; | import org.springframework.context.event.ContextClosedEvent; | import org.springframework.context.event.ContextRefreshedEvent; | | | public class JbpmJobExecutorLoader implements ApplicationListener { | | private ProcessEngine processEngine; | | @Required | public void setProcessEngine(ProcessEngine processEngine) { | this.processEngine = processEngine; | } | | public void onApplicationEvent(ApplicationEvent applicationEvent) { | if (applicationEvent instanceof ContextRefreshedEvent) { | JobExecutor jobExecutor = processEngine.get(JobExecutor.class); | if (!jobExecutor.isActive()) { | jobExecutor.start(); | } | } else if (applicationEvent instanceof ContextClosedEvent) { | JobExecutor jobExecutor = processEngine.get(JobExecutor.class); | jobExecutor.stop(); | } | } | processEngine will be wired by Spring. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259082#4259082 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259082 From do-not-reply at jboss.com Wed Oct 7 05:44:25 2009 From: do-not-reply at jboss.com (vchira) Date: Wed, 7 Oct 2009 05:44:25 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - How can we contribute to development? Message-ID: <27657241.1254908665776.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I had a lot of problems with Jbpm and i wanted to make some code contributions or at least forward you some ideas/code changes. How can one do that?: Hiere is a short List with the Problems that i can remember: 1. Timers are a mess. You can not set the duedate/duedatetime with a date!!! the api changes to do that are minimal...i can even tell you exactly where you should change 2. how do you find the ProcessInstance when you have only the taskId??? 3. how do you search for processInstances with datavariables as filter? .......... is there a way to compile this thing and generate patches and than submit them? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259088#4259088 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259088 From do-not-reply at jboss.com Wed Oct 7 05:57:59 2009 From: do-not-reply at jboss.com (vchira) Date: Wed, 7 Oct 2009 05:57:59 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How can we contribute to development? Message-ID: <20339411.1254909479510.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> For the timer Problem a quick fix would be to change the Method setDueDateDescription in class TimerImpl like this: | public void setDueDateDescription(String dueDateDescription) { | | ScriptManager scriptManager = EnvironmentDefaults.getScriptManager(); | Object dueDateEvaluated = scriptManager.evaluateExpression(dueDateDescription, null); | if(dueDateEvaluated instanceof Date) | { | dueDate =dueDateEvaluated; | return; | } | dueDateDescription = (String) dueDateEvaluated; | | Duration duration = new Duration(dueDateDescription); | Date now = Clock.getCurrentTime(); | | ........................................... | } | a better solution would be to add a dueDateTimeDefinition in TimerDefinitionImpl and in JobParser.parseTimerDefinition() just set the definition there. after that in ScopeInstanceImpl.createTimer() evaluate dueDateTimeDefinition and if the evaluation returns a Date just set it in dueDate otherwise pare dueDateTimeDefinition as a date String..like you do now in JobParser.parseTimerDefinition(). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259093#4259093 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259093 From do-not-reply at jboss.com Wed Oct 7 06:08:17 2009 From: do-not-reply at jboss.com (jidehem) Date: Wed, 7 Oct 2009 06:08:17 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - EJB3 mutual-referring injection Message-ID: <10128690.1254910097784.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have two Session beans which depends on each other, but could not manage to make it deploy, since injection seemed to fail. Is EJB3 mutual-referring injection allowed ? For example, is the following fragment of code allowed ? | @Local | interface A { | } | | @Stateless | class BeanA{ | @EJB B b; | ... | } | | @Local | interface B { | } | | @Stateless | class BeanB{ | @EJB A a; | ... | } | Note: I use JBoss 5.1.0GA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259094#4259094 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259094 From do-not-reply at jboss.com Wed Oct 7 06:11:49 2009 From: do-not-reply at jboss.com (roman.mandeleil@gmail.com) Date: Wed, 7 Oct 2009 06:11:49 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Connection pool for ClusteredConnectionFactory, how to ? Message-ID: <27741107.1254910309007.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Fellows, I am trying to gather some information of connection pooling for JMS. Let's say I have the following architecture: FrontNode ---> Node1 <---> Node2 FrontNode gets HTTP trafic and forwards it to Node1, Node2 - cluster over JMS protocol. The system works great but the question is regarding pooling connectionFactory.createConnection(): Basicaly that code runs on FrontNode: Queue queue = (Queue) initialContext.lookup("/queue/MyQueue"); ConnectionFactory cf = (ConnectionFactory) initialContext .lookup("/MyClusteredConnectionFactory"); connection = cf.createConnection(); Obviously, the create connection is very heavy opperation because it creates the actual socket for the message. Two questions: 1) How to configure the pool for the create connection operation ? 2) The connection factory is been accessed as a stub because it been recieved over JNDI so where the configuration for the pool should be applied on the Node1 or on FronNode ? *) I am using JBoss 5.1 GA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259095#4259095 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259095 From do-not-reply at jboss.com Wed Oct 7 06:12:53 2009 From: do-not-reply at jboss.com (jidehem) Date: Wed, 7 Oct 2009 06:12:53 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: EJB3 mutual-referring injection Message-ID: <3238670.1254910373824.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Forgot to make BeanA implement interface A and to make BeanB implement interface B View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259096#4259096 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259096 From do-not-reply at jboss.com Wed Oct 7 06:25:32 2009 From: do-not-reply at jboss.com (newcomer1) Date: Wed, 7 Oct 2009 06:25:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to start JobExecutor with jBPM 4 + Spring Message-ID: <15294996.1254911132959.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "unsavory" wrote : Does anyone have any idea how to start the JobExecutor? I have configured the JobExecutor in the jbpm.cfg.xml file and it is working. However, it only seems to run when an asynchronous activity is started (ie: a task with a timeout in it is created). | | According to the documentation I just need to add this line to my jbpm.cfg.xml: | | | | I'm concerned because the JobExecutor does not seem to run when the server is started such as in a server restart. Therefore if I had old jobs from before the server was shut down, they would not run. | | I'm running jBPM 4 in a Spring container if that matters. We are also running jBPM 4 in spring + JTA and we are not having the same problem as you describe. We start our spring context from a simple war project that uses a parent spring context loader at the ear level (we are also using ejbs). When the application is started the jobexecutor is started automaticly as we have setup spring to execute the buildProcessEngine factory method on SpringJbpmConfiguration at spring startup (lazy-init=false). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259097#4259097 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259097 From do-not-reply at jboss.com Wed Oct 7 06:29:55 2009 From: do-not-reply at jboss.com (ryden13) Date: Wed, 7 Oct 2009 06:29:55 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Problem with maven building JBoss AS Message-ID: <10387252.1254911395397.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello I have a problem building AS. When I execute build.bat some errors appear: Error building POM (may not be this project????s POM) Project ID: org.jboss.jbossas:jboss-as-component-matrix:5.1.0.GA Reason: Cannot find parent: org.jboss:jboss-parent for project: org.jboss.jbossas: jboss-as-component-matrix:pom:5.1.0.GA I have installed Java version 1.6.0_16 , Ant 1.7.1 and Maven 2.0.10 I have tried with different AS versions: 5.1.0 GA, 5.1.0Beta1, 5.1.0CR1 and always I have the same kind of problem. Could you help me? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259099#4259099 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259099 From do-not-reply at jboss.com Wed Oct 7 06:39:12 2009 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Wed, 7 Oct 2009 06:39:12 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: bean autocompletion not working on xhtml Message-ID: <462336.1254911952184.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> alexey - shouldn't the code completion work (but not get refreshed) even without the nature installed ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259102#4259102 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259102 From do-not-reply at jboss.com Wed Oct 7 06:40:22 2009 From: do-not-reply at jboss.com (max.andersen@jboss.com) Date: Wed, 7 Oct 2009 06:40:22 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Editing the JBoss AS Configuration Message-ID: <23005193.1254912022962.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> 1) custom jars - right click the server and edit the launch configuration 2) use a custom configuration ? Edit the associated runtime or specify it when creating a new server. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259103#4259103 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259103 From do-not-reply at jboss.com Wed Oct 7 06:51:26 2009 From: do-not-reply at jboss.com (akazakov) Date: Wed, 7 Oct 2009 06:51:26 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: bean autocompletion not working on xhtml Message-ID: <8279084.1254912686021.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> it should but with a delay first time. We need to build KB model when user press ctrl+space if there is not KB nature/builder in the project. So while it's building (in background) CA doesn't work. If it works in different way then it's a bug. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259106#4259106 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259106 From do-not-reply at jboss.com Wed Oct 7 06:55:24 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Wed, 7 Oct 2009 06:55:24 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Editing the JBoss AS Configuration Message-ID: <934017.1254912924540.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> jumped into a new problem now.. i see that when selecting the home directory for the JBoss AS, the tool is checking out for the existence of the file 'server/conf/jboss-service.xml' under the server directory. I copied this manually, but now when i select my application jboss home as the Home Directory, i get the error 'The home directory does not exist or is missing the run.jar'.. I do have the run.jar in my bin folder within my applications jboss home.. What could be wrong here??? What is eclipse searching for over here... Is this the expected working or is it something wired... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259107#4259107 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259107 From do-not-reply at jboss.com Wed Oct 7 07:03:48 2009 From: do-not-reply at jboss.com (octafiantos) Date: Wed, 7 Oct 2009 07:03:48 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss-5.1.0.GA doesn't start web service in hp-ux 11iv3 Message-ID: <21725428.1254913428913.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> oh, my mistake! thx for pointing at the spot and for your help, jaikiran. really appreciate it. i finally decide to deploy both version (jboss-5.1.0.GA for jdk5 and jdk 6) for testing purposes. both version runs well. | 2009-10-07 15:28:28,838 INFO [org.apache.coyote.http11.Http11Protocol] (main) Initializing Coyote HTTP/1.1 on http-0.0.0.0-8080 | ---deleted--- | 2009-10-07 15:29:12,486 INFO [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 1m:26s:247ms | -- singgih octafianto View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259108#4259108 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259108 From do-not-reply at jboss.com Wed Oct 7 07:14:16 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 7 Oct 2009 07:14:16 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How can we contribute to development? Message-ID: <14498781.1254914056044.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> To discuss about the development of jBPM there is always the developer's forum. There you can propose things and discuss about new ideas. And then there is always the possibility to fill a JIRA issue (not a bug report but a feature request/proposal). But please be sure to check if a similar proposal or the same is already in the system. In this case you can add your comments to them. If you want to find out how to contribute read the sticky post in the development forum. http://www.jboss.org/index.html?module=bb&op=viewforum&f=219 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259111#4259111 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259111 From do-not-reply at jboss.com Wed Oct 7 07:17:10 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 7 Oct 2009 07:17:10 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How can we contribute to development? Message-ID: <12440343.1254914230412.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Regarding your question nr. 2: Tasks have an attribute called executionId. AFAIK as I know you should be able to retrieve the execution by its Id via the ExecutionService by using findExecutionById(). As soon as you have the execution you should be able to retrieve the process instance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259113#4259113 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259113 From do-not-reply at jboss.com Wed Oct 7 07:21:51 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 7 Oct 2009 07:21:51 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: EJB3 mutual-referring injection Message-ID: <28204806.1254914511815.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "jidehem" wrote : | | Is EJB3 mutual-referring injection allowed ? | | Use @IgnoreDependency as explained here http://www.jboss.org/index.html?module=bb&op=viewtopic&t=148042 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259116#4259116 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259116 From do-not-reply at jboss.com Wed Oct 7 07:31:17 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 7 Oct 2009 07:31:17 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: EJB with WAR Classloader Message-ID: <13840883.1254915077189.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> As per the spec, the .war has its own isolated classloader. However if you want to change that behaviour then follow this http://www.jboss.org/community/wiki/useJBossWebClassLoaderinJBoss5 anonymous wrote : If not, is there another way of an EJB access a static property inside the Web applications? | If that class with the static field is meant for both war and EJB jar, then why not package that in a separate jar file and place it in EAR/lib folder so that it's available to both the components and loaded by the same classloader. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259123#4259123 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259123 From do-not-reply at jboss.com Wed Oct 7 07:37:06 2009 From: do-not-reply at jboss.com (ozguy) Date: Wed, 7 Oct 2009 07:37:06 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: header.jsp - adminPortalURL is null when it shouldn't be Message-ID: <7904225.1254915426433.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> maybe the user doesn't have "Admin" role. I think the admin portlets require a user to have "Admin" role otherwise you wont be able to access it. Can you post a stacktrace? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259125#4259125 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259125 From do-not-reply at jboss.com Wed Oct 7 07:47:19 2009 From: do-not-reply at jboss.com (mesa) Date: Wed, 7 Oct 2009 07:47:19 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft Message-ID: <15398608.1254916039430.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> i too want to do the same thing. my requirement is that 1) a user logs in and uploads few documents , i create a process instance and saves the documents in jcr repository. 2) over the lifecycle of process old documents will be refered and new will be added with different set of properties. 3) Main concern is able to track all documents associated with a process,throughout the life cycle of process.... my design philosphy is : 1) i can have a jackrabbit remote or local repository , for each customer i will create a folder(jcr node) ,unique to his name or having a unique key. 2) over the lifecycle of process all docs will be added beneath this unique key folder,for a process. 3) i can store this node as process variable within jbpm so that if any document is required for a process, i have a direct reference to it in jbpm. Please suggest if any there is scope for improvement or suggestions... Technical challenge is :: 1) what is good way to integrate JCR into jbpm a) i though of writing my own service interface that will interact with JCR remote repository and inject them into application through spring and perform document management completely outside JBPM scope. b) OR i should use JBPM Context service support to integrate Jackrabbit repository. problem is that i have not seen any example over the net , on how it can be done. no information is available on integrating remoteJCR repository into jbpm my question is that can i write my own service classes , offering a way into JCR repositoryand can inject them into jbpm context as JCR service. Can someone please suggest me how this can be done ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259127#4259127 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259127 From do-not-reply at jboss.com Wed Oct 7 07:51:41 2009 From: do-not-reply at jboss.com (ozguy) Date: Wed, 7 Oct 2009 07:51:41 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: No email in email validation registration Message-ID: <18755945.1254916301009.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> you have invalid email domain to start with! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259129#4259129 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259129 From do-not-reply at jboss.com Wed Oct 7 07:51:47 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Wed, 7 Oct 2009 07:51:47 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Editing the JBoss AS Configuration Message-ID: <15450468.1254916307988.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I got it.. It was looking for Twiddle.jar in the bin directory.... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259130#4259130 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259130 From do-not-reply at jboss.com Wed Oct 7 08:22:50 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Wed, 7 Oct 2009 08:22:50 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Eclipse JBoss AS clean/publish Message-ID: <9694634.1254918170025.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Using JBoss AS 5.1 i created a server instance with the application home pointing to my server location. Added my ear project on to the server and tried both clean and publish. Eclipse gives an impression as to something is running by displaying the message dialog with message "Publishing to JBoss 5.1 Runtime Server...". This runs for almost 10-15 secs, which is the exact normal time that other jboss instances has taken previously for my application. But to my surprise i see that there s nothing created in my jboss deploy folder. In fact my jboss deploy folder has remained untouched. Publish operation had no impact. I re-checked the application home directory configured and it seems correct...... Any help?? Is there any way to track what sub tasks eclipse was exactly doing during the clean / publish operation.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259137#4259137 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259137 From samk at twinix.com Thu Oct 1 17:12:22 2009 From: samk at twinix.com (samk at twinix.com) Date: Thu, 1 Oct 2009 16:12:22 -0500 (CDT) Subject: [jboss-user] Server list empty in eclipse, cannot debug! Message-ID: <14092405.161254431542424.JavaMail.SYSTEM@larkin> See Thread at: http://www.techienuggets.com/Detail?tx=72512 Posted on behalf of a User On the server settings page ( the one you are on before clicking "Open launch configuration") there is a box for Host name. Change this to "0.0.0.0". You'll see that your launch configuration is updated. In Response To: hello I run ganymede + jboss 5 up to date I reinstalled a seam project from a damaged disk where there was ganymede and jboss 4.3 I'm stuck in developement since I can add and run jboss from eclipse server's view, but unfortunately I cannot add a new "debug configuration" or "run configuration" to launch my project with since there are no servers selectable in the list. The list is actually empty :( I need to debug my application in broadcast mode (-b 0.0.0.0) and ther's no way I can set this parameter from within eclipse server view. I badly need back jboss in launch configuration. What do I miss? I have all the jboss tools things installed but nothing changed apart having tje jboss server view (only lists the ports in use, but sitll empty run config listbox) Thanks Screenshot here... http://img156.imageshack.us/my.php?image=screenshotld0.jpg From do-not-reply at jboss.com Wed Oct 7 08:39:17 2009 From: do-not-reply at jboss.com (jidehem) Date: Wed, 7 Oct 2009 08:39:17 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: EJB3 mutual-referring injection Message-ID: <24458228.1254919157552.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "jaikiran" wrote : "jidehem" wrote : | | | | Is EJB3 mutual-referring injection allowed ? | | | | | | Use @IgnoreDependency as explained here http://www.jboss.org/index.html?module=bb&op=viewtopic&t=148042 Thanks for the quick reply ! Thus JBoss allows mutual-referring injection. What about standard EJB3 ? I was unable to find if it's allowed or not. (Is it related to reentrant calls ?) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259141#4259141 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259141 From do-not-reply at jboss.com Wed Oct 7 08:42:40 2009 From: do-not-reply at jboss.com (LockDog) Date: Wed, 7 Oct 2009 08:42:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Can't initialize bean org.springframework.oxm.jaxb.Jaxb2Mars Message-ID: <10345843.1254919360639.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, we use JBoss 5.1 GA, spring-ws-1.5.6, jdk 1.6-16 Here is our spring bean definition: | | | | | | | | | | | | | true | | | | | | | com.cs.stp.bl.document.Documents | | | When we deploy our application and start jboss, next exception occurs: | 15:25:28,317 ERROR [[/STP]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rolesManager' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.reflect.UndeclaredThrowableException | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) | at java.security.AccessController.doPrivileged(Native Method) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) | at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:308) | at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:947) | at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:701) | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:377) | at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) | at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) | at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | 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:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy38.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Thread.java:619) | Caused by: java.lang.reflect.UndeclaredThrowableException | at $Proxy406.getAllRoles(Unknown Source) | 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:597) | at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) | at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) | at $Proxy407.getAllRoles(Unknown Source) | at com.cs.stp.web.spring.RoleManagerService.refresh(RoleManagerService.java:39) | at com.cs.stp.web.spring.RoleManagerService.afterPropertiesSet(RoleManagerService.java:35) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369) | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335) | ... 86 more | Caused by: java.io.IOException | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.io.MarshalledObjectForLocalCalls.get(MarshalledObjectForLocalCalls.java:60) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterceptor.java:93) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62) | at $Proxy411.invoke(Unknown Source) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) | ... 98 more | Caused by: java.lang.reflect.InvocationTargetException | 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:597) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 183 more | Caused by: java.io.IOException | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:345) | at java.util.ArrayList.readObject(ArrayList.java:593) | ... 188 more | Caused by: java.lang.reflect.InvocationTargetException | 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:597) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 208 more | Caused by: java.io.IOException | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:107) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:269) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353) | at org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:345) | at java.util.ArrayList.readObject(ArrayList.java:593) | ... 213 more | Caused by: java.lang.reflect.InvocationTargetException | 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:597) | at org.jboss.serial.persister.RegularObjectPersister.readSlotWithMethod(RegularObjectPersister.java:103) | ... 227 more | Caused by: org.jboss.serial.exception.SerializationException: Could not create instance of com.sun.xml.bind.v2.model.nav.ReflectionNavigator$5 - com.sun.xml.bind.v2.model.nav.ReflectionNavigator$5 | at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:342) | at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) | at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) | at org.jboss.serial.objectmetamodel.DataContainer$DataContainerInput.readObject(DataContainer.java:845) | at org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:345) | at java.util.ArrayList.readObject(ArrayList.java:593) | ... 232 more | Caused by: java.lang.InstantiationException: com.sun.xml.bind.v2.model.nav.ReflectionNavigator$5 | at java.lang.Class.newInstance0(Class.java:340) | at java.lang.Class.newInstance(Class.java:308) | at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:334) | ... 239 more | 15:25:28,317 ERROR [StandardContext] Error listenerStart | But if i comment previous bean, then all works good. In JBoss 4.2.3 GA all works good too. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259142#4259142 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259142 From do-not-reply at jboss.com Wed Oct 7 08:58:42 2009 From: do-not-reply at jboss.com (LockDog) Date: Wed, 7 Oct 2009 08:58:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Can't initialize bean org.springframework.oxm.jaxb.Jaxb2 Message-ID: <12061279.1254920322501.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> UPD When we define this bean in war with org.jboss.spring.vfs.context.VFSXmlWebApplicationContext, all works good But when we define this bean in EJB with @Interceptors(SpringBeanAutowiringInterceptor.class) Then we have previous exception. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259145#4259145 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259145 From do-not-reply at jboss.com Wed Oct 7 09:12:48 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Wed, 7 Oct 2009 09:12:48 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Eclipse JBoss AS clean/publish Message-ID: <16266607.1254921168261.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> seems to be something related with the 5.1 version instance.. Just as a workaround i tried using the 5.0 instance and it worked View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259147#4259147 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259147 From do-not-reply at jboss.com Wed Oct 7 09:14:20 2009 From: do-not-reply at jboss.com (alessio.soldano@jboss.com) Date: Wed, 7 Oct 2009 09:14:20 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: wsconsume generate client from a wsdl with basic authent Message-ID: <26024094.1254921260163.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> That's probably because the tool would need to access other imported resources (xsd/wsdl) which are protected too. A workaround is to download the wsdl and the referenced resources, modify the links and consume the local version. You basically need the same as the fix for https://jira.jboss.org/jira/browse/WISE-134, which will probably be included when dealing with https://jira.jboss.org/jira/browse/JBWS-2725 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259148#4259148 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259148 From do-not-reply at jboss.com Wed Oct 7 09:44:50 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Wed, 7 Oct 2009 09:44:50 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Invoking server startup class Message-ID: <4541512.1254923090121.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I an using JBoss AS 5.1 with eclipse. Since before starting the server my application need to perform some validation tasks, I am in need of configuring the invoking server startup class from org.jboss.Main to my custom class. How do i do this... With default JBoss instance available with eclipse, the .serverdef file had option to define the startup class and its configuration... How do i do this here with JBoss tools AS server?? Please help View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259156#4259156 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259156 From do-not-reply at jboss.com Wed Oct 7 09:58:57 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Wed, 7 Oct 2009 09:58:57 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <31155136.1254923937429.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, your code seems correct. As we both don't know whether it will work with an Interceptor, I would advice you to make some test: call a servlet and try to perform your login action inside this. If this works, the problems might be a result of some Interceptor problem. If it works not with the servlet, the error lies probably in your security config. I see that you use username and password to perform the LDAP login. Why not using e.g. form based authentication according to the servlet spec (by declaring a range of secured pages in "web.xml")? JBoss provides a login module against LDAP. You might read e.g. this (shows all the steps required to secure a web app): http://www.developer.com/security/article.php/3077421/Introduction-to-Securing-Web-Applications-with-JBoss-and-LDAP.htm or this (details about the JBoss LDAP login module): http://www.jboss.org/community/wiki/LdapLoginModule Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259159#4259159 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259159 From do-not-reply at jboss.com Wed Oct 7 10:02:41 2009 From: do-not-reply at jboss.com (@tul) Date: Wed, 7 Oct 2009 10:02:41 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - problem in getting db session. Message-ID: <10471301.1254924161633.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi All, I am using jbpm 4.1 version. In my code i am using following command to get an instance of DbSession class. DbSession dbSession = (DbSession)EnvironmentImpl.getFromCurrent(DbSession.class, false); but i am getting null in dbSession variable. Could please any one tell me what is happning. do i need set something in cfg file. Thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259162#4259162 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259162 From do-not-reply at jboss.com Wed Oct 7 10:18:03 2009 From: do-not-reply at jboss.com (praenti) Date: Wed, 7 Oct 2009 10:18:03 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <3470396.1254925083354.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok. Thank you. I will try that with the servlet. Form based authentication would be also a way to solve that use case but needs more work, because my current code is migrated from an old application. One of the speciality that I have, is that my roles are not defined in the LDAP itself but in a database which is queried with the username after the user has authenticated against the LDAP (in my case a global catalog of a Active-Directory structure) to get the role. A second point is that I have to parse the LDAP connection string before connecting, because I need to get the global catalog servers from a SRV query on the DNS system. I hope these two things are also possible with the form based authetication, but I think I cannot use a existing JBoss LoginModule for that and have to use my own. I will have a deeper look into the article, perhaps I get an idea how I can solve my issue. Kind regards, Michael View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259170#4259170 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259170 From do-not-reply at jboss.com Wed Oct 7 10:18:15 2009 From: do-not-reply at jboss.com (rodedh) Date: Wed, 7 Oct 2009 10:18:15 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - PHP on Jboss AS 5 Message-ID: <30643214.1254925095870.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Is it possible to enable php on jbossweb.sar application (deployed in Jboss/server/xxx/deploy/jbossweb.sar) Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259171#4259171 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259171 From do-not-reply at jboss.com Wed Oct 7 10:46:16 2009 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 7 Oct 2009 10:46:16 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Eclipse JBoss AS clean/publish Message-ID: <2271787.1254926776392.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> JBoss Tools does not deploy to the app server's deploy directory, instead it deploys apps in a subdirectory of workspace\.metadata\.plugins\org.jboss.ide.eclipse.as.core. Though I believe you can change this behavior... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259179#4259179 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259179 From do-not-reply at jboss.com Wed Oct 7 10:51:50 2009 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 7 Oct 2009 10:51:50 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: PHP on Jboss AS 5 Message-ID: <3374273.1254927110899.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Did you search the forums for "PHP"? You might hvae found several posts, including: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158271 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259182#4259182 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259182 From do-not-reply at jboss.com Wed Oct 7 11:29:31 2009 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 7 Oct 2009 11:29:31 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Problem with maven building JBoss AS Message-ID: <6373164.1254929371603.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It built for me (5.1.0.GA) and the only difference I can see is I am using Maven 2.2.0. Which sources did you use? The tar.gz file form the downloads page or did you checkout from Subversion? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259194#4259194 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259194 From do-not-reply at jboss.com Wed Oct 7 11:43:32 2009 From: do-not-reply at jboss.com (nicolasduminil) Date: Wed, 7 Oct 2009 11:43:32 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Can't install JBoss Tools in Eclipse 3.5 SR1 Message-ID: <3806879.1254930212318.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Greetings, Trying to install JBoss Tools with Eclipse 3.5 SR1 for Windows Vista 32 bits. After having added the JBoss http://download.jboss.org/jbosstools/updates/stable site I'm proposed the following: JBoss Tools - 3.0.2.v200909151014R-H192-GA JBoss Tools Integration for TPTP, BIRT - 3.0.2.v200909151014R-H192-GA Selecting both and clicking Next gives: Cannot complete the install because of a conflicting dependency. Software being installed: JBoss ESB Tools 1.1.1.v200909151014R-H192-GA (org.jboss.tools.esb.feature.feature.group 1.1.1.v200909151014R-H192-GA) Software being installed: TPTP Profile On JBoss Server 1.0.0.v200909151014R-H192-GA (org.jboss.tools.tptp.feature.feature.group 1.0.0.v200909151014R-H192-GA) Only one of the following can be installed at once: International Components for Unicode for Java (ICU4J) 4.0.1.v20090415 (com.ibm.icu 4.0.1.v20090415) International Components for Unicode for Java (ICU4J) 3.8.1.v20080530 (com.ibm.icu 3.8.1.v20080530) International Components for Unicode for Java (ICU4J) 4.0.1.v20090822 (com.ibm.icu 4.0.1.v20090822) Cannot satisfy dependency: From: Hyades Trace Core UI 4.5.1.v200908290100 (org.eclipse.hyades.trace.ui 4.5.1.v200908290100) To: bundle com.ibm.icu [4.0.0,5.0.0) Cannot satisfy dependency: From: TPTP Instrumentation Annotation Support 4.5.1.v200901090100 (org.eclipse.tptp.platform.instrumentation.annotation 4.5.1.v200901090100) To: bundle org.eclipse.hyades.trace.ui [4.5.0,5.0.0) Cannot satisfy dependency: From: Instrument Core UI Feature 4.2.200.v200901090956-78778a8s733K353K3533 (org.eclipse.tptp.platform.instrumentation.ui.feature.group 4.2.200.v200901090956-78778a8s733K353K3533) To: org.eclipse.tptp.platform.instrumentation.annotation [4.5.1.v200901090100] Cannot satisfy dependency: From: TPTP Charting Service 4.3.0.v200906091631-7D77F8N9oB55W5L7L6G8B (org.eclipse.tptp.platform.report.feature.group 4.3.0.v200906091631-7D77F8N9oB55W5L7L6G8B) To: org.eclipse.tptp.platform.report.ui [4.1.400.v200905160100] Cannot satisfy dependency: From: TPTP Report UI 4.1.400.v200905160100 (org.eclipse.tptp.platform.report.ui 4.1.400.v200905160100) To: bundle com.ibm.icu [4.0.0,5.0.0) Cannot satisfy dependency: From: TPTP Platform Project 4.5.2.v200901090956-8F82EsM9TofPP4ogyX-bRjDoPYGV (org.eclipse.tptp.platform.runtime.feature.group 4.5.2.v200901090956-8F82EsM9TofPP4ogyX-bRjDoPYGV) To: org.eclipse.tptp.platform.instrumentation.ui.feature.group [4.2.200.v200901090956-78778a8s733K353K3533] Cannot satisfy dependency: From: TPTP Platform Project 4.6.1.v200908220100-8H8DFHq9a0jIg3EPLWGP4aXul5uw (org.eclipse.tptp.platform.runtime.feature.group 4.6.1.v200908220100-8H8DFHq9a0jIg3EPLWGP4aXul5uw) To: org.eclipse.tptp.platform.report.feature.group [4.3.0.v200906091631-7D77F8N9oB55W5L7L6G8B] Cannot satisfy dependency: From: SSE JavaScript Source Editor 1.0.200.v200805160650 (org.eclipse.wst.javascript.ui 1.0.200.v200805160650) To: bundle com.ibm.icu [3.4.4,4.0.0) Cannot satisfy dependency: From: JBoss ESB Tools 1.1.1.v200909151014R-H192-GA (org.jboss.tools.esb.feature.feature.group 1.1.1.v200909151014R-H192-GA) To: org.jboss.tools.esb.ui [1.1.1.v200909151014R-H192-GA] Cannot satisfy dependency: From: JBoss ESB Tools 1.1.1.v200909151014R-H192-GA (org.jboss.tools.esb.ui 1.1.1.v200909151014R-H192-GA) To: bundle org.jboss.tools.jst.web.ui 0.0.0 Cannot satisfy dependency: From: Jsp Editor Plug-in 3.0.2.v200909151014R-H192-GA (org.jboss.tools.jst.jsp 3.0.2.v200909151014R-H192-GA) To: bundle org.eclipse.wst.javascript.ui 0.0.0 Cannot satisfy dependency: From: Web UI 3.0.2.v200909151014R-H192-GA (org.jboss.tools.jst.web.ui 3.0.2.v200909151014R-H192-GA) To: bundle org.jboss.tools.jst.jsp 2.0.0 Cannot satisfy dependency: From: TPTP Profile On JBoss Server 1.0.0.v200909151014R-H192-GA (org.jboss.tools.tptp.feature.feature.group 1.0.0.v200909151014R-H192-GA) To: org.eclipse.tptp.platform.runtime.feature.group 4.5.1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259199#4259199 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259199 From do-not-reply at jboss.com Wed Oct 7 11:52:15 2009 From: do-not-reply at jboss.com (bwalker55) Date: Wed, 7 Oct 2009 11:52:15 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: Looking for standard jndi/jdbc java connection syntax Message-ID: <9713643.1254930735864.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for the reply and for the link. I'll post follow up questions in that thread. bob. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259203#4259203 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259203 From do-not-reply at jboss.com Wed Oct 7 11:56:34 2009 From: do-not-reply at jboss.com (nickboldt) Date: Wed, 7 Oct 2009 11:56:34 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Can't install JBoss Tools in Eclipse 3.5 SR1 Message-ID: <15493198.1254930994707.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> JBoss Tools 3.0 does not run on Eclipse 3.5. For Eclipse 3.5, you need JBoss Tools 3.1: https://www.jboss.org/tools/download/dev.html Or, use JBoss Tools 3.0 with Eclipse 3,4: https://www.jboss.org/tools/download/stable/3_0_GA.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259206#4259206 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259206 From do-not-reply at jboss.com Wed Oct 7 12:14:11 2009 From: do-not-reply at jboss.com (jimmychou) Date: Wed, 7 Oct 2009 12:14:11 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Websphere 6.1 and jBPM 4 Message-ID: <21654516.1254932051888.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Greetings, I am interested in deploying jBPM 4 on WebSphere 6.1/7.0. Does any one have any success? What are the steps? Thanks & Regards, Jimmy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259209#4259209 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259209 From do-not-reply at jboss.com Wed Oct 7 12:42:39 2009 From: do-not-reply at jboss.com (nicolasduminil) Date: Wed, 7 Oct 2009 12:42:39 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Can't install JBoss Tools in Eclipse 3.5 SR1 Message-ID: <24610203.1254933759076.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What is the URL of the JBoss Tools 3.1 update site ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259215#4259215 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259215 From do-not-reply at jboss.com Wed Oct 7 12:53:52 2009 From: do-not-reply at jboss.com (bwalker55) Date: Wed, 7 Oct 2009 12:53:52 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: javax.naming.NameNotFoundException: jdbc not bound Message-ID: <14444197.1254934432409.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I've been referred here from my own similar query: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259203#4259203 >From what I can gather from this thread, a web.xml and jboss-web.xml must exist in the WEB-INF directory of every application that wants to access the globally defined datasource: *.ds.xml. It would appear the purpose of the these two files is to map a Java EE Environment Naming Context (enc) 'local' entry (ie java:/comp/env/jdbc/MyDataSource) to a jBossNS 'global' naming entry (ie java:/MyDataSource). Have I got this right? Now, is there a way to globally define this mapping for all jBoss web applications in a similar fashion that the *-ds.xml datasource is globally defined? I would like to deliver an application that does not have jBoss specific configuration entries in the web.xml and does not need a jboss-web.xml file. I know there are applications (I've installed at least one) that work with jBoss that only need the *-ds.xml deployed. What's the trick? Thanks, Bob. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259216#4259216 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259216 From do-not-reply at jboss.com Wed Oct 7 13:02:06 2009 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 7 Oct 2009 13:02:06 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft Message-ID: <764890.1254934926043.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Why not look at something like Alfresco? It uses jBPM, JCR, Spring etc... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259219#4259219 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259219 From do-not-reply at jboss.com Wed Oct 7 13:03:01 2009 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 7 Oct 2009 13:03:01 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Can't install JBoss Tools in Eclipse 3.5 SR1 Message-ID: <28063468.1254934981876.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> All of the URLs are available at https://www.jboss.org/tools/download.html. I recommend using the one under Development Updates. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259220#4259220 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259220 From do-not-reply at jboss.com Wed Oct 7 13:08:04 2009 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 7 Oct 2009 13:08:04 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: javax.naming.NameNotFoundException: jdbc not bound Message-ID: <8466483.1254935284841.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : It would appear the purpose of the these two files is to map a Java EE Environment Naming Context (enc) 'local' entry (ie java:/comp/env/jdbc/MyDataSource) to a jBossNS 'global' naming entry (ie java:/MyDataSource). Have I got this right? Yes. anonymous wrote : Now, is there a way to globally define this mapping for all jBoss web applications in a similar fashion that the *-ds.xml datasource is globally defined? I would like to deliver an application that does not have jBoss specific configuration entries in the web.xml and does not need a jboss-web.xml file. No. The ENC is application-specific. In fact, each web app gets its own ENC. You can verify this by using JNDIView (in the jmx console). And each app can see only its own ENC. anonymous wrote : I know there are applications (I've installed at least one) that work with jBoss that only need the *-ds.xml deployed. What's the trick? You can have the app directly look up "java:/MyDatasource" instead of using "jdbc/MyDatasource". In that case you do not need any of the web.xml or jboss-web.xml entries. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259221#4259221 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259221 From do-not-reply at jboss.com Wed Oct 7 13:12:37 2009 From: do-not-reply at jboss.com (nickboldt) Date: Wed, 7 Oct 2009 13:12:37 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Can't install JBoss Tools in Eclipse 3.5 SR1 Message-ID: <816599.1254935557619.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It's also linked from the page I specified: https://www.jboss.org/tools/download/dev.html --> http://download.jboss.org/jbosstools/updates/JBossTools-3.1.0.M3/ Or, you can download the whole update site as a zip and install from that. Instructions for doing so are ALSO linked from https://www.jboss.org/tools/download/dev.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259222#4259222 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259222 From do-not-reply at jboss.com Wed Oct 7 13:13:58 2009 From: do-not-reply at jboss.com (s3filho) Date: Wed, 7 Oct 2009 13:13:58 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: EJB with WAR Classloader Message-ID: <30288840.1254935638554.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you, Creating the jboss-classloading.xml file worked fine but what you said made me think better and it really was my mistake. The class I was using was placed in both blaces (war an EJB jar) so it was loaded twice. Thank's again View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259224#4259224 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259224 From do-not-reply at jboss.com Wed Oct 7 13:16:26 2009 From: do-not-reply at jboss.com (nicolasduminil) Date: Wed, 7 Oct 2009 13:16:26 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Can't install JBoss Tools in Eclipse 3.5 SR1 Message-ID: <671778.1254935786576.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Many thanks. It's slow but know it should work. Kind regards, Nicolas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259225#4259225 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259225 From do-not-reply at jboss.com Wed Oct 7 13:19:26 2009 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 7 Oct 2009 13:19:26 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How can we contribute to development? Message-ID: <25526415.1254935966480.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> 1: It's not only the "quick fix" in the source, it is also a testcase (multiple?), changes to the docs etc... If you file a jira issue, provide all these then we can incorporate it easier,contributions are welcome :-) 3: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158610 has something about searching the jira.... you have not done this I assume. Look for issue JBPM-2505 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259228#4259228 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259228 From do-not-reply at jboss.com Wed Oct 7 13:42:37 2009 From: do-not-reply at jboss.com (bwalker55) Date: Wed, 7 Oct 2009 13:42:37 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: javax.naming.NameNotFoundException: jdbc not bound Message-ID: <6234197.1254937357941.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : You can have the app directly look up "java:/MyDatasource" instead of using "jdbc/MyDatasource". In that case you do not need any of the web.xml or jboss-web.xml entries. I'd already made that change in our source code as a temporary fix. Guess we'll keep it :-) Thanks for the quick response. Bob. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259231#4259231 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259231 From dsharp02 at gmail.com Wed Oct 7 13:44:50 2009 From: dsharp02 at gmail.com (David Sharp) Date: Wed, 7 Oct 2009 12:44:50 -0500 Subject: [jboss-user] Outgoing SSL from a web-app Message-ID: I have a web application deployed to JBoss that works fine. However I cannot seem to find instructions explaining how to tell JBoss which truststore file to use for outgoing SSL connections. My web app needs to call a web service that is using a self-signed certificate. I've created a truststore file and imported the certificate, however I can't get JBoss to actually use it. All of the instructions on the web describe how to configure JBoss to accept incoming SSL connections, however none seem to address my problem. I have modified jboss-web.deployer/server.xml to add a connector as follows: However I suspect that this is only used when accepting incoming connections, not when making outgoing web service calls. I would appreciate any help anyone could provide with this issue. Thanks, Dave From do-not-reply at jboss.com Wed Oct 7 14:14:18 2009 From: do-not-reply at jboss.com (groovie) Date: Wed, 7 Oct 2009 14:14:18 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Cannot find service endpoint target Message-ID: <6770335.1254939258427.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Salut mecs, the problem hints to an inavailable ressource on the session bean, like a delayed of unavailable datasource.You shold check the server.log for any kind of ressource problems. In our case, our web-services suddently ran into the same problem,. throwing the same exception. We are using an Oracle-DB for to persist our data. Sombody changed the OracleDialect to OracleDialect or another one finally we hat the problems with our webservice. Some week later i noticed error messages (only one line) like this one: server.log.2009-10-02:2009-10-02 11:28:36,575 INFO [org.hibernate.dialect.Dialect] Using dialect: org.hibernate.dialect.Oracle10gDialect server.log.2009-10-02:2009-10-02 11:39:37,602 INFO [org.hibernate.dialect.Dialect] Using dialect: org.hibernate.dialect.OracleDialect server.log.2009-10-02:2009-10-02 11:39:37,602 WARN [org.hibernate.dialect.Oracle9Dialect] The Oracle9Dialect dialect has been deprecated; use either Oracle9iDialect or Oracle10gDialect instead Despite the fact, that this are only warnings, i guess, i found that smoking gun. Assumption: The error/warning condition slowed down the session bean, causing the WS unsuccessfully searching for a session bean, that has not been started. I switched to the Oracle10gDialect and the problem disappeared! Voila View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259234#4259234 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259234 From do-not-reply at jboss.com Wed Oct 7 14:39:57 2009 From: do-not-reply at jboss.com (hamptont) Date: Wed, 7 Oct 2009 14:39:57 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: header.jsp - adminPortalURL is null when it shouldn't be Message-ID: <30156321.1254940797642.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I fixed the problem. It turned out that I had messed up the context section of the default-object.xml file. It was a real trick to track it down since there were no errors and the portal almost worked. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259240#4259240 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259240 From do-not-reply at jboss.com Wed Oct 7 16:45:48 2009 From: do-not-reply at jboss.com (stacy) Date: Wed, 7 Oct 2009 16:45:48 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Failed to find property editor for: marshaller Message-ID: <6256038.1254948348555.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am running a Jboss client from within another application server, which is supposed to connect to the Jboss server remotely located. I am able get successfully connected if I run my client as a stand alone, but when I run it within my app server I get disconnected with this error Failed to find property editor for: marshaller. Is there anything I need to do on the client side to make this happen? Here is the trace from the app server where the client is running... [aop-trace] org.jboss.jms.client.remoting.JMSRemotingConnection JMSRemotingConnection[bisocket://193.222.55.22:4457/?JBM_clientMaxPoolSize=200&clientLeasePeriod=10000&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.wireformat.JMSWireFormat&numberOfCallRetries=1&numberOfRetries=10&pingFrequency=214748364&pingWindowFactor=10&socket.check_connection=false&stopLeaseOnFailure=true&timeout=0&unmarshaller=org.jboss.jms.wireformat.JMSWireFormat] created 2009-10-07 15:03:34,825 Stdout WARN callout.out - [aop-trace] org.jboss.jms.client.remoting.JMSRemotingConnection JMSRemotingConnection[bisocket://193.222.55.22:4457/?JBM_clientMaxPoolSize=200&clientLeasePeriod=10000&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.wireformat.JMSWireFormat&numberOfCallRetries=1&numberOfRetries=10&pingFrequency=214748364&pingWindowFactor=10&socket.check_connection=false&stopLeaseOnFailure=true&timeout=0&unmarshaller=org.jboss.jms.wireformat.JMSWireFormat] created client 2009-10-07 15:03:34,825 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Mapping properties for bean: SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] 2009-10-07 15:03:34,826 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: pingFrequency, editor: java.beans.PropertyDescriptor at 23f96523, setter: public void org.jboss.remoting.transport.bisocket.BisocketClientInvoker.setPingFrequency(int) 2009-10-07 15:03:34,826 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: numberOfCallRetries, editor: java.beans.PropertyDescriptor at 7897d99, setter: public void org.jboss.remoting.transport.socket.MicroSocketClientInvoker.setNumberOfCallRetries(int) 2009-10-07 15:03:34,826 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: marshaller, editor: java.beans.PropertyDescriptor at 822e4d56, setter: public void org.jboss.remoting.MicroRemoteClientInvoker.setMarshaller(org.jboss.remoting.marshal.Marshaller) 2009-10-07 15:03:34,830 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Failed to find property editor for: marshaller 2009-10-07 15:03:34,831 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Failed to write property 2009-10-07 15:03:34,832 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: numberOfRetries, editor: java.beans.PropertyDescriptor at 94d984df, setter: public void org.jboss.remoting.transport.socket.MicroSocketClientInvoker.setNumberOfRetries(int) 2009-10-07 15:03:34,833 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: timeout, editor: java.beans.PropertyDescriptor at 912f0dc8, setter: null 2009-10-07 15:03:34,833 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] setting maxPoolSize to 200 2009-10-07 15:03:34,834 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] setting client socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper 2009-10-07 15:03:34,835 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] setting shouldCheckConnection to false 2009-10-07 15:03:34,836 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.SocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] setting timeout to 0 2009-10-07 15:03:34,836 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] constructed 2009-10-07 15:03:34,837 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] setting maxPoolSize to 200 2009-10-07 15:03:34,838 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] setting client socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper 2009-10-07 15:03:34,839 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] setting shouldCheckConnection to false 2009-10-07 15:03:34,839 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.SocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] setting timeout to 0 2009-10-07 15:03:34,840 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.bisocket.BisocketClientInvoker Setting ping frequency to: 214748364 2009-10-07 15:03:34,840 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] connecting 2009-10-07 15:03:34,841 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker Creating semaphore with size 200 2009-10-07 15:03:34,841 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] added new pool ([]) as ServerAddress[193.222.55.22:4457, NO enableTcpNoDelay timeout 0 ms, maxPoolSize=200] 2009-10-07 15:03:34,841 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] connected 2009-10-07 15:03:34,842 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] sending initial lease ping to server to determine if server has leasing enabled. 2009-10-07 15:03:34,842 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457](1) invoking InvocationRequest[6f513, $PING$] 2009-10-07 15:03:34,842 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] obtained semaphore: 199 2009-10-07 15:03:34,843 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] creating socket 2009-10-07 15:03:34,911 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] created socket: Socket[addr=/193.222.55.22,port=4457,localport=36009] 2009-10-07 15:03:34,912 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.SocketWrapper constructing org.jboss.jms.client.remoting.ClientSocketWrapper instance for Socket[addr=/193.222.55.22,port=4457,localport=36009], using timeout 0 2009-10-07 15:03:34,913 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.SocketWrapper ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] setting timeout to 0 2009-10-07 15:03:34,914 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker took 71 ms to get socket ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] 2009-10-07 15:03:34,914 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing version 22 on output stream 2009-10-07 15:03:34,914 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing invocation to marshaller 2009-10-07 15:03:34,915 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing InvocationRequest[6f513, $PING$] 2009-10-07 15:03:34,915 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Stream is a DataOutputStream 2009-10-07 15:03:34,916 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing packet: SerializedPacket[InvocationRequest[6f513, $PING$]] 2009-10-07 15:03:34,917 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Wrote packet 2009-10-07 15:03:34,917 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] done writing invocation to marshaller 2009-10-07 15:03:34,918 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reading version from input stream 2009-10-07 15:03:34,989 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] read version 22 from input stream 2009-10-07 15:03:34,990 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reading response from unmarshaller 2009-10-07 15:03:34,990 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Reading 2009-10-07 15:03:34,990 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Stream is already DataInputStream :) 2009-10-07 15:03:34,991 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Created packet SerializedPacket[null] 2009-10-07 15:03:34,991 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Reading packet 2009-10-07 15:03:34,993 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Read packet 2009-10-07 15:03:34,994 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Returning payload: InvocationResponse[267b76, InvocationResponse[73b879, true]] 2009-10-07 15:03:34,995 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] returned ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] to pool 2009-10-07 15:03:34,995 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] released semaphore: 200 2009-10-07 15:03:34,996 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] received response InvocationResponse[267b76, InvocationResponse[73b879, true]] 2009-10-07 15:03:34,996 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] received InvocationResponse so going to return response's return value of InvocationResponse[73b879, true] 2009-10-07 15:03:34,997 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker server does have leasing enabled (with default lease period of 10000) and will start a new lease pinger. 2009-10-07 15:03:34,997 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.LeasePinger LeasePinger[SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457](3r26qk-p6lll4-g0iic14b-1-g0iic3ys-f)] adding new client with session ID 3r26qk-p6lll4-g0iic14b-1-g0iic3yr-d and lease period 10000 2009-10-07 15:03:34,998 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.LeasePinger LeasePinger[SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457](3r26qk-p6lll4-g0iic14b-1-g0iic3ys-f)] sending ping to server. Currently managing lease for following clients: 3r26qk-p6lll4-g0iic14b-1-g0iic3yr-d 2009-10-07 15:03:34,998 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457](1) invoking InvocationRequest[1542094, $PING$] 2009-10-07 15:03:34,999 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] obtained semaphore: 199 2009-10-07 15:03:35,000 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reusing pooled connection: ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] 2009-10-07 15:03:35,000 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker took 2 ms to get socket ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] 2009-10-07 15:03:35,001 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing version 22 on output stream 2009-10-07 15:03:35,002 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing invocation to marshaller 2009-10-07 15:03:35,002 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing InvocationRequest[1542094, $PING$] 2009-10-07 15:03:35,003 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Stream is a DataOutputStream 2009-10-07 15:03:35,004 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing packet: SerializedPacket[InvocationRequest[1542094, $PING$]] 2009-10-07 15:03:35,008 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Wrote packet 2009-10-07 15:03:35,009 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] done writing invocation to marshaller 2009-10-07 15:03:35,009 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reading version from input stream 2009-10-07 15:03:35,081 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] read version 22 from input stream 2009-10-07 15:03:35,082 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reading response from unmarshaller 2009-10-07 15:03:35,082 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Reading 2009-10-07 15:03:35,083 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Stream is already DataInputStream :) 2009-10-07 15:03:35,083 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Created packet SerializedPacket[null] 2009-10-07 15:03:35,084 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Reading packet 2009-10-07 15:03:35,085 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Read packet 2009-10-07 15:03:35,086 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Returning payload: InvocationResponse[1aecf45, InvocationResponse[1a9ec16, true]] 2009-10-07 15:03:35,087 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] returned ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] to pool 2009-10-07 15:03:35,087 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] released semaphore: 200 2009-10-07 15:03:35,088 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] received response InvocationResponse[1aecf45, InvocationResponse[1a9ec16, true]] 2009-10-07 15:03:35,088 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] received InvocationResponse so going to return response's return value of InvocationResponse[1a9ec16, true] 2009-10-07 15:03:35,089 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.LeasePinger LeasePinger[SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457](3r26qk-p6lll4-g0iic14b-1-g0iic3ys-f)] successfully pinged the server 2009-10-07 15:03:35,089 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.LeasePinger LeasePinger[SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457](3r26qk-p6lll4-g0iic14b-1-g0iic3ys-f)] starting lease timer with ping period of 10000 2009-10-07 15:03:35,090 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Mapping properties for bean: SocketClientInvoker[cac02f, bisocket://193.222.55.22:4457] 2009-10-07 15:03:35,091 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: pingFrequency, editor: java.beans.PropertyDescriptor at 23f96523, setter: public void org.jboss.remoting.transport.bisocket.BisocketClientInvoker.setPingFrequency(int) 2009-10-07 15:03:35,098 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: numberOfCallRetries, editor: java.beans.PropertyDescriptor at 7897d99, setter: public void org.jboss.remoting.transport.socket.MicroSocketClientInvoker.setNumberOfCallRetries(int) 2009-10-07 15:03:35,098 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: marshaller, editor: java.beans.PropertyDescriptor at 822e4d56, setter: public void org.jboss.remoting.MicroRemoteClientInvoker.setMarshaller(org.jboss.remoting.marshal.Marshaller) 2009-10-07 15:03:35,134 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Failed to find property editor for: marshaller 2009-10-07 15:03:35,135 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Failed to write property 2009-10-07 15:03:35,135 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: numberOfRetries, editor: java.beans.PropertyDescriptor at 94d984df, setter: public void org.jboss.remoting.transport.socket.MicroSocketClientInvoker.setNumberOfRetries(int) 2009-10-07 15:03:35,136 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: timeout, editor: java.beans.PropertyDescriptor at 912f0dc8, setter: null 2009-10-07 15:03:35,136 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[cac02f, bisocket://193.222.55.22:4457] setting maxPoolSize to 1 2009-10-07 15:03:35,137 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[cac02f, bisocket://193.222.55.22:4457] setting client socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper 2009-10-07 15:03:35,138 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[cac02f, bisocket://193.222.55.22:4457] setting shouldCheckConnection to false 2009-10-07 15:03:35,138 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.SocketClientInvoker SocketClientInvoker[cac02f, bisocket://193.222.55.22:4457] setting timeout to 0 2009-10-07 15:03:35,139 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[cac02f, bisocket://193.222.55.22:4457] constructed 2009-10-07 15:03:35,139 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[cac02f, bisocket://193.222.55.22:4457] setting maxPoolSize to 1 2009-10-07 15:03:35,140 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[cac02f, bisocket://193.222.55.22:4457] setting client socket wrapper class name to org.jboss.jms.client.remoting.ClientSocketWrapper 2009-10-07 15:03:35,140 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[cac02f, bisocket://193.222.55.22:4457] setting shouldCheckConnection to false 2009-10-07 15:03:35,141 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.SocketClientInvoker SocketClientInvoker[cac02f, bisocket://193.222.55.22:4457] setting timeout to 0 2009-10-07 15:03:35,142 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.bisocket.BisocketClientInvoker Setting ping frequency to: 214748364 2009-10-07 15:03:35,142 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[cac02f, bisocket://193.222.55.22:4457] connecting 2009-10-07 15:03:35,142 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.MicroSocketClientInvoker Creating semaphore with size 1 2009-10-07 15:03:35,143 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[cac02f, bisocket://193.222.55.22:4457] added new pool ([]) as ServerAddress[193.222.55.22:4457, NO enableTcpNoDelay timeout 0 ms, maxPoolSize=1] 2009-10-07 15:03:35,144 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[cac02f, bisocket://193.222.55.22:4457] connected 2009-10-07 15:03:35,144 Stdout WARN callout.out - [aop-trace] org.jboss.jms.client.remoting.JMSRemotingConnection JMSRemotingConnection[bisocket://193.222.55.22:4457/?JBM_clientMaxPoolSize=200&clientLeasePeriod=10000&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.wireformat.JMSWireFormat&numberOfCallRetries=1&numberOfRetries=10&pingFrequency=214748364&pingWindowFactor=10&socket.check_connection=false&stopLeaseOnFailure=true&timeout=0&unmarshaller=org.jboss.jms.wireformat.JMSWireFormat] is doing push callbacks 2009-10-07 15:03:35,146 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.Client starting callback Connector: InvokerLocator [bisocket://193.222.88.33:57837866/callback?callbackServerHost=193.222.88.33&callbackServerPort=57837866&callbackServerProtocol=bisocket&clientMaxPoolSize=1&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&datatype=jms&guid=3r26qk-p6lll4-g0iic14b-1-g0iic488-h&isCallbackServer=true&onewayThreadPool=org.jboss.jms.server.remoting.DirectThreadPool&serverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper] 2009-10-07 15:03:35,148 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Mapping properties for bean: SocketServerInvoker[193.222.88.33:57837866] 2009-10-07 15:03:35,148 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: pingFrequency, editor: java.beans.PropertyDescriptor at 61a23d43, setter: public void org.jboss.remoting.transport.bisocket.BisocketServerInvoker.setPingFrequency(int) 2009-10-07 15:03:35,149 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: timeout, editor: java.beans.PropertyDescriptor at 638918e8, setter: public void org.jboss.remoting.ServerInvoker.setTimeout(int) 2009-10-07 15:03:35,150 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: pingWindowFactor, editor: java.beans.PropertyDescriptor at 7f5b3f3e, setter: public void org.jboss.remoting.transport.bisocket.BisocketServerInvoker.setPingWindowFactor(int) 2009-10-07 15:03:35,150 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: onewayThreadPool, editor: java.beans.PropertyDescriptor at d60e2b6a, setter: public void org.jboss.remoting.ServerInvoker.setOnewayThreadPool(org.jboss.util.threadpool.ThreadPool) 2009-10-07 15:03:35,169 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Failed to find property editor for: onewayThreadPool 2009-10-07 15:03:35,170 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Failed to write property 2009-10-07 15:03:35,170 Stdout WARN callout.out - [aop-trace] org.jboss.util.propertyeditor.PropertyEditors Property editor found for: dataType, editor: java.beans.PropertyDescriptor at c81181d8, setter: null 2009-10-07 15:03:35,171 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.ServerInvoker SocketServerInvoker[193.222.88.33:57837866] did not find server socket factory configuration as mbean service or classname. Creating default server socket factory. 2009-10-07 15:03:35,171 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.ServerInvoker SocketServerInvoker[193.222.88.33:57837866] created server socket factory javax.net.DefaultServerSocketFactory at 3e48f2 2009-10-07 15:03:35,172 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.bisocket.BisocketServerInvoker SocketServerInvoker[193.222.88.33:57837866] setting pingFrequency to 214748364 2009-10-07 15:03:35,172 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.bisocket.BisocketServerInvoker SocketServerInvoker[193.222.88.33:57837866] setting pingWindowFactor to 10 2009-10-07 15:03:35,173 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.Connector org.jboss.remoting.transport.Connector at 4c2683 started 2009-10-07 15:03:35,174 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.local.LocalClientInvoker Using local client invoker for invocation. 2009-10-07 15:03:35,174 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.ServerInvoker SocketServerInvoker[193.222.88.33:57837866] received InternalInvocation[f09995] 2009-10-07 15:03:35,174 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.ServerInvoker handling InternalInvocation where method name = addClientListener 2009-10-07 15:03:35,175 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.ServerInvoker ServerInvoker (SocketServerInvoker[193.222.88.33:57837866]) added client callback handler CallbackManager[68bcef] with session id of 3r26qk-p6lll4-g0iic14b-1-g0iic3yr-d+3r26qk-p6lll4-g0iic14b-1-g0iic491-i and callback handle object of null. 2009-10-07 15:03:35,175 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.ServerInvoker SocketServerInvoker[193.222.88.33:57837866] successfully dispatched invocation, returning null from subsystem 'JMS' to client 3r26qk-p6lll4-g0iic14b-1-g0iic3yr-d 2009-10-07 15:03:35,176 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.InvokerRegistry destroying client invoker InvokerLocator [bisocket://193.222.88.33:57837866/callback?callbackServerHost=193.222.88.33&callbackServerPort=57837866&callbackServerProtocol=bisocket&clientMaxPoolSize=1&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&datatype=jms&guid=3r26qk-p6lll4-g0iic14b-1-g0iic488-h&isCallbackServer=true&onewayThreadPool=org.jboss.jms.server.remoting.DirectThreadPool&serverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper], config {} 2009-10-07 15:03:35,176 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.InvokerRegistry removed org.jboss.remoting.transport.local.LocalClientInvoker at 121f956 from registry 2009-10-07 15:03:35,177 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.InvokerRegistry disconnecting org.jboss.remoting.transport.local.LocalClientInvoker at 121f956 2009-10-07 15:03:35,177 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457](1) invoking InvocationRequest[aab87f, JMS, InternalInvocation[1d46c20]] 2009-10-07 15:03:35,178 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.bisocket.BisocketClientInvoker getting secondary locator 2009-10-07 15:03:35,178 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457](1) invoking InvocationRequest[2df, InternalInvocation[bc839a]] 2009-10-07 15:03:35,179 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] obtained semaphore: 199 2009-10-07 15:03:35,180 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reusing pooled connection: ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] 2009-10-07 15:03:35,181 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker took 2 ms to get socket ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] 2009-10-07 15:03:35,181 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing version 22 on output stream 2009-10-07 15:03:35,182 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing invocation to marshaller 2009-10-07 15:03:35,182 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing InvocationRequest[2df, InternalInvocation[bc839a]] 2009-10-07 15:03:35,183 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Stream is a DataOutputStream 2009-10-07 15:03:35,183 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing packet: SerializedPacket[InvocationRequest[2df, InternalInvocation[bc839a]]] 2009-10-07 15:03:35,184 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Wrote packet 2009-10-07 15:03:35,185 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] done writing invocation to marshaller 2009-10-07 15:03:35,185 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reading version from input stream 2009-10-07 15:03:35,259 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] read version 22 from input stream 2009-10-07 15:03:35,260 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reading response from unmarshaller 2009-10-07 15:03:35,260 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Reading 2009-10-07 15:03:35,261 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Stream is already DataInputStream :) 2009-10-07 15:03:35,261 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Created packet SerializedPacket[null] 2009-10-07 15:03:35,262 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Reading packet 2009-10-07 15:03:35,264 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Read packet 2009-10-07 15:03:35,265 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Returning payload: InvocationResponse[18787c9, InvokerLocator [null://193.222.55.22:2150/?]] 2009-10-07 15:03:35,265 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] returned ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] to pool 2009-10-07 15:03:35,266 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] released semaphore: 200 2009-10-07 15:03:35,266 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] received response InvocationResponse[18787c9, InvokerLocator [null://193.222.55.22:2150/?]] 2009-10-07 15:03:35,267 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] received InvocationResponse so going to return response's return value of InvokerLocator [null://193.222.55.22:2150/?] 2009-10-07 15:03:35,267 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.bisocket.BisocketClientInvoker secondary locator: InvokerLocator [null://193.222.55.22:2150/?] 2009-10-07 15:03:35,268 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.bisocket.BisocketServerInvoker creating control connection: InvokerLocator [null://193.222.55.22:2150/?] 2009-10-07 15:03:35,300 SCR Component Actor INFO jetty.webconnector - Starting JETTY 2009-10-07 15:03:35,300 SCR Component Actor INFO jetty.webconnector - jetty-6.1.15 2009-10-07 15:03:35,331 SCR Component Actor INFO jetty.webconnector - Started BufferConnector 2009-10-07 15:03:35,331 SCR Component Actor WARN jetty.webconnector - JETTY-6.1.15 started 2009-10-07 15:03:35,332 SCR Component Actor INFO agent.http.pxlet.jetty.pushlet - webapp alu3pco sounds like to import the package com.alcatel.as.util.apptracker: It must register itself via the AppService interface. This application won't be deployed for now 2009-10-07 15:03:35,334 SCR Component Actor INFO osgi.event.service - Service registered by bundle JettyContainer(1.0.0) {objectClass=[com.alcatel.as.service.webcontainer.WebContainerServicecom.alcatel.as.util.apptracker.AppService],protocol=WEB,service.id=130} 2009-10-07 15:03:35,335 SCR Component Actor INFO osgi.event.service - Service registered by bundle JettyWebConnector(1.2530.05) {component.id=20,component.name=JettyWebConnector,objectClass=[com.alcatel.as.service.webconnector.WebConnector],service.id=129} 2009-10-07 15:03:35,342 SCR Component Actor INFO com.alcatel_lucent.sip.registrar.impl.DomainHelperService - Activating DomainHelperService ... 2009-10-07 15:03:35,344 SCR Component Actor INFO osgi.event.service - Service registered by bundle RegistrarImpl(2.2530.06) {component.id=21,component.name=LocalDomain,configDomain.target=(service.pid=sipagent),objectClass=[com.alcatel.sip.registrar.LocalDomain],service.id=131,sipservice.target=(protocol=SIP)} 2009-10-07 15:03:35,344 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.bisocket.BisocketServerInvoker SocketServerInvoker[193.222.88.33:57837866] created control connection (3r26qk-p6lll4-g0iic14b-1-g0iic491-i): Socket[addr=/193.222.55.22,port=2150,localport=39199] 2009-10-07 15:03:35,345 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] obtained semaphore: 199 2009-10-07 15:03:35,345 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reusing pooled connection: ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] 2009-10-07 15:03:35,346 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker took 1 ms to get socket ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] 2009-10-07 15:03:35,346 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing version 22 on output stream 2009-10-07 15:03:35,347 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing invocation to marshaller 2009-10-07 15:03:35,347 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing InvocationRequest[aab87f, JMS, InternalInvocation[1d46c20]] 2009-10-07 15:03:35,348 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Stream is a DataOutputStream 2009-10-07 15:03:35,348 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing packet: SerializedPacket[InvocationRequest[aab87f, JMS, InternalInvocation[1d46c20]]] 2009-10-07 15:03:35,353 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Wrote packet 2009-10-07 15:03:35,353 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] done writing invocation to marshaller 2009-10-07 15:03:35,353 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reading version from input stream 2009-10-07 15:03:35,360 SCR Component Actor INFO com.alcatel_lucent.sip.registrar.impl.LocationServiceImpl - Configuring LocationServiceImpl: our registrar.database.sessiontype is: registrar 2009-10-07 15:03:35,360 SCR Component Actor INFO com.alcatel_lucent.sip.registrar.impl.LocationServiceImpl - Configuring LocationServiceImpl: our registrar.group is: null 2009-10-07 15:03:35,360 SCR Component Actor INFO com.alcatel_lucent.sip.registrar.impl.LocationServiceImpl - Activating LocationServiceImpl ... 2009-10-07 15:03:35,361 SCR Component Actor INFO osgi.event.service - Service registered by bundle RegistrarImpl(2.2530.06) {component.id=22,component.name=LocationService,configRegistrar.target=(service.pid=registrar),objectClass=[com.alcatel.sip.registrar.LocationService],service.id=132} 2009-10-07 15:03:35,391 SCR Component Actor WARN dns.impl.activator - activate 2009-10-07 15:03:35,393 SCR Component Actor INFO osgi.event.service - Service registered by bundle DNSClient(1.0.0) {component.id=23,component.name=DnsImpl,config.target=(service.pid=dns),objectClass=[com.alcatel_lucent.as.service.dns.DNSFactory],service.id=133} 2009-10-07 15:03:35,393 SCR Component Actor INFO callout - Discovered new MuxHandler for protocol Sip 2009-10-07 15:03:35,545 SCR Component Actor INFO agent.sip - SipAgent.init(): Listening points defined in SipAgent configuration parameters are: UDP=[5070], TCP=[5070], TLS=[5071] 2009-10-07 15:03:35,545 SCR Component Actor INFO agent.sip - SipAgent.init(): Outbound interfaces defined in SipAgent configuration parameters are: [sip:193.222.88.33:5070] 2009-10-07 15:03:35,545 SCR Component Actor INFO agent.sip - Sip Agent initializing, SipSession timeout is [3 minute(s)], IO Handler mapping timeout is [212 second(s)] 2009-10-07 15:03:35,546 SCR Component Actor INFO agent.sip - Sip Agent initializing, Loop detection activated=[true], merged requests detection activated=[true], proceeding server transaction timer=[400*T1] 2009-10-07 15:03:35,546 SCR Component Actor INFO agent.sip - Sip Agent initializing, stack IP Address= [193.222.88.33], MTU size=[1500], timer C=[360*T1] 2009-10-07 15:03:35,546 SCR Component Actor INFO agent.sip - Sip Agent initializing, Strict compliance= [true], original headers proxying= [true], connection reuse mode= [FULL], SIP outbound for NAT traversal= [false], Transport Switching= [ENABLED] 2009-10-07 15:03:35,546 SCR Component Actor INFO agent.sip - Sip Agent initializing, activateRFC3263DNSResolution =[true] DNSRetryDelaySeconds =[5], DNSCacheTimeoutMinutes =[3], DNSAsynchronousMode =[false] 2009-10-07 15:03:35,546 SCR Component Actor INFO agent.sip - Sip Agent initializing, DNSSearchPath =[null], primaryDNSServerAddress =[null:53], secondaryDNSServerAddress =[null:53] 2009-10-07 15:03:35,547 SCR Component Actor INFO agent.sip - Sip Agent initializing, NAT traversal incoming ALG Activated=[false], incoming public address=[null], outgoing ALG activated=[false] outgoing Public Address=[null], scan incoming message body=[false], scan outgoing message body=[false] 2009-10-07 15:03:35,547 SCR Component Actor INFO agent.sip - Sip Agent initializing, NAT traversal incoming STUN Activated=[false], outgoing STUN activated=[false], STUN Server Address=[] STUN server port is [3478] 2009-10-07 15:03:35,547 SCR Component Actor INFO agent.sip - Sip Agent initializing, NAT traversal symmetric response routing (RFC3581) incoming activated=[true], outgoing activated=[true], implicit activated=[false] 2009-10-07 15:03:35,547 SCR Component Actor INFO agent.sip - Sip Agent initializing, IPSEC UDP/TCP client port=[-1], IPSEC UDP/TCP server port=[-1], dual record-routing=[true] 2009-10-07 15:03:35,550 Sip INFO agent.sip - SipAgent.init(): magickey is 0017a4111216-280999559-669- 2009-10-07 15:03:35,585 Sip INFO agent.sip.stack - SipStack init with { com.alcatel.sip.stack.IP_ADDRESS=193.222.88.33 } 2009-10-07 15:03:35,585 Sip INFO agent.sip.stack - com.alcatel.sip.stack.T1_BASE_TIMER_INTERVAL_MILLISECONDS property set to 500 2009-10-07 15:03:35,597 Sip INFO agent.sip.router.cache - Hops cache initialized (timeout=3min) 2009-10-07 15:03:35,606 Sip INFO agent.sip - configuring listening point for UDP 2009-10-07 15:03:35,625 Sip INFO agent.sip.transaction - SipProviderImpl.constructor 2009-10-07 15:03:35,626 Sip INFO agent.sip - configuring listening point for TCP 2009-10-07 15:03:35,627 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] read version 22 from input stream 2009-10-07 15:03:35,628 Sip INFO agent.sip.transaction - SipProviderImpl.constructor 2009-10-07 15:03:35,628 Sip INFO agent.sip - configuring listening point for TLS 2009-10-07 15:03:35,628 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reading response from unmarshaller 2009-10-07 15:03:35,628 Sip INFO agent.sip.transaction - SipProviderImpl.constructor 2009-10-07 15:03:35,628 Sip INFO agent.sip - configure listening points done. 2009-10-07 15:03:35,628 Sip INFO agent.sip - declaring outbound interfaces [sip:193.222.88.33:5070] 2009-10-07 15:03:35,628 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Reading 2009-10-07 15:03:35,629 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Stream is already DataInputStream :) 2009-10-07 15:03:35,630 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Created packet org.jboss.jms.wireformat.NullResponse at 1f10df7 2009-10-07 15:03:35,630 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Reading packet 2009-10-07 15:03:35,631 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Read packet 2009-10-07 15:03:35,631 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Returning payload: InvocationResponse[cc0f9f, org.jboss.jms.wireformat.NullResponse at 1f10df7] 2009-10-07 15:03:35,632 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] returned ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] to pool 2009-10-07 15:03:35,632 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] released semaphore: 200 2009-10-07 15:03:35,633 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] received response InvocationResponse[cc0f9f, org.jboss.jms.wireformat.NullResponse at 1f10df7] 2009-10-07 15:03:35,634 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] received InvocationResponse so going to return response's return value of org.jboss.jms.wireformat.NullResponse at 1f10df7 2009-10-07 15:03:35,634 Stdout WARN callout.out - [aop-trace] org.jboss.jms.client.remoting.JMSRemotingConnection JMSRemotingConnection[bisocket://193.222.55.22:4457/?JBM_clientMaxPoolSize=200&clientLeasePeriod=10000&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.wireformat.JMSWireFormat&numberOfCallRetries=1&numberOfRetries=10&pingFrequency=214748364&pingWindowFactor=10&socket.check_connection=false&stopLeaseOnFailure=true&timeout=0&unmarshaller=org.jboss.jms.wireformat.JMSWireFormat] started 2009-10-07 15:03:35,635 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457](1) invoking InvocationRequest[1eeeaed, JMS, org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest at 818737] 2009-10-07 15:03:35,635 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] obtained semaphore: 199 2009-10-07 15:03:35,636 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reusing pooled connection: ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] 2009-10-07 15:03:35,636 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker took 1 ms to get socket ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36009].c3dd7e] 2009-10-07 15:03:35,637 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing version 22 on output stream 2009-10-07 15:03:35,637 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing invocation to marshaller 2009-10-07 15:03:35,638 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing InvocationRequest[1eeeaed, JMS, org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest at 818737] 2009-10-07 15:03:35,638 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Stream is a DataOutputStream 2009-10-07 15:03:35,639 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat JBM Request 2009-10-07 15:03:35,639 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing packet: org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest at 818737 2009-10-07 15:03:35,640 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Wrote packet 2009-10-07 15:03:35,641 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] done writing invocation to marshaller 2009-10-07 15:03:35,641 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reading version from input stream 2009-10-07 15:03:35,645 Sip INFO agent.sip - outbound interface [sip:193.222.88.33:5070] declared 2009-10-07 15:03:35,645 Sip INFO agent.sip - declare outbound interfaces done. 2009-10-07 15:03:35,646 Sip INFO agent.sip - SipAgent.init(): SipAgent Available for any sip stack 2009-10-07 15:03:35,647 Thread-28 WARN com.alcatel.config.Reporter - ReportingThread starting ... 2009-10-07 15:03:35,648 SCR Component Actor INFO callout - Monitoring was successfully initialized for SipAgent(alu3pcoGroup__callout_agent-Sip) 2009-10-07 15:03:35,654 SCR Component Actor INFO osgi.event.service - Service registered by bundle SipAgent(1.2530.15) {component.id=3,component.name=SipAgent,config.target=(service.pid=sipagent),objectClass=[com.nextenso.mux.MuxHandler],protocol=Sip,service.id=134} 2009-10-07 15:03:35,660 SCR Component Actor INFO osgi.event.service - Service registered by bundle SipHA(1.2530.09) {component.id=9,component.name=SessionIDGenerator,env.target=(service.pid=componentEnv),objectClass=[com.alcatel.sip.sipservlet.services.SessionIDGenerator],service.id=135} 2009-10-07 15:03:35,682 Sip WARN agent.sip - new MUX connection to stack 193.222.88.33:15001: connection is established between io-handler and SIP Agent, connection =[MuxConnection [id=2, local=TcpChannel [local=/193.222.88.33:48089,remote=ihasr03/193.222.88.33:15001], stackId=269, stackName=Sip Stack, stackInstance=alu3pcoGroup__sip_stack, stackHost=ihasr03, stackAddr=193.222.88.33, stackPort=15001, stackId=269]] 2009-10-07 15:03:35,689 Sip INFO agent.sip - SipInterface [tcp/193.222.88.33:5070] : CONNECTING to MuxConnection [id=2, local=TcpChannel [local=/193.222.88.33:48089,remote=ihasr03/193.222.88.33:15001], stackId=269, stackName=Sip Stack, stackInstance=alu3pcoGroup__sip_stack, stackHost=ihasr03, stackAddr=193.222.88.33, stackPort=15001, stackId=269] 2009-10-07 15:03:35,690 Sip INFO agent.sip - SipInterface [tls/193.222.88.33:5071] : CONNECTING to MuxConnection [id=2, local=TcpChannel [local=/193.222.88.33:48089,remote=ihasr03/193.222.88.33:15001], stackId=269, stackName=Sip Stack, stackInstance=alu3pcoGroup__sip_stack, stackHost=ihasr03, stackAddr=193.222.88.33, stackPort=15001, stackId=269] 2009-10-07 15:03:35,695 Sip INFO agent.sip - SipInterface [udp/193.222.88.33:5070] : CONNECTING to MuxConnection [id=2, local=TcpChannel [local=/193.222.88.33:48089,remote=ihasr03/193.222.88.33:15001], stackId=269, stackName=Sip Stack, stackInstance=alu3pcoGroup__sip_stack, stackHost=ihasr03, stackAddr=193.222.88.33, stackPort=15001, stackId=269] 2009-10-07 15:03:35,734 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] read version 22 from input stream 2009-10-07 15:03:35,735 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reading response from unmarshaller 2009-10-07 15:03:35,735 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Reading 2009-10-07 15:03:35,735 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Stream is already DataInputStream :) 2009-10-07 15:03:35,735 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Created packet org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateResponse at 39880a 2009-10-07 15:03:35,735 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Reading packet 2009-10-07 15:03:35,735 Stdout WARN callout.out - [aop-trace] org.jboss.jms.client.remoting.JMSRemotingConnection JMSRemotingConnection[bisocket://193.222.55.22:4457/?JBM_clientMaxPoolSize=200&clientLeasePeriod=10000&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&dataType=jms&marshaller=org.jboss.jms.wireformat.JMSWireFormat&numberOfCallRetries=1&numberOfRetries=10&pingFrequency=214748364&pingWindowFactor=10&socket.check_connection=false&stopLeaseOnFailure=true&timeout=0&unmarshaller=org.jboss.jms.wireformat.JMSWireFormat] stop 2009-10-07 15:03:35,736 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457](1) invoking InvocationRequest[1126d91, JMS, InternalInvocation[d767dc]] 2009-10-07 15:03:35,736 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] obtained semaphore: 198 2009-10-07 15:03:35,736 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] creating socket 2009-10-07 15:03:35,811 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] created socket: Socket[addr=/193.222.55.22,port=4457,localport=36012] 2009-10-07 15:03:35,812 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.SocketWrapper constructing org.jboss.jms.client.remoting.ClientSocketWrapper instance for Socket[addr=/193.222.55.22,port=4457,localport=36012], using timeout 0 2009-10-07 15:03:35,812 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.SocketWrapper ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36012].f0f6ac] setting timeout to 0 2009-10-07 15:03:35,812 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker took 75 ms to get socket ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36012].f0f6ac] 2009-10-07 15:03:35,812 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing version 22 on output stream 2009-10-07 15:03:35,812 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing invocation to marshaller 2009-10-07 15:03:35,812 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing InvocationRequest[1126d91, JMS, InternalInvocation[d767dc]] 2009-10-07 15:03:35,812 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Stream is a DataOutputStream 2009-10-07 15:03:35,816 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing packet: SerializedPacket[InvocationRequest[1126d91, JMS, InternalInvocation[d767dc]]] 2009-10-07 15:03:35,816 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Wrote packet 2009-10-07 15:03:35,816 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] done writing invocation to marshaller 2009-10-07 15:03:35,816 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reading version from input stream 2009-10-07 15:03:35,914 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] read version 22 from input stream 2009-10-07 15:03:35,922 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reading response from unmarshaller 2009-10-07 15:03:35,922 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Reading 2009-10-07 15:03:35,922 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Stream is already DataInputStream :) 2009-10-07 15:03:35,922 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Created packet org.jboss.jms.wireformat.NullResponse at 3457f1 2009-10-07 15:03:35,923 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Reading packet 2009-10-07 15:03:35,923 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Read packet 2009-10-07 15:03:35,923 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Returning payload: InvocationResponse[14a5594, org.jboss.jms.wireformat.NullResponse at 3457f1] 2009-10-07 15:03:35,923 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] returned ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36012].f0f6ac] to pool 2009-10-07 15:03:35,923 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] released semaphore: 199 2009-10-07 15:03:35,923 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] received response InvocationResponse[14a5594, org.jboss.jms.wireformat.NullResponse at 3457f1] 2009-10-07 15:03:35,923 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] received InvocationResponse so going to return response's return value of org.jboss.jms.wireformat.NullResponse at 3457f1 2009-10-07 15:03:35,924 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.local.LocalClientInvoker Using local client invoker for invocation. 2009-10-07 15:03:35,924 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.ServerInvoker SocketServerInvoker[193.222.88.33:57837866] received InternalInvocation[15be31e] 2009-10-07 15:03:35,924 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.ServerInvoker handling InternalInvocation where method name = removeClientListener 2009-10-07 15:03:35,924 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.ServerInvoker ServerInvoker (SocketServerInvoker[193.222.88.33:57837866]) removing client callback handler with session id of 3r26qk-p6lll4-g0iic14b-1-g0iic3yr-d+3r26qk-p6lll4-g0iic14b-1-g0iic491-i. 2009-10-07 15:03:35,924 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.bisocket.BisocketServerInvoker SocketServerInvoker[193.222.88.33:57837866] shutting down control connection: 3r26qk-p6lll4-g0iic14b-1-g0iic491-i 2009-10-07 15:03:35,924 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.ServerInvoker SocketServerInvoker[193.222.88.33:57837866] successfully dispatched invocation, returning null from subsystem 'JMS' to client 3r26qk-p6lll4-g0iic14b-1-g0iic3yr-d 2009-10-07 15:03:35,925 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.InvokerRegistry destroying client invoker InvokerLocator [bisocket://193.222.88.33:57837866/callback?callbackServerHost=193.222.88.33&callbackServerPort=57837866&callbackServerProtocol=bisocket&clientMaxPoolSize=1&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&datatype=jms&guid=3r26qk-p6lll4-g0iic14b-1-g0iic488-h&isCallbackServer=true&onewayThreadPool=org.jboss.jms.server.remoting.DirectThreadPool&serverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper], config {} 2009-10-07 15:03:35,925 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.InvokerRegistry removed org.jboss.remoting.transport.local.LocalClientInvoker at 748417 from registry 2009-10-07 15:03:35,925 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.InvokerRegistry disconnecting org.jboss.remoting.transport.local.LocalClientInvoker at 748417 2009-10-07 15:03:35,925 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.Connector org.jboss.remoting.transport.Connector at 4c2683 shutting down server invoker 2009-10-07 15:03:35,925 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.SocketServerInvoker SocketServerInvoker[193.222.88.33:57837866] stopped threads in clientpool 2009-10-07 15:03:35,925 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.SocketServerInvoker SocketServerInvoker[193.222.88.33:57837866] stopped threads in threadpool 2009-10-07 15:03:35,926 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.transport.socket.SocketServerInvoker SocketServerInvoker[193.222.88.33:57837866] exiting 2009-10-07 15:03:35,926 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.ServerInvoker SocketServerInvoker[193.222.88.33:57837866] stopped 2009-10-07 15:03:35,926 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.Connector org.jboss.remoting.transport.Connector at 4c2683 is stopped 2009-10-07 15:03:35,926 Stdout WARN callout.out - [aop-debug] org.jboss.remoting.LeasePinger LeasePinger[SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457](3r26qk-p6lll4-g0iic14b-1-g0iic3ys-f)] setting disconnect timeout to: -1 2009-10-07 15:03:35,926 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.LeasePinger LeasePinger[SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457](3r26qk-p6lll4-g0iic14b-1-g0iic3ys-f)] removing client with session ID 3r26qk-p6lll4-g0iic14b-1-g0iic3yr-d 2009-10-07 15:03:35,926 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.MicroRemoteClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457](1) invoking InvocationRequest[911fb5, $DISCONNECT$] 2009-10-07 15:03:35,926 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] obtained semaphore: 198 2009-10-07 15:03:35,927 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reusing pooled connection: ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36012].f0f6ac] 2009-10-07 15:03:35,927 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker took 1 ms to get socket ClientSocketWrapper[Socket[addr=/193.222.55.22,port=4457,localport=36012].f0f6ac] 2009-10-07 15:03:35,927 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing version 22 on output stream 2009-10-07 15:03:35,927 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] writing invocation to marshaller 2009-10-07 15:03:35,927 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing InvocationRequest[911fb5, $DISCONNECT$] 2009-10-07 15:03:35,927 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Stream is a DataOutputStream 2009-10-07 15:03:35,928 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Writing packet: SerializedPacket[InvocationRequest[911fb5, $DISCONNECT$]] 2009-10-07 15:03:35,928 Stdout WARN callout.out - [aop-trace] org.jboss.jms.wireformat.JMSWireFormat Wrote packet 2009-10-07 15:03:35,928 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] done writing invocation to marshaller 2009-10-07 15:03:35,928 Stdout WARN callout.out - [aop-trace] org.jboss.remoting.transport.socket.MicroSocketClientInvoker SocketClientInvoker[150d5d6, bisocket://193.222.55.22:4457] reading version from input stream 2009-10-07 15:03:35,931 Sip INFO agent.sip - SipInterface [tcp/193.222.88.33:5070] : CONNECTED to MuxConnection [id=2, local=TcpChannel [local=/193.222.88.33:48089,remote=ihasr03/193.222.88.33:15001], stackId=269, stackName=Sip Stack, stackInstance=alu3pcoGroup__sip_stack, st View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259248#4259248 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259248 From do-not-reply at jboss.com Wed Oct 7 17:39:01 2009 From: do-not-reply at jboss.com (drivexcite) Date: Wed, 7 Oct 2009 17:39:01 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4.1, JBoss 4.23 and Seam 2.2.0 Message-ID: <21253.1254951541717.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Joerg, Unfortunately I can't replicate what you've done regarding jBPM 4.1 and Seam 2.2 integration. This it's what I did: * I created a seam-gen project. * I replaced jbpm-jpdl.jar (jBPM 3.x) with jbpm.jar (jBPM 4.1). * I configured the jbpm.hibernate.cgf.xml to use the same DataSource (I'm ok with different hibernate sessions). * I create a jPDL (xmlns="http://jbpm.org/4.0/jpdl") process description. * I set up the jbpm.cfg.xml using the recommended setting from Seam docs. * I registered my process definition in components.xml. The end result is when I try to deploy the project (Web app: war), the deployment failed because a ClassNotFoundException. It seems that Seam is not ready to work with jBPM 4.1, but I really hope I'm missing few steps. Can you please describe with a little more detail, what you did to make your test work? Thank you. === Environment ============================== - jBPM Version : jBPM 4.1 (jbpm.jar) - Database : PostgreSQL 8.4 - JDK : Java JDK 1.6.0u14 - Container : JBoss Application Server 5.1.0 GA. - Configuration : | | | | | | | | | | | | | | | | | - Libraries : All the Seam 2.2.0 GA libraries, except I replaced jbpm-jpdl.jar with jbpm.jar (from the jBPM 4.1 zip distribution). === Process ================================== | | | | | | | | | | === Stacktrace ============================== java.lang.RuntimeException: Could not create Component: org.jboss.seam.bpm.businessProcess | at org.jboss.seam.init.Initialization.addComponent(Initialization.java:1202) | at org.jboss.seam.init.Initialization.installComponents(Initialization.java:1118) | at org.jboss.seam.init.Initialization.init(Initialization.java:733) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:36) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3910) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy38.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Unknown Source) | Caused by: java.lang.NoClassDefFoundError: org/jbpm/graph/exe/ProcessInstance | at java.lang.Class.getDeclaredMethods0(Native Method) | at java.lang.Class.privateGetDeclaredMethods(Unknown Source) | at java.lang.Class.getDeclaredMethods(Unknown Source) | at org.jboss.seam.Component.initMembers(Component.java:550) | at org.jboss.seam.Component.(Component.java:244) | at org.jboss.seam.Component.(Component.java:205) | at org.jboss.seam.init.Initialization.addComponent(Initialization.java:1186) | ... 72 more | Caused by: java.lang.ClassNotFoundException: org.jbpm.graph.exe.ProcessInstance from BaseClassLoader at 1cc042f... | at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:448) | at java.lang.ClassLoader.loadClass(Unknown Source) | at java.lang.ClassLoader.loadClassInternal(Unknown Source) | ... 79 more View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259249#4259249 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259249 From do-not-reply at jboss.com Wed Oct 7 17:54:22 2009 From: do-not-reply at jboss.com (hamptont) Date: Wed, 7 Oct 2009 17:54:22 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: links from portlet content to another portal page Message-ID: <19604070.1254952462666.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks apemberton, That was the trick. This is a pretty onerous way to create a simple link to a page. Is there a simpler way ? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259250#4259250 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259250 From do-not-reply at jboss.com Wed Oct 7 18:09:50 2009 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 7 Oct 2009 18:09:50 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4.1, JBoss 4.23 and Seam 2.2.0 Message-ID: <7441712.1254953390484.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : It seems that Seam is not ready to work with jBPM 4.1, but I really hope I'm missing few steps. Correct, see jira... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259251#4259251 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259251 From do-not-reply at jboss.com Wed Oct 7 18:10:38 2009 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 7 Oct 2009 18:10:38 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4.1, JBoss 4.23 and Seam 2.2.0 Message-ID: <8987248.1254953438728.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> correct is not about you missing steps.... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259252#4259252 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259252 From do-not-reply at jboss.com Wed Oct 7 18:27:21 2009 From: do-not-reply at jboss.com (LarryHale) Date: Wed, 7 Oct 2009 18:27:21 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbmp console source code needed Message-ID: <12762270.1254954441217.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> kukeltje: Just saying it's in SVN isn't an answer at all. It's like saying it's on the web. As it turns out, the sources for the jBPM console (client & server) are not in a logical place in the http://anonsvn.jboss.org/repos. So, be a good boy and try to answer skadirov's original question. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259254#4259254 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259254 From do-not-reply at jboss.com Wed Oct 7 18:58:23 2009 From: do-not-reply at jboss.com (noicangi) Date: Wed, 7 Oct 2009 18:58:23 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft Message-ID: <8990207.1254956303513.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> i'm investigating something like this, my idea is to integrate my jpdl model (jbpm4, jb5, mysql, eclipse galileo) with some flex web pages. If Anyone is trying this or has ideas it would be helpfull. thanks in advance, n.Oicangi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259255#4259255 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259255 From do-not-reply at jboss.com Wed Oct 7 19:08:25 2009 From: do-not-reply at jboss.com (dego64) Date: Wed, 7 Oct 2009 19:08:25 -0400 (EDT) Subject: [jboss-user] [Security] - IllegalStateException: Authorization Manager is null with jb Message-ID: <9873466.1254956905818.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Here's my problem : when I start JBoss AS 5.1 hosting a (very) simple Web application with basic authentication (as described there : http://www.jboss.org/community/wiki/SecureAWebApplicationInJBoss), an exception is thrown at : 00:42:04,935 ERROR [CoyoteAdapter] Une exception ou une erreur s'est produite dans le conteneur durant le traitement de la requ????????????????????????te | java.lang.IllegalStateException: Authorization Manager is null | at org.jboss.security.plugins.javaee.WebAuthorizationHelper.hasUserDataPermission(WebAuthorizationHelper.java:185) | at org.jboss.web.tomcat.security.JBossWebRealm.hasUserDataPermission(JBossWebRealm.java:643) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:461) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:619) | Have been looking for this exception on the web for hours and got nothing... Thank very much for any help. Dego64 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259256#4259256 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259256 From do-not-reply at jboss.com Wed Oct 7 20:01:10 2009 From: do-not-reply at jboss.com (drcallaway) Date: Wed, 7 Oct 2009 20:01:10 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Preventing JBoss Cache from recreating dummy table? Message-ID: <19398724.1254960070883.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In addition to the standard "jbosscache" table that contains all of the cache data (when using the JDBCCacheLoader), JBoss Cache also creates a dummy table named "jbosscache_D". This table seems to get recreated every time the cache is started. The AdjListJDBCCacheLoader class's start() method calls a method named createDummyTableIfNeeded() that, despite its name, always drops and recreates the dummy table. Unfortunately, our DBAs do not want to grant the JBoss Cache database user "create table" privileges in production. This isn't an issue with the "jbosscache" table since there is a setting in the config file indicating whether or not this table should be recreated if it already exists. However, I haven't found any such setting for "jbosscache_D". So, can anyone tell me if there is a way to prevent JBoss Cache from creating the dummy table (we'd rather have a DBA pre-create that table using an admin user). Thanks! Dustin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259257#4259257 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259257 From do-not-reply at jboss.com Wed Oct 7 20:24:07 2009 From: do-not-reply at jboss.com (charlesbihis) Date: Wed, 7 Oct 2009 20:24:07 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - how to change the root url of jboss Message-ID: <33024374.1254961447606.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, I have a (seemingly) simple problem that I'm hoping has a simple solution. I've set up JBoss on my server so when I go to www.example.com, I see the beautiful default JBoss welcome page. When I deploy my applications, say, "myApp", I go to www.example.com/myApp and I see my app. Great, this is what I expected. BUT, now I want to change the default root URL for my JBoss applications. Particularly, I want to make it such that when I go to www.example.com/jboss, I see the JBoss welcome page, and when I go to www.example.com/jboss/myApp, I see my app. In short, I want to change the root URL from www.example.com to www.example.com/something without having to change the context-roots in each project specifically. I hope I've explained that well enough. This seems like it'd be an easy thing to do, but I can't figure out how. Can anyone help? *BTW, I'm running JBoss 5.1.0.GA on CentOS. Thanks in advance Charles View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259260#4259260 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259260 From do-not-reply at jboss.com Wed Oct 7 21:46:01 2009 From: do-not-reply at jboss.com (daziplqa) Date: Wed, 7 Oct 2009 21:46:01 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Stateful session beans don't keep state !!! Message-ID: <28376530.1254966361948.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi folks, I am new to EJB and statefull sessin beans on JBoss4.2 AS I have the following urgent problem: I have the following statefull session bean. | @Stateful | public class PlaceOrderBean implements PlaceOrder { | private ShippingInfo shippingInfo; | private BillingInfo billingInfo; | | public void setShippingInfo(ShippingInfo shippingInfo) { | System.out.println("Call # : 1 " ); | this.shippingInfo = shippingInfo; | } | | public void setBillingInfo(BillingInfo billingInfo) { | System.out.println("Call # : 2 " ); | this.billingInfo = billingInfo; | System.out.println(shippingInfo.getShippingInfo()); // << NullPointerException here !!!!! how come ??!! | } | } | The client : | // this class is a JSF managed bean that is used with 2 JSPs, each one of the two calles on of the below methods | public class OrderItemBean { | private PlaceOrder placeOrder; | | public OrderItemBean() { | try { | logger.info("Getting PlaceOrder instance ..."); | InitialContext ctx = new InitialContext(); | placeOrder = (PlaceOrder) ctx.lookup("chapter2/" + PlaceOrderBean.class.getSimpleName() + "/local"); | }catch(NamingException ex) { | ex.printStackTrace(); | } | } | // Note, the class OrderItemBean get instantiated a new instance before calling the following method | // so, the JNDI code in the constructor above is being called to lookup the statefull bean | public String setShippingInfo() { | ShippingInfo shipInfo = new ShippingInfo(); | shipInfo.setShippingInfo(getShippingInfoTxt().getValue().toString()); | placeOrder.setShippingInfo(shipInfo); | | System.out.println("shipping Info : " + shipInfo.getShippingInfo()); | | return SUCCESS + "_setShippingInfo"; | } | // Note, the class OrderItemBean get instantiated a new instance before calling the following method | // so, the JNDI code in the constructor above is being called again to lookup the statefull bean | public String setBillingInfo() { | BillingInfo billingInfo = new BillingInfo(); | billingInfo.setBillingInfo(getBillingInfoTxt().getValue().toString()); | placeOrder.setBillingInfo(billingInfo); | | setAdditionalInfo(); | | return SUCCESS + "_setBillingInfo"; | } | | } The code above get this exception 03:06:35,264 INFO [OrderItemBean] Getting PlaceOrder instance ... | 03:06:35,274 INFO [STDOUT] Call # : 1 | 03:06:35,274 INFO [STDOUT] shipping Info : Cairo, Egypt, Elobour city | 03:06:36,919 INFO [OrderItemBean] Getting PlaceOrder instance ... | 03:06:36,929 INFO [STDOUT] Call # : 2 | 03:06:36,930 FATAL [application] javax.ejb.EJBException: java.lang.NullPointerException | javax.faces.el.EvaluationException: javax.ejb.EJBException: java.lang.NullPointerException | at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91) | at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91) | at javax.faces.component.UICommand.broadcast(UICommand.java:383) | at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447) | at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752) | at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | 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.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 org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:619) | | ............. | .............. | How this come, Ain't it as stateFULL session bean !!!!!! Please Help View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259263#4259263 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259263 From do-not-reply at jboss.com Wed Oct 7 23:22:34 2009 From: do-not-reply at jboss.com (freak182) Date: Wed, 7 Oct 2009 23:22:34 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - null index column for collection: Message-ID: <2485266.1254972154294.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, Im getting that problem in jbpm 3.2.5: Caused by: org.hibernate.HibernateException: null index column for collection: org.jbpm.graph.def.ProcessDefinition.definitions at org.hibernate.persister.collection.AbstractCollectionPersister.readIndex(AbstractCollectionPersister.java:732) at org.hibernate.collection.PersistentMap.readFrom(PersistentMap.java:281) at org.hibernate.loader.Loader.readCollectionElement(Loader.java:1031) at org.hibernate.loader.Loader.readCollectionElements(Loader.java:669) at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:614) How can i solve that problem? Thanks a lot. cheers. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259264#4259264 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259264 From do-not-reply at jboss.com Thu Oct 8 00:01:21 2009 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 8 Oct 2009 00:01:21 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: how to change the root url of jboss Message-ID: <17299323.1254974481099.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "charlesbihis" wrote : In short, I want to change the root URL from www.example.com to www.example.com/something without having to change the context-roots in each project specifically. See a similar post here http://www.jboss.org/index.html?module=bb&op=viewtopic&t=161785 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259266#4259266 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259266 From do-not-reply at jboss.com Thu Oct 8 00:18:40 2009 From: do-not-reply at jboss.com (charlesbihis) Date: Thu, 8 Oct 2009 00:18:40 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: how to change the root url of jboss Message-ID: <4735578.1254975520784.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Jaikiran, Thanks for the reply, but that's not exactly what I want to do. I omitted part of my problem for clarity, but I suppose I should mention it now. I would like to change the root URL from www.example.com to www.example.com/something so that, for instance, when I visit www.example.com/something, I see the JBoss welcome page...BUT, I would still like there to be other content on www.example.com. So, a URL rewrite wouldn't work because I would still like there to be some content on the base URL, i.e. www.example.com, as opposed to re-writing the URL and sending to www.example.com/something. Does that make sense? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259267#4259267 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259267 From do-not-reply at jboss.com Thu Oct 8 00:38:56 2009 From: do-not-reply at jboss.com (RaghavPrabhu) Date: Thu, 8 Oct 2009 00:38:56 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Unable to load class sun.reflect.GeneratedMethodAccessor Message-ID: <2027639.1254976736276.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello lawc, I am also facing the same problem "java.lang.ClassNotFoundException: sun.reflect.GeneratedMethodAccessor131", with the environment Gridgain in Jboss AOP. Have you got any solutions? I would appreciate, if you are able to provide me the solutions! Thanks Prabhu View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259270#4259270 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259270 From do-not-reply at jboss.com Thu Oct 8 01:19:53 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 8 Oct 2009 01:19:53 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls Message-ID: <3537255.1254979193640.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Anybody? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259271#4259271 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259271 From do-not-reply at jboss.com Thu Oct 8 01:22:45 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 8 Oct 2009 01:22:45 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbmp console source code needed Message-ID: <446538.1254979365416.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> To me it seems logical to have the console in that place since it's intended to be a general one and not only for jBPM. http://anonsvn.jboss.org/repos/soag/bpm-console/trunk/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259272#4259272 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259272 From do-not-reply at jboss.com Thu Oct 8 01:25:56 2009 From: do-not-reply at jboss.com (freak182) Date: Thu, 8 Oct 2009 01:25:56 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: null index column for collection: Message-ID: <7789461.1254979556700.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> when i start the process i encountered that exception. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259273#4259273 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259273 From do-not-reply at jboss.com Thu Oct 8 01:47:15 2009 From: do-not-reply at jboss.com (Bouiaw) Date: Thu, 8 Oct 2009 01:47:15 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft Message-ID: <2200805.1254980835216.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Even if the project is currently changing (no more Flex for Front layer), we could find some related topics on Igenko http://code.google.com/p/igenko/. I think a nice way to integrate JCR and JBPM is to use ORM framwork like JCROM for JCR side. I don't know deeply JBPM4 so it may bring new solutions that were not available last year with JBPM3 ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259275#4259275 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259275 From do-not-reply at jboss.com Thu Oct 8 02:36:18 2009 From: do-not-reply at jboss.com (theSourpuss) Date: Thu, 8 Oct 2009 02:36:18 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - JavaBinding Message-ID: <23039646.1254983778521.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> === Environment ============================== - jBPM Version : 4.1 - JDK : 1.6 - Spring 2.5 (use the SpringContext and SpringConfiguration file) === Problem description ========================= API doesn't work as expected. In JavaBinding for attribute 'class' the 'field' tag is processed as expected. If you use expression attributes (which is a spring bean) in java activities the 'field' tag is not set. In custom activities it is set correctly. I don't know exactly, but I guess that in CustomBinding and JavaBinding ('class' attribute) the FieldOperation object is invoked correctly, but not invoked with JavaBinding 'expr' attribute. Thanks for help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259280#4259280 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259280 From do-not-reply at jboss.com Thu Oct 8 02:36:49 2009 From: do-not-reply at jboss.com (jjp) Date: Thu, 8 Oct 2009 02:36:49 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4.1, JBoss 4.23 and Seam 2.2.0 Message-ID: <1349639.1254983809276.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi drivexcite, Seam 2.2 does not support pageflow with jBPM 4.1, but they are working together. You can use jBPM 3 and 4 in parallel. Your exception is because you replaced the jbpm-jpdl.jar, so Seam can not find jBPM3. So leave this jar file, or disable jBPM for Seam in components.xml by removing I disabled jBPM3 in my application and the server is starting up, I can use jBPM. My problem is, that jBPM and Seam are using two different Hibernate sessions, so I can not store my entities as jBPM variables (jBPM does not recognize my class as entity, so it serialises it as a blob). I the first post I described my attempt to solve this. It's working, but some transaction does not commit ... I think I have to take the warning "Can not join ..." seriously. In my further investigation I figured out, that jBPM is using JTA Transactions and my Application uses CMT Transactions. My knowledge about this is not that good. I will have to do more analyses. Best regards, Joerg View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259281#4259281 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259281 From do-not-reply at jboss.com Thu Oct 8 03:30:51 2009 From: do-not-reply at jboss.com (jamba) Date: Thu, 8 Oct 2009 03:30:51 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Skin Issue Message-ID: <2127017.1254987051840.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello Friends we have configured our own portal on jboss with customized skin, it was working fine as intended, suddenly now the skin is not appearing when we access the same URL from the same browser. no changes have been made on it since longtime. What might be the reason? Could some one help me how to resolve this with out restarting the application. Regards Srikar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259286#4259286 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259286 From do-not-reply at jboss.com Thu Oct 8 03:39:25 2009 From: do-not-reply at jboss.com (mesa) Date: Thu, 8 Oct 2009 03:39:25 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft Message-ID: <25043197.1254987565331.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> @kukeltje i am not using alfresco because in view of my problem--- business process if completely different from Document workflow. in my case documents can or can not be part of workflow , i think alfresco supports documents workflow , process flow sits on top of jcr. @noicangi , i think we both are working on the same problem set. i am using struts2,spring,mysql and jbpm3.3GA and tryint to integrate Jackrabbit with it. my motivation comes down from the fact that document management solution is tested wih jackrabbit. @noicangi i am planning to configure service within jbpm context , for example jcr service and if i am able to get an handle and do all this then perform repository operation then there could be a way forward. Other option is to use spring module , that is what i have done , but in this case keping a link between process flow and jcr node will come down to a manual db table mapping. if anyone can suggest something else ..please do the needful View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259287#4259287 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259287 From do-not-reply at jboss.com Thu Oct 8 04:10:55 2009 From: do-not-reply at jboss.com (Krohm) Date: Thu, 8 Oct 2009 04:10:55 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - "startable" processes for a given user Message-ID: <31583258.1254989455180.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I am a bit confused with the "Start" activity and swimlanes. I would need to retrieve information like : "Le list of processes the currently logged user have the right to start". I have tried to set an "initiator" swimlane and various other thing, but I cannot find a way to filter processDefinitions on usernames. Does somebody has a clue ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259290#4259290 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259290 From do-not-reply at jboss.com Thu Oct 8 04:15:41 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 8 Oct 2009 04:15:41 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Message-ID: <11965798.1254989741532.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> AFAIK is jBPM lacking a permission system to restrict users from starting processes at the moment so every user can start every process right now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259291#4259291 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259291 From do-not-reply at jboss.com Thu Oct 8 04:21:42 2009 From: do-not-reply at jboss.com (Krohm) Date: Thu, 8 Oct 2009 04:21:42 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Message-ID: <13972433.1254990102108.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks. That's what I was suspecting anyway :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259293#4259293 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259293 From do-not-reply at jboss.com Thu Oct 8 04:33:54 2009 From: do-not-reply at jboss.com (Krohm) Date: Thu, 8 Oct 2009 04:33:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Message-ID: <32080971.1254990834162.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> And an additional question on the same subjet ... I did not manage to "capture" the user that started the process in a swimlane. (in order to allow this user perform other tasks afterwards). Is this also impossible ? I've seens several references to an "initiator" swimlane, but I haven't managed to make it work. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259296#4259296 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259296 From do-not-reply at jboss.com Thu Oct 8 04:34:29 2009 From: do-not-reply at jboss.com (cnstntn) Date: Thu, 8 Oct 2009 04:34:29 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: ThreadLocal in handler chain. Message-ID: <29800072.1254990869977.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Any directions where i can find this information? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259297#4259297 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259297 From do-not-reply at jboss.com Thu Oct 8 04:37:24 2009 From: do-not-reply at jboss.com (gbansal80) Date: Thu, 8 Oct 2009 04:37:24 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: User: null is NOT authenticated Message-ID: <22813621.1254991044259.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We are currently using JBoss v4.2.3.ga and have upgraded JBoss messaging to v 1.4.4 and JBoss remoting to v2.2.3. JMS messages are sent & received without any exceptions for initial 3-4 days. After that we are observing exception messagesjavax.jms.JMSSecurityException: User null is NOT authenticated, whenever we are trying to create the connection. We have seen that there is no deadlock on JBoss AS and other DB operations are working normally. We are using the following security domain for JMS guest java:/DefaultDS SELECT PASSWD FROM JBM_USER WHERE USER_ID=? SELECT ROLE_ID, 'Roles' FROM JBM_ROLE WHERE USER_ID=? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259299#4259299 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259299 From do-not-reply at jboss.com Thu Oct 8 04:56:03 2009 From: do-not-reply at jboss.com (fdegrigny) Date: Thu, 8 Oct 2009 04:56:03 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to stop a process instance Message-ID: <29448343.1254992163041.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Last I found how to do this. In fact the ProcessIntance.end() method really terminate the process but not all the running process tasks in it (this has confused me). The process tasks have to be terminated separately. At last, I have made all my ActionHandlers extends a custom base one : public abstract class BaseActionHandler implements ActionHandler { | | public void execute(ExecutionContext executionContext) throws Exception { | try { | doAction(executionContext); | } catch (Throwable t) { | handleException(t, executionContext); | } | } | | public abstract void doAction(ExecutionContext executionContext) throws Exception; | | protected void handleException(Throwable t, ExecutionContext executionContext) throws Exception { | log.fatal("Error in " + this.getClass().getName() + ": " + t.getMessage(), t); | | //try to stop process instance and associated tasks | ProcessInstance processInstance = executionContext.getProcessInstance(); | stopProcess(processInstance); | | throw new JbpmException(t.getMessage(), t); | } | | protected void stopProcess(ProcessInstance processInstance) { | JbpmContext jbpmContext = JbpmConfiguration.getInstance().getCurrentJbpmContext(); | Collection taskInstances = unchekedCast(processInstance.getTaskMgmtInstance().getTaskInstances()); | for(TaskInstance task : taskInstances) { | if( ! task.hasEnded() ) { | task.setSignalling(false); | task.cancel(); | jbpmContext.save(task); | } | } | processInstance.end(); | } | } What I have found over-complicated is the JBPM API itself. I'm working with for few month now and there is many things I still cannot understand. For example, the various variables scopes are very confusing and the semantic of many operations are not very clear. My customers have very basics needs for their workflows but I have discover that they cannot be done simply with the JBPM API. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259303#4259303 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259303 From do-not-reply at jboss.com Thu Oct 8 05:24:19 2009 From: do-not-reply at jboss.com (Javim) Date: Thu, 8 Oct 2009 05:24:19 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Massive entry in Test Scenarios Message-ID: <30456585.1254993859696.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Could someone tell me if I can pass more than one instance (CSV with hundred entries) to a Guvnor Test Scenario? I would like to test hundred entries with the same Test Scenario. Not just one. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259305#4259305 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259305 From do-not-reply at jboss.com Thu Oct 8 05:35:44 2009 From: do-not-reply at jboss.com (chernser) Date: Thu, 8 Oct 2009 05:35:44 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Using abstract classes in services: JBOSSWS Native stack Message-ID: <7223927.1254994544390.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Good day, All! I've got Q: Is it possiable for such code to work: | public class A { | ... getters/setters | } | | public class B1 extends A { | ... getters/setters | } | | public class B2 extends A { | ... getters/setters | } | | @WebService | public class SomeWebService { | | public B doIt(B value) { | | if (value instaceof B1) { | .... | return (B1)value | } | } | | } | On the client and server sides I'm expecting that I get proper type cast. I've tried code above, but it doesn't work. Are there any trick? May be, somehow, I can use generic methods ? May be there are special annotation to say wsprovide/wsconsume what types should service expect and return ? Thanks in advance for your answer. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259308#4259308 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259308 From do-not-reply at jboss.com Thu Oct 8 05:52:47 2009 From: do-not-reply at jboss.com (ryden13) Date: Thu, 8 Oct 2009 05:52:47 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Problem with maven building JBoss AS Message-ID: <29832383.1254995567776.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have donwload the sources from the web page. What sources did you use? Thanks!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259313#4259313 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259313 From do-not-reply at jboss.com Thu Oct 8 05:59:34 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 8 Oct 2009 05:59:34 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Stateful session beans don't keep state !!! Message-ID: <11108372.1254995974887.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, according to your code comments, you call "setShippingInfo", then a new instance of your OrderItemBean is created, and after this "setBillingInfo" is called. This cannot work with a Stateful bean, because you will get a new, clean instance on each lookup. The state will only be kept if you save it in some member variable. To work around this you might place the EJB in the session (or in the request): HttpSession session = (HttpSession) FacesContext.getCurrentInstance().getExternalContext().getSession(false; | session.setAttribute("myPlaceOrder", placeOrder); Later, you can reuse the "placeOrder" instance by reading it from the HttpSession. Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259314#4259314 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259314 From do-not-reply at jboss.com Thu Oct 8 06:40:14 2009 From: do-not-reply at jboss.com (karypid) Date: Thu, 8 Oct 2009 06:40:14 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Confused about POJO service Message-ID: <13517427.1254998414967.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, The new mc is probably the most feature-rich container out there. You can roll with anything from POJOs to MBeans. However, I am a little confused due to the multitude of options. My predicament is this: I want to create a service to be deployed in JBoss. Until recently, I'd create a SAR and launch my thread in start(), then kill it in stop() of my MBean. I do this at deployment/undeployment time, so I do not really need the JMX features to control the service. Therefore I want to turn it into a POJO service and remove dependencies on MBean classes. How would you go about packaging such a POJO service so that: 1) it may be included in an EAR (The SAR approach requires that an MBean be defined in jboss-service.xml so it is no longer an option) 2) it executes on application startup / shutdown View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259323#4259323 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259323 From do-not-reply at jboss.com Thu Oct 8 06:48:47 2009 From: do-not-reply at jboss.com (makarandk502) Date: Thu, 8 Oct 2009 06:48:47 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: authentication failed while JBPM console login Message-ID: <5762283.1254998927361.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Kindly check JBOSS server logs while running ant task. Logs can be found in /jboss-5.0.0.GA/server/default/log View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259325#4259325 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259325 From do-not-reply at jboss.com Thu Oct 8 06:52:17 2009 From: do-not-reply at jboss.com (makarandk502) Date: Thu, 8 Oct 2009 06:52:17 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Deploy a project Message-ID: <10939550.1254999137328.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> you can refer to ant build scripts ( building examples those are coming with jbpm ) for reference. That will give you some idea of deployment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259326#4259326 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259326 From do-not-reply at jboss.com Thu Oct 8 06:55:38 2009 From: do-not-reply at jboss.com (cash1981) Date: Thu, 8 Oct 2009 06:55:38 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - jPDL decision or fork? Message-ID: <19343841.1254999338057.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi. I am quite new to jBPM and wondering what I should in the following example. This is the snippet of the jpdl file: | | | | | | | | | | | | | | | | | | | | In the task The user handlingOfficer has the option to do something. If he does A, I would like to design in JBPM "skip 40-ruling and go straight to 50-sendPermit", and if he choose option B in 30-rulingAssessment, I want to have the same behaviour as modeled. So my question is, how can I do this? Should I create a fork somehow from rulingAssessment or maybe just a decision node? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259328#4259328 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259328 From do-not-reply at jboss.com Thu Oct 8 06:55:46 2009 From: do-not-reply at jboss.com (alesj) Date: Thu, 8 Oct 2009 06:55:46 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Re: Confused about POJO service Message-ID: <18846375.1254999346929.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Simply create a POJO - drop the MBean stuff - and place it any META-INF/somename-jboss-beans.xml. See JBoss5 config files on how MC's schema looks like. MC tries to execute create/start/stop/destroy parameterless methods on the bean by default if they exist. So, just keep the start() and stop() and you're fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259329#4259329 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259329 From do-not-reply at jboss.com Thu Oct 8 07:02:23 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 8 Oct 2009 07:02:23 -0400 (EDT) Subject: [jboss-user] [Security] - Re: IllegalStateException: Authorization Manager is null wit Message-ID: <1098450.1254999743465.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, please provide more details on your configuration (snippets of web.xml, jboss-web.xml, login-config.xml). The wiki lacks the most important part: JBoss specific configuration of the security domain through "login-config.xml". I don't have a "perfect" link for this, but google might help. For JBoss 5.x, you can also use a file "xxx-jboss-beans.xml": http://server.dzone.com/articles/security-features-jboss-510. Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259331#4259331 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259331 From do-not-reply at jboss.com Thu Oct 8 07:21:23 2009 From: do-not-reply at jboss.com (daziplqa) Date: Thu, 8 Oct 2009 07:21:23 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Stateful session beans don't keep state !!! Message-ID: <9879842.1255000883696.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank, I get it. So, You mean to be able to use the statefullness of statefull session beans, I should keep a single instance of the bean. But, If i use a state**less** bean, and i kept a single instance from it while setting the bean data, It should save the same date. In other words, If I have changed the constructor above to a static initialize block, then change the stateFul bean to a stateLess bean, I will get code will still works, I just tried it. So, What is the story behind that? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259340#4259340 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259340 From do-not-reply at jboss.com Thu Oct 8 07:22:44 2009 From: do-not-reply at jboss.com (richard.opalka@jboss.com) Date: Thu, 8 Oct 2009 07:22:44 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: ThreadLocal in handler chain. Message-ID: <30282716.1255000964519.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You have to trust me ;) The only documentation is our source code :( View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259341#4259341 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259341 From do-not-reply at jboss.com Thu Oct 8 07:33:14 2009 From: do-not-reply at jboss.com (luuzz) Date: Thu, 8 Oct 2009 07:33:14 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Performance issues after switching from mq to jboss messagin Message-ID: <19553188.1255001594272.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> For few days now, i'm working on switching from mq to jboss messaging on jboss 4.2.0. I successfully started the server with jboss messaging without any errors and messages are processed by the mdbs. So yesterday we did the same in the production environment but unfortunately customers are complaining that the web application is too slow although it was early in the morning with not much activity. When we switched back to mq everything worked fine. Seems like the problem is messaging. we cheched that all the connections are closed normally. I noticed that we get many logs like that | 2009-10-08 09:06:02,722 DEBUG [org.jboss.remoting.Client] starting callback Connector: InvokerLocator [bisocket://84.246.229.70:1724524841/callback?serverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper&isCallbackServer=true&callbackServerProtocol=bisocket&datatype=jms&guid=2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7m-6we&callbackServerHost=84.246.229.70&callbackServerPort=1724524841&clientMaxPoolSize=1&onewayThreadPool=org.jboss.jms.server.remoting.DirectThreadPool&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper] | 2009-10-08 09:06:02,722 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] SocketServerInvoker[UNINITIALIZED] setting pingFrequency to 214748364 | 2009-10-08 09:06:02,722 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] SocketServerInvoker[UNINITIALIZED] setting pingWindowFactor to 10 | 2009-10-08 09:06:02,724 DEBUG [org.jboss.remoting.ServerInvoker] SocketServerInvoker[UNINITIALIZED] did not find server socket factory configuration as mbean service or classname. Creating default server socket factory. | 2009-10-08 09:06:02,724 DEBUG [org.jboss.remoting.ServerInvoker] SocketServerInvoker[UNINITIALIZED] created server socket factory javax.net.DefaultServerSocketFactory at 10efd7c | 2009-10-08 09:06:02,724 DEBUG [org.jboss.remoting.transport.Connector] org.jboss.remoting.transport.Connector at ce79ab started | 2009-10-08 09:06:02,724 DEBUG [org.jboss.remoting.ServerInvoker] ServerInvoker (SocketServerInvoker[UNINITIALIZED]) added client callback handler CallbackManager[1ced81d] with session id of 2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7m-6wc+2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7o-6wf and callback handle object of null. | 2009-10-08 09:06:02,724 DEBUG [org.jboss.remoting.InvokerRegistry] removed org.jboss.remoting.transport.local.LocalClientInvoker at 196046f from registry | 2009-10-08 09:06:02,724 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] Session id for callback handler is 2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7m-6wc+2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7o-6wf | 2009-10-08 09:06:02,724 DEBUG [org.jboss.remoting.callback.ServerInvokerCallbackHandler] ServerInvokerCallbackHandler[2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7m-6wc+2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7o-6wf] using callbackTimeout value 10000 | 2009-10-08 09:06:02,724 DEBUG [org.jboss.remoting.callback.DefaultCallbackErrorHandler] DefaultCallbackErrorHandler[UNITIALIZED] setting server invoker to SocketServerInvoker[127.0.0.1:4457] | 2009-10-08 09:06:02,724 DEBUG [org.jboss.remoting.callback.DefaultCallbackErrorHandler] DefaultCallbackErrorHandler[SocketServerInvoker[127.0.0.1:4457]] setting callback handler to ServerInvokerCallbackHandler[2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7m-6wc+2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7o-6wf] | 2009-10-08 09:06:02,724 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] adding callback handler ServerInvokerCallbackHandler[2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7m-6wc+2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7o-6wf] | 2009-10-08 09:06:02,724 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] found calllback handler for remoting session ...-g0jaad7m-6wc UID=2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7m-6wc | 2009-10-08 09:06:02,724 DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] registered connection ConnectionEndpoint[iw6-o7daaj0g-1-byjvoi0g-cdp89-y1d6u6c2] as ...-g0jaad7m-6wc | 2009-10-08 09:06:02,725 DEBUG [org.jboss.jms.server.security.SecurityMetadataStore] No SecurityMetadadata was available for Q_PENDING_MESSAGE_OUT, using default security config | 2009-10-08 09:06:02,726 DEBUG [org.jboss.remoting.ServerInvoker] Thread pool class supplied is not an object name. | 2009-10-08 09:06:02,731 DEBUG [org.jboss.jms.server.connectionmanager.SimpleConnectionManager] unregistered connection ConnectionEndpoint[iw6-o7daaj0g-1-byjvoi0g-cdp89-y1d6u6c2] with remoting session ID ...-g0jaad7m-6wc | 2009-10-08 09:06:02,731 DEBUG [org.jboss.jms.server.remoting.JMSServerInvocationHandler] removing callback handler ServerInvokerCallbackHandler[2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7m-6wc+2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7o-6wf] | 2009-10-08 09:06:02,731 DEBUG [org.jboss.remoting.InvokerRegistry] removed org.jboss.remoting.transport.local.LocalClientInvoker at 78c932 from registry | 2009-10-08 09:06:02,731 DEBUG [org.jboss.remoting.ServerInvoker] ServerInvoker (SocketServerInvoker[UNINITIALIZED]) removing client callback handler with session id of 2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7m-6wc+2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7o-6wf. | 2009-10-08 09:06:02,731 DEBUG [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] unrecognized listener ID: 2c6u6d1y-98pdc-g0iovjyb-1-g0jaad7o-6wf | 2009-10-08 09:06:02,731 DEBUG [org.jboss.remoting.InvokerRegistry] removed org.jboss.remoting.transport.local.LocalClientInvoker at 1e0f1db from registry | 2009-10-08 09:06:02,731 DEBUG [org.jboss.remoting.ServerInvoker] SocketServerInvoker[UNINITIALIZED] stopped | I wonder if it doesn't have anything to do with this line : bisocket://84.246.229.70:1724524841 may be it should be 127.0.0.1 instead. Any Thought ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259342#4259342 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259342 From do-not-reply at jboss.com Thu Oct 8 07:43:19 2009 From: do-not-reply at jboss.com (karypid) Date: Thu, 8 Oct 2009 07:43:19 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Re: Confused about POJO service Message-ID: <30115937.1255002199447.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Would that be packaged in a JAR for JBoss to pick it up? My current test (which does not get activated) is a JAR with one class and one interface (the interface defines the start/stop methods) as follows: public class MyServiceImpl implements MyService { | private Logger logger; | | public void start() { | logger = LoggerFactory.getLogger(MyServiceImpl.class); | logger.info("has been started"); | } | | public void stop() { | logger.info("has been shut down"); | logger = null; | } | } It contains a META-INF/my-service-beans.xml as follows: | | | I drop it into the deploy folder (archived, not exploded) but nothing happens. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259343#4259343 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259343 From do-not-reply at jboss.com Thu Oct 8 07:46:44 2009 From: do-not-reply at jboss.com (karypid) Date: Thu, 8 Oct 2009 07:46:44 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Re: Confused about POJO service Message-ID: <18088952.1255002404324.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok, I got it. The deployment descriptor filename must be "jboss-beans.xml" otherwise the jar is ignored. BTW, this is an opportunity to document in the forum the naming issue: When can you use a different filename? You mentioned it in your reply and I've also seen it in various articles (e.g. the DZone article). Thanks for your help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259347#4259347 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259347 From do-not-reply at jboss.com Thu Oct 8 07:58:34 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 8 Oct 2009 07:58:34 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe Message-ID: <5751874.1255003114433.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am going to raise the log level and repost the log. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259350#4259350 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259350 From do-not-reply at jboss.com Thu Oct 8 08:11:58 2009 From: do-not-reply at jboss.com (komet_1978) Date: Thu, 8 Oct 2009 08:11:58 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Timer not available Message-ID: <6523792.1255003918284.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hallo, I am using JBoss 5.1.0.GA with default Datasource settings. I want to start a timer, store its handle to an entity and access the timer by the stored handle. Without a restart inbetween everything works fine. But when I restart the jboss after timer creation and access the timer by the stored handle I get the following Exception: javax.ejb.NoSuchObjectLocalException: Timer not available: | at org.jboss.ejb.txtimer.TimerHandleImpl.getTimer(TimerHandleImpl.java:203) | ... It seems to me that the timer does not survive the restart. I thought that timers are persisted and available also after a restart, aren't they by default? Should I change the configuration for the timerservice to achieve that? My hsqldb runs in a "InProcessMode". Thanks for helping. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259355#4259355 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259355 From do-not-reply at jboss.com Thu Oct 8 08:52:46 2009 From: do-not-reply at jboss.com (piecko) Date: Thu, 8 Oct 2009 08:52:46 -0400 (EDT) Subject: [jboss-user] [Tomcat Integration] - Howto deploy a simple Folder Message-ID: <884199.1255006366590.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi everybody, I want to deploy a folder containing some files that have to be accessable via http. Under native tomcat I just put the folder in my deploy-Folder and it works. In JBoss it doesn't. Can anyone provide a solution out there? Greetz Piecko View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259366#4259366 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259366 From do-not-reply at jboss.com Thu Oct 8 09:59:44 2009 From: do-not-reply at jboss.com (rafael_nm) Date: Thu, 8 Oct 2009 09:59:44 -0400 (EDT) Subject: [jboss-user] [Security] - JBoss Negotiation with Win Vista Message-ID: <1819208.1255010384600.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Has anyone tested JBoss Negotiation from a Windows Vista Client? It doesn't work for me. There is no exception thrown that may be found on the jboss logs - it just doesn't complete. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259386#4259386 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259386 From do-not-reply at jboss.com Thu Oct 8 10:40:33 2009 From: do-not-reply at jboss.com (komet_1978) Date: Thu, 8 Oct 2009 10:40:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Timer not available Message-ID: <1641891.1255012833914.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I figured out that the ids of the timers stored in the public.timers table change with every restart of jboss. Then the handle stored in the entity does not match the timer's id. How can I change this disadvantagoues behaviour? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259392#4259392 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259392 From do-not-reply at jboss.com Thu Oct 8 10:47:03 2009 From: do-not-reply at jboss.com (houcem.berrayana) Date: Thu, 8 Oct 2009 10:47:03 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - about Drools Message-ID: <11599374.1255013223063.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, This may be a stupid question , but I haven't found Drools corner in the forum :s. I am newbie at Drrols and I want to know who to add rools dynamically ie. by programmation and not using a .DRL file. Thank you in advance, Regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259394#4259394 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259394 From do-not-reply at jboss.com Thu Oct 8 11:20:17 2009 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 8 Oct 2009 11:20:17 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: how to change the root url of jboss Message-ID: <30572363.1255015217217.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is the URL www.example.com also handled by JBoss AS or by something else? If by JBoss AS then it is not possible, at least, not without changing every context for every app [hmm, I don't even know if you can set /jboss/app1 as a context... - just now tried it - it works - well, ya l'arn somethin' new ev'r' day!] (see next paragraph for an alternative). If it will be handled by something else, then you might be able to do this by front-ending with Apache and have it redirect every request for www.example.com/jboss to JBoss AS, after rewriting the URL. By the way, if all URLs are to be handled by JBoss AS why not change just the context of the home page to /jboss and keep app1 at /app1 (rather than at /jboss/app1)? And then use the / context for the appropriate app. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259400#4259400 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259400 From do-not-reply at jboss.com Thu Oct 8 11:29:25 2009 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 8 Oct 2009 11:29:25 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Stateful session beans don't keep state !!! Message-ID: <15725331.1255015765056.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> When the client asks for an EJB, it gets a proxy for the EJB, not the EJB itself. If the proxy is for a stateless bean (SLSB), when the client calls a method on the proxy, the server allocates a bean from a pool. Once the method is completed the bean is placed back in the pool. Any subsequent calls to methods on the SLSB repeat this pattern. If the proxy is for a stateful bean (SFSB) then the server allocate a bean specifically for that proxy. As long as the client calls methods on that proxy the same SFSB will handle the calls. If the client does another lookup, it gets a new proxy and a new SFSB instance for that proxy. Hope that explanation helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259401#4259401 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259401 From do-not-reply at jboss.com Thu Oct 8 11:45:55 2009 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 8 Oct 2009 11:45:55 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Using abstract classes in services: JBOSSWS Native stack Message-ID: <28907570.1255016755490.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : public B doIt(B value) Is this a typo? Did you mean public A doIt(A value) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259405#4259405 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259405 From do-not-reply at jboss.com Thu Oct 8 11:46:46 2009 From: do-not-reply at jboss.com (daziplqa) Date: Thu, 8 Oct 2009 11:46:46 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Stateful session beans don't keep state !!! Message-ID: <10482368.1255016806959.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks perter very much, It was very explanatory View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259406#4259406 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259406 From do-not-reply at jboss.com Thu Oct 8 11:50:55 2009 From: do-not-reply at jboss.com (hamptont) Date: Thu, 8 Oct 2009 11:50:55 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Passing parameters to JSP included Message-ID: <33101226.1255017055321.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am also having this problem. Is there a solutions ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259409#4259409 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259409 From do-not-reply at jboss.com Thu Oct 8 11:54:35 2009 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 8 Oct 2009 11:54:35 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Problem with maven building JBoss AS Message-ID: <4548076.1255017275775.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I used the tar.gz file from the web page. 1) What OS are you running? 2) What is the full path name to the base source directory? 3) Do you have internet access with no firewall restrictions? 4) Did you verify the download using md5sum? 5) Just to verify: opened a command prompt, cd'ed to the src/build directory, and then ran build.bat 6) How far down the build did it get? In other words, do you get this error almost immediately or does the build go for a while before getting this error? Do all of the third party JARs get downloaded (Explorer tells me that there are 2382 files and 535 folders in the thirdparty directory) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259411#4259411 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259411 From do-not-reply at jboss.com Thu Oct 8 11:57:10 2009 From: do-not-reply at jboss.com (schamarthi) Date: Thu, 8 Oct 2009 11:57:10 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Session Expiry Handling Message-ID: <26021429.1255017430440.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, is there a way to handle portlet session expiry ? I want to handle session expiry in my portlet application. I think portal expires session first and the request doesn't even hit the portlet. or is there a session expiry even the portlet can register with ? appreciate any can kind of help in this regard thx & rgds, Srinivas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259412#4259412 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259412 From do-not-reply at jboss.com Thu Oct 8 12:13:30 2009 From: do-not-reply at jboss.com (luca.tagliani) Date: Thu, 8 Oct 2009 12:13:30 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - [jbpm4] Move execution to arbitrary activity Message-ID: <29552468.1255018410467.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, I'm trying to move the execution of a processInstance to an arbitrary activity. I'm using the following code: org.jbpm.api.ProcessDefinition processDefinition = repositoryService.createProcessDefinitionQuery().processDefinitionName("processTest").uniqueResult(); | ExecutionService executionService = processEngine.getExecutionService(); | ProcessInstance instance = executionService.startProcessInstanceByKey("processTest"); | String newName = "Verified"; | Activity newActivity = ((ProcessDefinitionImpl) processDefinition).getActivity(newName); | ExecutionImpl execution = (ExecutionImpl) instance; | if (newActivity != null) { | ((ExecutionImpl) execution).setActivity(newActivity); | } but when I then signal the execution, the activity ran is not the one I've yet set, but the old one. I've also tried to use execution.moveTo(activity); but with the same result. It seems that the change is not persisted on the DB.... Is it a bug or am I making any mistake? BR Luca Tagliani View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259417#4259417 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259417 From do-not-reply at jboss.com Thu Oct 8 12:47:40 2009 From: do-not-reply at jboss.com (shiva0) Date: Thu, 8 Oct 2009 12:47:40 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Accessing the current task of a ProcessInstance and/or his s Message-ID: <24368771.1255020460279.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> So, I'm slowly starting to get the feel of the jbpm engine. But I've hit a brick wall... well found a bypass but let's start at the beggining. One process contains multiple subprocesses. I need to be able to fetch the list of all tasks associated to the "Master ProcessInstance". I've tried going thru the Execution query but I could never find how I can start from my ProcessInstance and access the sub-process execution without knowing it's specific ID. Until I started looking at the ExecutionImpl binding with the database. There is a getSubProcessInstance() method that is not available on the Execution interface. I could just cast and access it, but is there probably a reason it's not made available. So, how can I do what I need without that casting patch? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259420#4259420 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259420 From do-not-reply at jboss.com Thu Oct 8 13:18:43 2009 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 8 Oct 2009 13:18:43 -0400 (EDT) Subject: [jboss-user] [Tomcat Integration] - Re: Howto deploy a simple Folder Message-ID: <22068362.1255022323489.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You could place them in ROOT.war. Or you could try this: http://www.jboss.org/community/wiki/ExternalDirectories For external directories on JBoss AS 5, see: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4212358#4212358 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259429#4259429 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259429 From do-not-reply at jboss.com Thu Oct 8 13:19:20 2009 From: do-not-reply at jboss.com (c4s4l) Date: Thu, 8 Oct 2009 13:19:20 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - [jBPM4] Synchronous process execution Message-ID: <14108927.1255022360854.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, I'm starting a process with executionService.startProcessInstanceByKey(...) and I want to wait for its end (without polling isEnded()), how can I do this? I've inspected the ProcessInstance, Execution API's and cannot find anything related to this. I just want to run a process Synchronously. Thanks, Sergio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259431#4259431 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259431 From do-not-reply at jboss.com Thu Oct 8 13:21:05 2009 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Thu, 8 Oct 2009 13:21:05 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: null index column for collection: Message-ID: <29998239.1255022465099.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> How does your process definition look like, and how do you start the process? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259432#4259432 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259432 From do-not-reply at jboss.com Thu Oct 8 13:33:04 2009 From: do-not-reply at jboss.com (alex.guizar@jboss.com) Date: Thu, 8 Oct 2009 13:33:04 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Ending task with timer - session is closed Message-ID: <4173361.1255023184363.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Seems like an instance of JBPM-1135. By disabling the current session, jBPM is creating a separate session rather than using the existing one, which explains why your modified configuration works. It may not employ resources in the most efficient manner, tough. I would suggest upgrading to jBPM 3.2.4 or later, but I realize Seam is pinning jBPM on version 3.2.2. The only real soution would be to have the Seam guys upgrade to a later version of jBPM. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259434#4259434 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259434 From do-not-reply at jboss.com Thu Oct 8 14:16:33 2009 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 8 Oct 2009 14:16:33 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Problem with maven building JBoss AS Message-ID: <12578609.1255025793363.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I haven't recently (or rather never) built the source from the downloaded versions. But, shouldn't users change their maven settings.xml to include the JBoss maven repos as explained here http://www.jboss.org/community/wiki/MavenSettings View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259443#4259443 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259443 From do-not-reply at jboss.com Thu Oct 8 15:05:59 2009 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 8 Oct 2009 15:05:59 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Problem with maven building JBoss AS Message-ID: <14265779.1255028759099.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I double-checked my m2 settings and I don't have the JBoss Maven repository there. I would suspect that the repository is specified in the POMs that need it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259447#4259447 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259447 From do-not-reply at jboss.com Thu Oct 8 15:41:06 2009 From: do-not-reply at jboss.com (bwestrich) Date: Thu, 8 Oct 2009 15:41:06 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - jBPM 4: what are the performance improvements? Message-ID: <4076773.1255030866945.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello jBPM gurus, We are using jPDL 3.2.3 for a high volume transaction processing system. We want to wring as much performance out of jPDL as possible. The announcement for jBPM 4.0 (http://www.theserverside.com/news/thread.tss?thread_id=55178) mentions performance improvements, but doesn't provide further details. Could someone point me to links to the details on these improvements? This could be a big help for us in justifying an upgrade to 4.0. Thanks, Brian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259450#4259450 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259450 From do-not-reply at jboss.com Thu Oct 8 16:16:58 2009 From: do-not-reply at jboss.com (debasish.raychawdhuri) Date: Thu, 8 Oct 2009 16:16:58 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Multiple default PostConstruct method not called Message-ID: <30295179.1255033018082.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I think I have encountered a strange behaviour The specification EJB3.0 clearly says that it is possible to have multiple default interceptors can be specified and all of them can have @PostConstruct. The order of the invocation would be the same as in the deployment descriptor. However, in JBoss, only the first one is called and the rest are ignored. It is completely repeatable I'm using JBoss Version 5.0.1.GA (build: SVNTag=JBoss_5_0_1_GA date=200902232048) The following is my ejb-jar.xml | | | DemoEJB | | | DemoFirstEJB | com.ejb.demo.DemoFirstEJBLocal | | timeout | | Container | | | demoDestination | demoDestination | | com.ejb.demo.DemoFirstEJB | topic | | | | | | | DemoMDB | demoDestination | | | destination | /topic/testTopic | | | | | | | Timout Interceptor | | com.ejb.demo.interceptors.DemoInterceptor | | | postConstruct | | | | | org.javaeeutils.logger.interceptors.LoggingInterceptor | | | | | | | DemoFirstEJB | * | | Required | | | | * | | org.javaeeutils.logger.interceptors.LoggingInterceptor | com.ejb.demo.interceptors.DemoInterceptor | | | | | demoDestination | /topic/testTopic | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259454#4259454 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259454 From do-not-reply at jboss.com Thu Oct 8 16:35:37 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 8 Oct 2009 16:35:37 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe Message-ID: <10191264.1255034137461.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sigh..... again a post where my reply is not visible... What is going on here? What I replied was: If the unit test works does not mean it works from the console as well. The api used by the console might e.g. not be fully updated yet or something like that. You could try posting in the BPM Console forum as well or refer to this topic from there. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259455#4259455 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259455 From do-not-reply at jboss.com Thu Oct 8 16:38:29 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 8 Oct 2009 16:38:29 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jbpm4] Move execution to arbitrary activity Message-ID: <16848996.1255034309051.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Changes to the running instances should take place through the services. Just doing something on the execution does not work. Not sure though how you should do this. If there is no method in one of the services (e.g. the command service) try creating you own command. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259456#4259456 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259456 From do-not-reply at jboss.com Thu Oct 8 16:40:15 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 8 Oct 2009 16:40:15 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Synchronous process execution Message-ID: <17854553.1255034415175.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> then make sure you have no tasks, waitstates etc... it will run synchronously then. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259458#4259458 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259458 From do-not-reply at jboss.com Thu Oct 8 16:50:30 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 8 Oct 2009 16:50:30 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Ending task with timer - session is closed Message-ID: <12959987.1255035030955.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> 3.2.6SP1 can be used as a drop-in replacement for the jbpm jar in seam. Serveral people tried that and it works. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259461#4259461 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259461 From do-not-reply at jboss.com Thu Oct 8 16:51:02 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 8 Oct 2009 16:51:02 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: null index column for collection: Message-ID: <9566816.1255035062148.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> or formulated differently: "do you have a unittest"? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259462#4259462 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259462 From do-not-reply at jboss.com Thu Oct 8 16:57:25 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 8 Oct 2009 16:57:25 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls Message-ID: <15523156.1255035445007.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> sorry, no (not yet). As announced I have way less time since 01-10-09 and have not had the opportunity to look into it. It is on my list for the weekend. (pinging me around that time might help though ;-)) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259464#4259464 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259464 From do-not-reply at jboss.com Thu Oct 8 17:02:00 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 8 Oct 2009 17:02:00 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbmp console source code needed Message-ID: <26916264.1255035720626.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> http://www.google.nl/search?q=jbpm+console+svn gives you the project page with ALL info... Instead of 'it's in SVN, I could have posted STFI, but I didn't ;-) Secondly, he did not even post WHICH jBPM console and there is NOTHING in cvs anymore, therefor I posted SVN... So please do no belittle me anymore but instead point him to the correct location as you seem to be the smart one. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259466#4259466 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259466 From do-not-reply at jboss.com Thu Oct 8 17:09:00 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 8 Oct 2009 17:09:00 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft Message-ID: <18881340.1255036140356.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm well aware that Document workflow is a specific case of workflow, but Alfresco has some nice api's and other functionality on top of jcr that could be called from jBPM. Mappings like you describe will most likely always be needed unless you want jcr to be tightly integrated which I would not do. Most is not different then from having a normal external (to jBPM) datamodel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259467#4259467 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259467 From do-not-reply at jboss.com Thu Oct 8 17:10:56 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 8 Oct 2009 17:10:56 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Message-ID: <18699162.1255036256375.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> the initiator swimlane is something from jBPM 3 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259468#4259468 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259468 From do-not-reply at jboss.com Thu Oct 8 17:31:22 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 8 Oct 2009 17:31:22 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to stop a process instance Message-ID: <32807141.1255037482028.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The api in three was kind of blurry, yes, that is why it was simplified in 4. (But asking is always possible) various variable scopes? Task local, transient and normal. If the semantics of the various operations are not clear after working with it for several months I think something else might be wrong. And a statement like anonymous wrote : My customers have very basics needs for their workflows but I have discover that they cannot be done simply with the JBPM API. Is like saying there are no obstacles between the earth and the moon, so it should be simple to get there but I do not know how. What I mean by this is that the problem in reality is not that simple or you lack the knowledge (no offence) to see it. Complex processes can be done with jBPM, see slide 15 of http://www.slideshare.net/tombaeyens/jbpm-community-day-full-scale-stp-with-jbpm. Tasks not being ended when a process is ended can be changed by setting the end-complete-process attribute on the end state to true. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259470#4259470 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259470 From do-not-reply at jboss.com Thu Oct 8 18:19:09 2009 From: do-not-reply at jboss.com (mohitanchlia) Date: Thu, 8 Oct 2009 18:19:09 -0400 (EDT) Subject: [jboss-user] [Clustering] - Lookup Message-ID: <32947929.1255040349164.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is there a way to change the configuration to force the lookup on the localhost instead of doing it using HAJNDI without having to change the lookup code? Also, what's the best practice to make sure that no one else is using the same multicast address? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259474#4259474 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259474 From do-not-reply at jboss.com Thu Oct 8 19:56:08 2009 From: do-not-reply at jboss.com (ron.sigal@jboss.com) Date: Thu, 8 Oct 2009 19:56:08 -0400 (EDT) Subject: [jboss-user] [JBoss Remoting Users] - Re: Set the 'timeout' parameter at the client side for an EJ Message-ID: <21470283.1255046168397.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It's already done. When you retrieve an EJB3 proxy from JNDI, the proxy brings the InvokerLocator with it, and the Remoting client uses the parameters in the InvokerLocator. In this case, the Remoting client will use a timeout value of 3000. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259481#4259481 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259481 From do-not-reply at jboss.com Thu Oct 8 20:06:28 2009 From: do-not-reply at jboss.com (dustin.a.parker) Date: Thu, 8 Oct 2009 20:06:28 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Inject MBean ref into web app? Message-ID: <4668453.1255046788680.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello; first post here. I'm developing a simple, stateful service, and I like the idea of managing it with an MBean interface (it's very simple), but I also need to expose it as a (JAX) web service. I'd like to keep the web-servicey code away from the MBean code if possible, but then the web service needs to get a handle to the MBean. Is it possible for JBoss to inject a reference to the MBean into the web service endpoint? If not, is an EJB a better way to go? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259483#4259483 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259483 From samk at twinix.com Thu Oct 8 04:25:01 2009 From: samk at twinix.com (samk at twinix.com) Date: Thu, 8 Oct 2009 03:25:01 -0500 (CDT) Subject: [jboss-user] Switching message store databases: problem with AS 5.1 Message-ID: <8717247.01254990302268.JavaMail.SYSTEM@larkin> See Thread at: http://www.techienuggets.com/Detail?tx=95591 Posted on behalf of a User jboss.messaging:service=ServerPeer jboss.messaging:service=PostOffice You probably don't have PostOffice dependence configured properly? at least this helped me :-) In Response To: Daniel Bevenius of the JBoss ESB Group suggest me to post my question in this forum: I'm trying to switch the message store database from the default hypersonic to oracle. No problem with AS 4.2.2 (JMQ) and esb 4.6, but with AS 5.1 (JBM) I get this exception: | 19:06:39,478 ERROR [ExceptionUtil] Queue[null, name=DeadMessageQueue] startService | java.lang.NullPointerException | at org.jboss.jms.server.ServerPeer.getPostOfficeInstance(ServerPeer.java:1382) | at org.jboss.jms.server.destination.DestinationServiceSupport.setMaxSizeForQueues(DestinationServic | eSupport.java:273) | at org.jboss.jms.server.destination.DestinationServiceSupport.startService(DestinationServiceSuppor | t.java:110) | at org.jboss.jms.server.destination.QueueService.startService(QueueService.java:65) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322) | at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.ja | va:140) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189) | at $Proxy38.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction. | java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction. | java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleCont | rollerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContex | tAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextA | ctions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:34 | 8) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:2 | 86) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpl | eRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:5 | 0) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157 | ) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178 | ) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210 | ) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:34 | 8) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapte | r.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployActio | n.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileA | ction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfile | Service.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:34 | 8) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(Abstrac | tProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.jav | a:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Thread.java:619) | 19:06:39,480 ERROR [AbstractKernelController] Error installing to Start: name=jboss.esb.destination: | name=DeadMessageQueue,service=Queue state=Create mode=Manual requiredState=Installed | java.lang.NullPointerException | at org.jboss.jms.server.ServerPeer.getPostOfficeInstance(ServerPeer.java:1382) | at org.jboss.jms.server.destination.DestinationServiceSupport.setMaxSizeForQueues(DestinationServic | eSupport.java:273) | at org.jboss.jms.server.destination.DestinationServiceSupport.startService(DestinationServiceSuppor | t.java:110) | at org.jboss.jms.server.destination.QueueService.startService(QueueService.java:65) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:322) | at sun.reflect.GeneratedMethodAccessor80.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.ja | va:140) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:189) | at $Proxy38.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction. | java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction. | java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleCont | rollerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContex | tAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextA | ctions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:34 | 8) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:2 | 86) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpl | eRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:5 | 0) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157 | ) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178 | ) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210 | ) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:34 | 8) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapte | r.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployActio | n.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileA | ction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfile | Service.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:34 | 8) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(Abstrac | tProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.jav | a:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Thread.java:619) | Can you help me? Thank you very much Stefano From do-not-reply at jboss.com Thu Oct 8 21:41:07 2009 From: do-not-reply at jboss.com (gaohoward) Date: Thu, 8 Oct 2009 21:41:07 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: JBoss Messaging 1.4.5.GA just released! Message-ID: <3302087.1255052467502.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, JBoss Messaging 1.4.5.GA doesn't work with JBoss 5. Tim was right then. That was planned that the next release for AS 5 would be 1.4.5.GA. But it turned out that we need to make a release for AS 4 before AS 5, so the 1.4.5.GA is for AS 4 eventually. The release for AS 5 will come soon I hope. It should be noted that the release (likely version 1.4.6.GA) will need at least remoting 2.5.2. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259487#4259487 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259487 From do-not-reply at jboss.com Thu Oct 8 21:45:53 2009 From: do-not-reply at jboss.com (gaohoward) Date: Thu, 8 Oct 2009 21:45:53 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: jbossall-client.jar and the jar hell at remote JBM clien Message-ID: <2410449.1255052753434.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> To be honest, I don't know. :) jbossall-client.jar is maintained by the AS team. It includes classes from various packages including some JBM and remoting ones. But there are still other classes from other packages in it which may or may not needed for a jbm client. You'd better included it in you classpath and in the right order. If you want to get rid of it badly, you need to consult the AS team IMO. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259488#4259488 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259488 From do-not-reply at jboss.com Thu Oct 8 21:50:59 2009 From: do-not-reply at jboss.com (gaohoward) Date: Thu, 8 Oct 2009 21:50:59 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: After migrating from JBossMQ to JBM: Message-ID: <30918307.1255053059046.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi can you tell the version of JBM you using? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259489#4259489 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259489 From do-not-reply at jboss.com Thu Oct 8 22:24:55 2009 From: do-not-reply at jboss.com (gaohoward) Date: Thu, 8 Oct 2009 22:24:55 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Upgrade JBoss AS 5.1.0 to JBoss Messaging 1.4.5.GA? Message-ID: <241942.1255055095910.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello Richard, 1.4.5.GA is for AS 4.x only. The next release for AS 5 (supposedly 1.4.6.GA) will come soon hopefully. It needs to be tested with AS 5 jars. It should also be noted that the next release requires remoting 2.5.2 at least (currently in AS 5 it is 2.5.1). Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259491#4259491 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259491 From do-not-reply at jboss.com Thu Oct 8 22:28:09 2009 From: do-not-reply at jboss.com (kennardconsulting) Date: Thu, 8 Oct 2009 22:28:09 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Upgrade JBoss AS 5.1.0 to JBoss Messaging 1.4.5.GA? Message-ID: <33388148.1255055289537.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks Howard. I will keep an eye out for 1.4.6 Richard. P.S. Did anyone get a chance to look at the log I posted to https://jira.jboss.org/jira/browse/JBMESSAGING-1706? I think I may have found the source of this tricky problem (ie. ConnectionStopRequest.serverInvoke) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259492#4259492 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259492 From do-not-reply at jboss.com Thu Oct 8 23:32:46 2009 From: do-not-reply at jboss.com (gaohoward) Date: Thu, 8 Oct 2009 23:32:46 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: bisocket and listening on all interfaces Message-ID: <2460761.1255059166682.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I use the -b option. However ask AS team for a better answer. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259495#4259495 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259495 From do-not-reply at jboss.com Thu Oct 8 23:39:32 2009 From: do-not-reply at jboss.com (gaohoward) Date: Thu, 8 Oct 2009 23:39:32 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: getDeliveringCount() analogous to getInProcessMessageCou Message-ID: <7608030.1255059572626.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I don't know JBoss MQ. For JBM, you can find more information in the user's guide. It comes with the JBM download. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259496#4259496 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259496 From do-not-reply at jboss.com Fri Oct 9 01:13:54 2009 From: do-not-reply at jboss.com (freak182) Date: Fri, 9 Oct 2009 01:13:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: null index column for collection: Message-ID: <18318315.1255065234854.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, Thanks for the reply.I just forgot to put the package of jbpm to transactional context. Thanks for the reply. cheers. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259509#4259509 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259509 From do-not-reply at jboss.com Fri Oct 9 01:17:17 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 9 Oct 2009 01:17:17 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls Message-ID: <26075758.1255065437764.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for the update, Ronald. I was already afraid one could not understand my post. It is too kind of you that it is on your list for the week end. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259512#4259512 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259512 From do-not-reply at jboss.com Fri Oct 9 02:02:50 2009 From: do-not-reply at jboss.com (freak182) Date: Fri, 9 Oct 2009 02:02:50 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Weird schema generation in 3.3.1.GA version Message-ID: <30534365.1255068170676.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I just recently updated from jbpm 3.2.x to 3.3.1.GA. Now when i try to copy paste the hibernate.cfg.mysql.xml to my own hibernate config i get this error: 13:55:58,687 ERROR - SchemaExport - Unsuccessful: create table JBPM_ACTION (ID_ bigint generated by default as identity (start with 1), class char(1) not null, NAME_ varchar(255), ISPROPAGATIONALLOWED_ bit, ACTIONEXPRESSION_ varchar(255), ISASYNC_ bit, REFERENCEDACTION_ bigint, ACTIONDELEGATION_ bigint, EVENT_ bigint, PROCESSDEFINITION_ bigint, EXPRESSION_ longvarchar, TIMERNAME_ varchar(255), DUEDATE_ varchar(255), REPEAT_ varchar(255), TRANSITIONNAME_ varchar(255), TIMERACTION_ bigint, EVENTINDEX_ integer, EXCEPTIONHANDLER_ bigint, EXCEPTIONHANDLERINDEX_ integer, primary key (ID_)) 13:55:58,687 ERROR - SchemaExport - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'generated by default as identity (start with 1), class char(1) not null, NAME_ v' at line 1 13:55:58,688 ERROR - SchemaExport - Unsuccessful: create table JBPM_BYTEARRAY (ID_ bigint generated by default as identity (start with 1), NAME_ varchar(255), FILEDEFINITION_ bigint, primary key (ID_)) 13:55:58,688 ERROR - SchemaExport - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'generated by default as identity (start with 1), NAME_ varchar(255), FILEDEFINIT' at line 1 13:55:58,744 ERROR - SchemaExport - Unsuccessful: create table JBPM_COMMENT (ID_ bigint generated by default as identity (start with 1), VERSION_ integer not null, ACTORID_ varchar(255), TIME_ timestamp, MESSAGE_ longvarchar, TOKEN_ bigint, TASKINSTANCE_ bigint, TOKENINDEX_ integer, TASKINSTANCEINDEX_ integer, primary key (ID_)) 13:55:58,744 ERROR - SchemaExport - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'generated by default as identity (start with 1), VERSION_ integer not null, ACTO' at line 1 13:55:58,797 ERROR - SchemaExport - Unsuccessful: create table JBPM_DELEGATION (ID_ bigint generated by default as identity (start with 1), CLASSNAME_ longvarchar, CONFIGURATION_ longvarchar, CONFIGTYPE_ varchar(255), PROCESSDEFINITION_ bigint, primary key (ID_)) 13:55:58,797 ERROR - SchemaExport - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'generated by default as identity (start with 1), CLASSNAME_ longvarchar, CONFIGU' at line 1 13:55:58,798 ERROR - S .......................................................... some table are not created. of course the user is (root). but when i point the configlocation the one in jbpm-jpdl.config.jar it work fine. my worry is that every time i stop/start my server i will create always the tables becuase of this: create ... how can solve this? thanks a lot. cheers. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259518#4259518 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259518 From do-not-reply at jboss.com Fri Oct 9 02:15:18 2009 From: do-not-reply at jboss.com (jjp) Date: Fri, 9 Oct 2009 02:15:18 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4.1, JBoss 4.23 and Seam 2.2.0 Message-ID: <30053758.1255068918105.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I found a workaround for my Problem: I configured JBPM as seen in the examples (having two hibernate session factories). In the jbpm.hibernate.cfg.xml I mapped my Entities as and in the persistence.xml I mapped the JBPM Entities: jbpm.repository.hbm.xml | jbpm.execution.hbm.xml | jbpm.history.hbm.xml | jbpm.task.hbm.xml | jbpm.identity.hbm.xml | Both Session factories know about both entities. I don't know about the side effects but it seems to work. I found this JIRA https://jira.jboss.org/jira/browse/JBPM-2038, maybe my problem is solved in 4.3 ? Best regards, Joerg View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259520#4259520 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259520 From do-not-reply at jboss.com Fri Oct 9 02:28:02 2009 From: do-not-reply at jboss.com (mesa) Date: Fri, 9 Oct 2009 02:28:02 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft Message-ID: <3354218.1255069682202.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> i have done few things till now and will need bit help from kukeltje :) i have integrated jcrTemplate using spring and now i am able to play with repository,able to add node and all. according to jbpm document i can add jcrnode as process variable. now issue will come up once i try to retrieve store jcrNode from process variable --- getObject() method is jcrNodeInstance.class says that jbpm will try to get configured services in its context and will try to find a jcrService and once service instance is found then few matching things will be performed and object can be retrieved. Main problem left down is configuring a JCR Service is JBPMContext : 1) i tried extending jbpmContext and tried to add my service (Extending JcrService) @Override protected JbpmContext getContext() { JbpmContext context = super.getContext(); context.getServices().getPersistenceService(); context.getServices().setAuthenticationService(authenticationService); return context; } here i do not see anyway to attach a jcrService instance. 2) i then went to figure out a way in jbpm.cfg.xml . i checked that JackRabbitServiceFactory requires a configuration ----i think it is repository.xml and directory---may be home dir to create a service. i am unable to configure service in jbpm.cfg.xml. i added the service like this ::: classpath:repository.xml /home/mayank/jackrabbit i get :: unable to Parse jbpm.cfg.xml Code of service factory says :: protected synchronized Repository getRepository() { if (repository==null) { try { InputStream stream = ClassLoaderUtil.getStream(configuration); RepositoryConfig config = RepositoryConfig.create(stream, directory); repository = RepositoryImpl.create(config); } catch (Exception e) { // NOTE that Error's are not caught because that might halt the JVM and mask the original Error. throw new JbpmException("couldn't create new jackrabbit repository with configResource '"+configuration+"' and directory '"+directory+"'", e); } } return repository; } can someone help on this ..... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259522#4259522 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259522 From do-not-reply at jboss.com Fri Oct 9 02:34:47 2009 From: do-not-reply at jboss.com (mesa) Date: Fri, 9 Oct 2009 02:34:47 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft Message-ID: <15204620.1255070087058.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> jbpm cfg is not correctly show in previous post: service name="jcr" factory bean class="org.jbpm.jcr.jackrabbit.JackrabbitJcrServiceFactory" field name="configuration" classpath:repository.xml field name="directory" /home/mayank/jackrabbit bean factory service View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259525#4259525 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259525 From do-not-reply at jboss.com Fri Oct 9 02:36:23 2009 From: do-not-reply at jboss.com (vickyk) Date: Fri, 9 Oct 2009 02:36:23 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Bug in connection validation code Message-ID: <21610536.1255070183225.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Do you guys have your custom RA or you have see the issues with the RA's shipped with Jboss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259526#4259526 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259526 From do-not-reply at jboss.com Fri Oct 9 02:36:36 2009 From: do-not-reply at jboss.com (chernser) Date: Fri, 9 Oct 2009 02:36:36 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Using abstract classes in services: JBOSSWS Native stack Message-ID: <21987682.1255070196060.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "PeterJ" wrote : anonymous wrote : public B doIt(B value) | Is this a typo? Did you mean | public A doIt(A value) | Yes, sorry. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259527#4259527 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259527 From do-not-reply at jboss.com Fri Oct 9 02:41:32 2009 From: do-not-reply at jboss.com (vickyk) Date: Fri, 9 Oct 2009 02:41:32 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: DataSource Failover in Cluster JBoss Message-ID: <22827768.1255070492479.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "NJaganMohanRao" wrote : | I have implemented org.jboss.resource.adapter.jdbc.ValidConnectionChecker but I don't find the any clue how to verify the postgres connection(valid connection / invalid connection). | I see the one already there http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_2/connector/src/main/org/jboss/resource/adapter/jdbc/vendor/PostgreSQLValidConnectionChecker.java Why are you not using it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259528#4259528 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259528 From do-not-reply at jboss.com Fri Oct 9 02:44:10 2009 From: do-not-reply at jboss.com (vickyk) Date: Fri, 9 Oct 2009 02:44:10 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Example File System RA Message-ID: <14844762.1255070650239.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "jinesh4all" wrote : | I am using Jboss 4.2.2 GA, can any one give me an example for FileSystem as Resource? I am new to Connectors.. :( | Read this http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch7.chapt.html and try downloading the sample application from here http://docs.jboss.org/jbossas/jboss4guide/r5/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259530#4259530 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259530 From do-not-reply at jboss.com Fri Oct 9 02:50:36 2009 From: do-not-reply at jboss.com (vickyk) Date: Fri, 9 Oct 2009 02:50:36 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: How to code JNDI lookup of JCA Resource ConnectionFactor Message-ID: <32369855.1255071036547.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Can you show us the connection factory deployment descriptor file? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259532#4259532 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259532 From do-not-reply at jboss.com Fri Oct 9 02:51:23 2009 From: do-not-reply at jboss.com (newcomer1) Date: Fri, 9 Oct 2009 02:51:23 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Accessing the current task of a ProcessInstance and/or h Message-ID: <18538116.1255071083077.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Have you found a solution for this? We are have the same use case were we have a process with a lot of subprocesses that create several tasks and we need a simple way to query for all the tasks for the process including tasks generated by its subprocesses. The interfaces have some limitations and we have seen the need to create our own custom repositories that works over the jbpm tables for some of these queries using oracle specific features to do queries over tree structures. jBPM seems very configurable and I think many projects will need to extend the basic service interfaces and the out of box query support using their own commands and extensions. The service interfaces cover the basic and most used features and I can understand that the jBPM development team wants to keep them slim. You could create a custom command, but for me it seems like you will not come away from a downcast if you for example need to create custom queries using the hibernate critereia api. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259533#4259533 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259533 From do-not-reply at jboss.com Fri Oct 9 02:58:21 2009 From: do-not-reply at jboss.com (vickyk) Date: Fri, 9 Oct 2009 02:58:21 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Basic understanding of JCA-Workflow Message-ID: <11081332.1255071501597.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "LeoLo" wrote : | Or when repository.login(...) in the service-method is called? | The connection should be taken when login() is called, you can verify this by looking at the implementation. "LeoLo" wrote : | When is the connection released and returned to the pool? (When session-logout is called or when the transaction is committed or ... ?) | It should be when session.logou() is called, I would recommend to check the RA implementation from JackRabbit. "LeoLo" wrote : | Is it possible, that during a service-method more than one connection may be used? | | Any hints and references are really appreciated. | I can't make out from the methods calls that multiple connections are being used in the application flow. You can also look at the ManagedConnectionPool MBean from the jmx-console to see the evolution of the connections in the pool. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259536#4259536 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259536 From do-not-reply at jboss.com Fri Oct 9 02:59:46 2009 From: do-not-reply at jboss.com (vickyk) Date: Fri, 9 Oct 2009 02:59:46 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Exception: Unable to fill pool Message-ID: <22806536.1255071586339.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "bravi1234" wrote : help me You need to read this http://www.catb.org/~esr/faqs/smart-questions.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259537#4259537 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259537 From do-not-reply at jboss.com Fri Oct 9 03:03:54 2009 From: do-not-reply at jboss.com (vickyk) Date: Fri, 9 Oct 2009 03:03:54 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: datasource and singleton Message-ID: <30872472.1255071834820.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "henk53" wrote : | Just wondering, are JNDI lookups really that expensive? When looking up an EJB (either programmatic, or via injection), isn't there a JNDI lookup happening all the time? Yes, but you need to understand that there is a trade-off between the efficiency and flexibility(loosely coupling). You should be talking at EJB forums for the EJB details, you can get more help there. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259539#4259539 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259539 From do-not-reply at jboss.com Fri Oct 9 03:09:05 2009 From: do-not-reply at jboss.com (meme) Date: Fri, 9 Oct 2009 03:09:05 -0400 (EDT) Subject: [jboss-user] [Security] - Webservice-Security and containermanaged security using sso Message-ID: <18415006.1255072145037.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I'm currently working on a project where I have an ear with many beans (many of them are ejb2, some ejb3). The ejb3 have local-interfaces and they also act as webservice endpoints. These beans (the webservice-endpoints) are using container-managed security (jaas/@SecurityDomain). Then there are two other war's which are not incldued in the ear, mentioned above. These both also use container-managed security. The web-apps are accessing the business-logic using the webservice-endpoints. Now to my question: When I have logged in on Webapp A are the credentials automatically provided when accessing the webservice indirectly (SSO is configured for the whole Host.) or do I have to store the credentials in the session for reuse on all requests to the webserviceendpoints? Thanks for your help! Marc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259540#4259540 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259540 From do-not-reply at jboss.com Fri Oct 9 03:16:39 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 9 Oct 2009 03:16:39 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe Message-ID: <16568370.1255072599341.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for the hint. Right now I was trying it again and it shows up like that I also get into trouble if I use the API directly. I have a webservice invoking methods on the jBPM API. By the use of the API I can start a new process instance and I can grab the assigned process instance id. I can even query for the active activities and they show up right. But as soon as I want to access the task list of one of the users having the tasks in their list an exception is thrown: | Caused by: org.hibernate.LazyInitializationException: could not initialize proxy | - no Session | at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyIn | itializer.java:86) | at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(Abstrac | tLazyInitializer.java:140) | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(Ja | vassistLazyInitializer.java:190) | at org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_4.getId(Execut | ionImpl_$$_javassist_4.java) | When retrieving the task list of a user who does not participate in the process no exception is thrown. To me this now looks a bit like the different resolved or rejected issues related to problems with fork and join. Since I got the problems although without using the console it can't be because or just because of the console. Confused regards Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259541#4259541 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259541 From do-not-reply at jboss.com Fri Oct 9 03:18:45 2009 From: do-not-reply at jboss.com (freak182) Date: Fri, 9 Oct 2009 03:18:45 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Weird schema generation in 3.3.1.GA version Message-ID: <33455040.1255072725720.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> sorry, just fix the problem. tnx. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259543#4259543 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259543 From do-not-reply at jboss.com Fri Oct 9 03:34:30 2009 From: do-not-reply at jboss.com (Krohm) Date: Fri, 9 Oct 2009 03:34:30 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Accessing the current task of a ProcessInstance and/or h Message-ID: <16393868.1255073670281.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I would try : List currentTasks = yourProcessEngine.getTaskService() | .createTaskQuery() | .processInstanceId(yourProcessInstanceId) | .list() You can also add various filters and/or order them by Name/ Priority, etc ... (http://docs.jboss.com/jbpm/v4/javadocs/) If you want all the subprocesses, you could also look at the following methods in org.jbpm.api.Execution | getExecutions() | findActiveActivityNames() | getExecutionsMap() | hope this helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259547#4259547 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259547 From do-not-reply at jboss.com Fri Oct 9 03:39:04 2009 From: do-not-reply at jboss.com (Krohm) Date: Fri, 9 Oct 2009 03:39:04 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Message-ID: <29483223.1255073944820.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok. Is there a way to "capture" the initiator in JBPM4 ? I mean getting the Id of the user that initiated the process. It is not something unusual that this user has a separate swimlane. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259548#4259548 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259548 From do-not-reply at jboss.com Fri Oct 9 03:51:11 2009 From: do-not-reply at jboss.com (h.wolffenbuttel) Date: Fri, 9 Oct 2009 03:51:11 -0400 (EDT) Subject: [jboss-user] [Security] - Re: CertRolesLoginModule cannot find the good SecurityDomain Message-ID: <31796913.1255074671832.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> There are many ways to declare a securityDomain. The way I have implemented it is to put a MBean inside the conf/jboss-service.xml that looks something like this: | | | | | resource:key/esb.keystore | ***** | resource:key/esb.keystore | ***** | jboss.security:service=JaasSecurityManager | | In your case you would have to change CertLogin into secureDomain. You can also define your securitydomain using web.xml and jboss-web.xml just look at the jmx-console example in the Jboss WIKI. Hopes this helps! Regards, Hans View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259550#4259550 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259550 From do-not-reply at jboss.com Fri Oct 9 03:55:36 2009 From: do-not-reply at jboss.com (slimamar) Date: Fri, 9 Oct 2009 03:55:36 -0400 (EDT) Subject: [jboss-user] [JBoss Remoting Users] - Re: Set the 'timeout' parameter at the client side for an EJ Message-ID: <19848913.1255074936097.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm sorry, i haven't explained correctly. Actually, it's indeed already done when the proxy brings the InvokerLocator from the server and the parameter is set at the server side. But, we want to set or modify this parameter 'timeout' at the client side at every call or give a specific value for a client for example. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259551#4259551 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259551 From do-not-reply at jboss.com Fri Oct 9 03:56:58 2009 From: do-not-reply at jboss.com (bortx) Date: Fri, 9 Oct 2009 03:56:58 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Bug in connection validation code Message-ID: <9077625.1255075018956.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have downloaded JBoss 4.2.3 sources and have detected the bug on JBoss JCA code. So, as there is no response from JBoss, I have fixed the bug by myself. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259553#4259553 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259553 From do-not-reply at jboss.com Fri Oct 9 04:01:51 2009 From: do-not-reply at jboss.com (vickyk) Date: Fri, 9 Oct 2009 04:01:51 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Bug in connection validation code Message-ID: <22329194.1255075311976.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "bortx" wrote : I have downloaded JBoss 4.2.3 sources and have detected the bug on JBoss JCA code. So, as there is no response from JBoss, I have fixed the bug by myself. Do you see the issue with the RA that is deployed by you? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259554#4259554 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259554 From do-not-reply at jboss.com Fri Oct 9 04:31:25 2009 From: do-not-reply at jboss.com (jbosspnet) Date: Fri, 9 Oct 2009 04:31:25 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Process archive classes:ClassNotFoundException Message-ID: <17791400.1255077085772.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, I have installed JBpm 3.2.3 on JBoss 4.2.3.GA and I have created the following simple process: | | | | | | | | | | | | | | where NodeHandler is the delegation class where I need to invoke an EJB method (the EJB is already deployed in JBoss): public class NodeHandler implements ActionHandler { | private static final String MANAGER_HOME_JNDI = "ejb/Manager"; | | @Override | public void execute(ExecutionContext context) throws Exception { | Properties env = new Properties(); | // ... setting Context.INITIAL_CONTEXT_FACTORY, Context.PROVIDER_URL, Context.URL_PKG_PREFIXES ... | | InitialContext context = null; | try { | context = new InitialContext(env); | Object homeObject = context.lookup(Constants.MANAGER_HOME_JNDI); | ManagerHome home = (ManagerHome) PortableRemoteObject.narrow(homeObject, ManagerHome.class); | Manager manager = home.create(); | // ... invoking manager business methods... | } finally { | if (context != null) { | try { | context.close(); | } catch (Exception e) { | // ignored | } | } | } | } | } | In the process archive are present all needed classes like NodeHandler and, of course, the home / remote interfaces of the EJB. The directory structure is the following: sample.par | | | +- processdefinition.xml | +- gpd.xml | +- processimage.jpg | | | + classes | +- sample | +- manager | +-- intefaces | +-- Manager.class // EJB Remote Interface | +-- ManagerHome.class // EJB Home Interface | +- process | +-- NodeHandler.class | I deploy this process archive into Jbpm by the console without any warning or errors. But when I create a process instance and I signal the instance (to move from "start" node to "a-node") I obtain the exception reported at the end. I have looked into JBPM_BYTEARRAY / JBPM_BYTEBLOCK tables and there is a row that refers to class ManagerHome. So why Jbpm cannot find them? There is some other way to use an EJB into Jbpm action delegation classes? Regards. javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: sample.manager.interfaces.ManagerHome (no security manager: RMI class loader disabled)] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:786) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) at javax.naming.InitialContext.lookup(InitialContext.java:392) at sample.process.sample.NodeHandler.execute(NodeHandler.java:37) at org.jbpm.graph.def.Action.execute(Action.java:122) at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:259) at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:215) at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:185) at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:169) at org.jbpm.graph.def.Node.enter(Node.java:302) 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:597) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) at org.jbpm.graph.def.Node_$$_javassist_80.enter(Node_$$_javassist_80.java) at org.jbpm.graph.def.Transition.take(Transition.java:151) at org.jbpm.graph.def.Node.leave(Node.java:393) at org.jbpm.graph.node.StartState.leave(StartState.java:70) 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:597) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) at org.jbpm.graph.def.Node_$$_javassist_80.leave(Node_$$_javassist_80.java) at org.jbpm.graph.exe.Token.signal(Token.java:192) at org.jbpm.graph.exe.Token.signal(Token.java:140) at org.jbpm.jsf.core.action.SignalActionListener.handleAction(SignalActionListener.java:52) at org.jbpm.jsf.core.impl.JbpmActionListenerWrapper.processAction(JbpmActionListenerWrapper.java:82) at javax.faces.event.ActionEvent.processListener(ActionEvent.java:88) at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:771) at javax.faces.component.UICommand.broadcast(UICommand.java:372) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:755) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 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:182) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 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:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.ClassNotFoundException: sample.manager.interfaces.PollerManagerHome (no security manager: RMI class loader disabled) at sun.rmi.server.LoaderHandler.loadProxyClass(LoaderHandler.java:535) at java.rmi.server.RMIClassLoader$2.loadProxyClass(RMIClassLoader.java:628) at org.jboss.system.JBossRMIClassLoader.loadProxyClass(JBossRMIClassLoader.java:82) at java.rmi.server.RMIClassLoader.loadProxyClass(RMIClassLoader.java:294) at sun.rmi.server.MarshalInputStream.resolveProxyClass(MarshalInputStream.java:238) at java.io.ObjectInputStream.readProxyDesc(ObjectInputStream.java:1531) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1493) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) at java.rmi.MarshalledObject.get(MarshalledObject.java:142) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:72) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:710) ... 57 more View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259557#4259557 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259557 From do-not-reply at jboss.com Fri Oct 9 05:03:35 2009 From: do-not-reply at jboss.com (bortx) Date: Fri, 9 Oct 2009 05:03:35 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Bug in connection validation code Message-ID: <6126422.1255079015929.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have reported a jira with this issue https://jira.jboss.org/jira/browse/JBAS-7327 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259562#4259562 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259562 From do-not-reply at jboss.com Fri Oct 9 05:18:11 2009 From: do-not-reply at jboss.com (swenu) Date: Fri, 9 Oct 2009 05:18:11 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Sharing Seam projects with SVN Message-ID: <27351692.1255079891449.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi back again on the problem! today the mate checked out the project and started the jboss from eclipse. While deploying the ear we get this error: DEPLOYMENTS MISSING DEPENDENCIES: | Deployment "persistence.unit:unitName=emtm-ear.ear/emtm-ejb.jar#emtm" is missing the following dependencies: | Dependency "jboss.jca:name=emtmDatasource,service=DataSourceBinding" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jca:name=emtmDatasource,service=DataSourceBinding' **") | | DEPLOYMENTS IN ERROR: | Deployment "jboss.jca:name=emtmDatasource,service=DataSourceBinding" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:name=emtmDatasource,service=DataSourceBinding' ** | | at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993) | at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939) | at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128) | at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369) | at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255) | at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) | at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) | at java.lang.Thread.run(Thread.java:619) | On my local workspace (also on a second one in a diffrent local location) i don't get any errors while deploying the things. Any idea? Setting update to create won't work neither. Thanks for the fish ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259564#4259564 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259564 From do-not-reply at jboss.com Fri Oct 9 05:18:58 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 9 Oct 2009 05:18:58 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe Message-ID: <16313272.1255079938503.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It must be something due to the fork-join. I added an additional task assigned to one of the users before the fork and could complete it. After reaching the fork the problems started and I couldn't get the users's tasklist anymore. But even with the changed process definition I can't start a new process instance in the console. I see the process definition in the list and I can push the start button to create a new instance. But nothing happens afterwards. There is neither an error message or exception nor a new process instance in the refreshed list. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259566#4259566 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259566 From do-not-reply at jboss.com Fri Oct 9 05:34:37 2009 From: do-not-reply at jboss.com (alesj) Date: Fri, 9 Oct 2009 05:34:37 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Re: Confused about POJO service Message-ID: <18617497.1255080877923.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "karypid" wrote : | When can you use a different filename? | It depends on the BeanDeployer: - http://anonsvn.jboss.org/repos/jbossas/projects/jboss-deployers/trunk/deployers-vfs/src/main/java/org/jboss/deployers/vfs/deployer/kernel/BeanDeployer.java View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259568#4259568 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259568 From do-not-reply at jboss.com Fri Oct 9 05:45:13 2009 From: do-not-reply at jboss.com (meme) Date: Fri, 9 Oct 2009 05:45:13 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - SecurityDomain ignored in webservice Message-ID: <21646241.1255081513901.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I hope that this is the correct forum for this webservice and security related question: I've deployed a ejb3-webservice on a standard jboss using this annotations: | @Stateless | @SOAPBinding(style = Style.RPC) | @WebService(name = "ScheduleEndpoint", | serviceName = "ScheduleEndpointService", | targetNamespace = "http://my.namespace.de/ws/schedule") | @WebContext(contextRoot = "/ws", | urlPattern = "/schedule", | authMethod = AuthMethod.BASIC, | transportGuarantee = TransportGuarantee.CONFIDENTIAL, | secureWSDLAccess = false) | @SecurityDomain("MySecurity") | public class ScheduleBean implements ScheduleLocal, ScheduleEndpoint { | Everything is fine. The client is forced to use https. But when I try to authenticate myself the error below is shown in the jboss log. (The same occures when I try to access the wsdl if I enable the secureWSDLAccess) The mentioned JAAS MySecurity is working because several other webapps are working correctly with this domain. Do I have to configure the jaas in some other points than in the @SecurityDomain annotation? Thanks for your help! Marc 11:27:04,088 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files | java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:198) | at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186) | at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200) | at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127) | 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:597) | at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756) | at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) | at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) | at java.security.AccessController.doPrivileged(Native Method) | at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) | at javax.security.auth.login.LoginContext.login(LoginContext.java:579) | at org.jboss.security.plugins.auth.JaasSecurityManagerBase.defaultLogin(JaasSecurityManagerBase.java:552) | at org.jboss.security.plugins.auth.JaasSecurityManagerBase.authenticate(JaasSecurityManagerBase.java:486) | at org.jboss.security.plugins.auth.JaasSecurityManagerBase.isValid(JaasSecurityManagerBase.java:365) | at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:160) | at org.jboss.web.tomcat.security.JBossWebRealm.authenticate(JBossWebRealm.java:384) | at org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:181) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:383) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:619) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259571#4259571 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259571 From do-not-reply at jboss.com Fri Oct 9 05:46:16 2009 From: do-not-reply at jboss.com (dimitris@jboss.org) Date: Fri, 9 Oct 2009 05:46:16 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Timer not available Message-ID: <19281862.1255081576663.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Just by looking at your description, why not retrieving the active timers directly after the restart from the EJB that created them in the first place, they should be there? I don't think you need to store the handle. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259572#4259572 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259572 From do-not-reply at jboss.com Fri Oct 9 05:53:56 2009 From: do-not-reply at jboss.com (nathik) Date: Fri, 9 Oct 2009 05:53:56 -0400 (EDT) Subject: [jboss-user] [Persistence] - Table/View 'JMS_SUBSCRIPTIONS' does not exist JBoss 4.2.1 Message-ID: <27040713.1255082036492.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I having problems configuring derby as default datasource. I have done the following: - copied derby.jar and derby-plugin.jar into $JBOSS_HOME/server/default/lib - copied $JBOSS_HOME/docs/examples/jca/derby-ds.xml into JBOSS_HOME/server/default/deploy and renamed jndi name to DefaultDS - copied $JBOSS_HOME/docs/examples/jms/derby-jdbc2-service.xml into $JBOSS_HOME/server/default/deploy/jms/ - removed $JBOSS_HOME/server/default/deploy/hsqldb-ds.xml - removed $JBOSS_HOME/docs/examples/jms/hsqldb-jdbc2-service.xml - changed false to true in $JBOSS_HOME/server/default/conf/standardjbosscmp-jdbc.xml But when starting JBoss 4.2.1 I get the following error: 11:49:48,365 WARN [ServiceController] Problem starting service jboss.mq.destination:service=Topic,name=testTopic org.jboss.mq.SpyJMSException: Error getting durable subscriptions for topic TOPIC.testTopic; - nested throwable: (java.sql.SQLException: Table/View 'JMS_SUBSCRIPTIONS' does not exist.) at org.jboss.mq.sm.jdbc.JDBCStateManager.getDurableSubscriptionIdsForTopic(JDBCStateManager.java:303) at org.jboss.mq.server.JMSDestinationManager.addDestination(JMSDestinationManager.java:702) at org.jboss.mq.server.jmx.Topic.startService(Topic.java:76) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy42.start(Unknown Source) at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:508) at java.lang.Thread.run(Thread.java:595) Caused by: java.sql.SQLException: Table/View 'JMS_SUBSCRIPTIONS' does not exist. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) at org.apache.derby.impl.jdbc.EmbedPreparedStatement.(Unknown Source) at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.(Unknown Source) ..... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259575#4259575 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259575 From do-not-reply at jboss.com Fri Oct 9 06:24:44 2009 From: do-not-reply at jboss.com (bodrin) Date: Fri, 9 Oct 2009 06:24:44 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: jbossall-client.jar and the jar hell at remote JBM clien Message-ID: <5232493.1255083884744.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> May be we can reverse engineer it somehow (jar classes intersection for example) .. but I hoped that someone knows the answer.. So, probably nobody knows if for a remote JBM client it would be sufficient to take all the jars from $JBOSS_HOME/client without jbossall-client.jar? Having a requirement on the order of the jars is a bad thing, so it is duplicating classes in jars. Sooner or later this leads to various kinds of problems. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259580#4259580 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259580 From do-not-reply at jboss.com Fri Oct 9 06:29:42 2009 From: do-not-reply at jboss.com (timfox) Date: Fri, 9 Oct 2009 06:29:42 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: jbossall-client.jar and the jar hell at remote JBM clien Message-ID: <33511787.1255084182837.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> jar hell has been a known issue for a long time in JBoss Messaging. But all new dev is on HornetQ - which doesn't have these issues. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259583#4259583 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259583 From do-not-reply at jboss.com Fri Oct 9 06:35:12 2009 From: do-not-reply at jboss.com (icordoba) Date: Fri, 9 Oct 2009 06:35:12 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Migrating .ear to JBoss 5 with several EJB3 Jars inside Message-ID: <30340356.1255084512644.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I am migrating to JBoss 5 from Jboss 4.0.3 My application is packed in an .ear file with multiple .jar files inside. All share a common persistence unit and have relations between them. This works OK in JBoss 4.0.3 (To make it work I had to include all EJBs in the orm.xml file in the .ear META-INF dir) Now, when deploying this same .ear in JBoss 5 I find that EJBs in a jar file is not visible to EJBs in another jar (even they are in the same .ear file and they all appear in orm.xml file as exposed) Am I missing something that I must include in JBoss 5? This is one of the multiple errors I get: com.servengine.dns.VirtualHost and com.servengine.portal.Portal are the entities packed echaone in a different jar. 2009-10-09 11:43:54,073 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=persistence.unit:unitName=tuportal3.ear/ServEngineDNSEJB.jar#mainPersistenceUnit state=Create | org.hibernate.AnnotationException: @OneToOne or @ManyToOne on com.servengine.dns.VirtualHost.portal references an unknown entity: com.servengine.portal.Portal | at org.hibernate.cfg.ToOneFkSecondPass.doSecondPass(ToOneFkSecondPass.java:81) | at org.hibernate.cfg.AnnotationConfiguration.processEndOfQueue(AnnotationConfiguration.java:456) | at org.hibernate.cfg.AnnotationConfiguration.processFkSecondPassInOrder(AnnotationConfiguration.java:438) | at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:309) | at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1148) | at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1226) | at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:173) | at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:854) | at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:425) | at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:131) | at org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:301) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | I have read docs but have no info about this. Do I have to repack my EJBs all in one ear? Thanks for any directions. Ignacio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259585#4259585 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259585 From do-not-reply at jboss.com Fri Oct 9 06:38:11 2009 From: do-not-reply at jboss.com (icordoba) Date: Fri, 9 Oct 2009 06:38:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Migrating .ear to JBoss 5 with several EJB3 Jars inside Message-ID: <15766845.1255084691868.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry, I mean, "Do I have to repack my EJBs all in one jar inside the ear? Thanks :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259588#4259588 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259588 From do-not-reply at jboss.com Fri Oct 9 07:05:20 2009 From: do-not-reply at jboss.com (komet_1978) Date: Fri, 9 Oct 2009 07:05:20 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Timer not available Message-ID: <4529241.1255086320209.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "dimitris at jboss.org" wrote : Just by looking at your description, why not retrieving the active timers directly after the restart from the EJB that created them in the first place, they should be there? I don't think you need to store the handle. The timers are managed by the timer service. I don't hold them in my EJB which is a STSB and has the timer service injected. My STSB is only a facade for the service and provides methods to create a timer, change a timer or cancel a timer. I don't see any possibility to identify and access a certain timer by timerservice api. Of course I can get the whole list of active timers by calling timerService.getTimers(). But then I would have to iterate over the collection to find the timer instance I want to change. This isn't nice ;-). TimerHandles are defined to provide a direct acess to a timer and as mentioned in the ejb3 specification a handle must be able to achieve that (chapter 18): "The container must implement a timer handle to be usable over the lifetime of the timer." This default behaviour of the timer table conflicts with the specification. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259592#4259592 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259592 From do-not-reply at jboss.com Fri Oct 9 07:06:03 2009 From: do-not-reply at jboss.com (c4s4l) Date: Fri, 9 Oct 2009 07:06:03 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Synchronous process execution Message-ID: <14791564.1255086363580.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Ronald, Maybe I did not explain my self correctly, sorry. I don't understand very well what you say, but now I'm invoking the startProcess and it returns immediately and my process stays on a waiting state. What I need is to call the executionService.startProcessInstanceByKey(...) and wait for the process end, without active waiting. I mean, the caller calls the startProcess* and waits for its end. The process is complex and has multiple human tasks. In addition, is there any callback that can be used to communicate the process end to the caller? Thanks, Sergio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259593#4259593 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259593 From do-not-reply at jboss.com Fri Oct 9 07:11:53 2009 From: do-not-reply at jboss.com (komet_1978) Date: Fri, 9 Oct 2009 07:11:53 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Timer not available Message-ID: <1587369.1255086713788.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I found an issue report that matches my issue: https://jira.jboss.org/jira/browse/JBAS-4598 and felt free to create a sub task of it: https://jira.jboss.org/jira/browse/JBAS-7328 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259595#4259595 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259595 From do-not-reply at jboss.com Fri Oct 9 07:20:21 2009 From: do-not-reply at jboss.com (meme) Date: Fri, 9 Oct 2009 07:20:21 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: SecurityDomain ignored in webservice Message-ID: <15066461.1255087221392.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, you can ignore my post. I've found the solution. The @SecurityDomain should be org.jboss.ejb3.annotation.SecurityDomain Then it'll work. Marc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259598#4259598 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259598 From do-not-reply at jboss.com Fri Oct 9 07:29:12 2009 From: do-not-reply at jboss.com (rasa) Date: Fri, 9 Oct 2009 07:29:12 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Jboss 4.2.3 GA upgrade Message-ID: <14892943.1255087752591.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> But the same warning is there in 3.2.5 version of jboss. And in that it is working fine View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259600#4259600 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259600 From do-not-reply at jboss.com Fri Oct 9 07:47:04 2009 From: do-not-reply at jboss.com (shamabbas) Date: Fri, 9 Oct 2009 07:47:04 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Starting error.. Message-ID: <8652397.1255088824420.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "jaikiran" wrote : "baksheen" wrote : Hi, | | | | If the port already using error, how do we solve that port error? because I am using 8080. how it is related to 1099 ? | | | | 8080 and 1099 are just two of the many default ports, which JBoss uses. For a complete list, see this http://wiki.jboss.org/wiki/UsingJBossBehindAFirewall | | "baksheen" wrote : | | But as you suggested to use netstat -ab, | | where do we use that parameter? | | | | | | | | You can use it from the command prompt. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259604#4259604 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259604 From do-not-reply at jboss.com Fri Oct 9 07:50:11 2009 From: do-not-reply at jboss.com (shamabbas) Date: Fri, 9 Oct 2009 07:50:11 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Starting error.. Message-ID: <27222745.1255089011675.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I run shutdown.bat first but didnt work then i even restarted my system but still had problem then I closed process of my messenger and it worked. Sometimes it happens that messenger insalled in your system using port so you get conflicts while running jboss So close them and restart jboss server. But i would like to know if anyone can tell how manualy we can change and set ports and assign Jboss server a fixed port to use? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259605#4259605 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259605 From do-not-reply at jboss.com Fri Oct 9 08:15:38 2009 From: do-not-reply at jboss.com (dimitris@jboss.org) Date: Fri, 9 Oct 2009 08:15:38 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Timer not available Message-ID: <15164825.1255090538382.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> JBAS-4598 is an old report against 4.0.5 and many things changed in timers in 4.2.2+ Thinking more about this, maybe the moment you ask for the timers, those are not created yet? i.e. the target container where the timers belong has not fully started for it's timers to be there. Can you verify this is not the case, i.e. check for the timers after the deployment is complete, or see if you can configure a dependency. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259608#4259608 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259608 From do-not-reply at jboss.com Fri Oct 9 08:18:19 2009 From: do-not-reply at jboss.com (dego64) Date: Fri, 9 Oct 2009 08:18:19 -0400 (EDT) Subject: [jboss-user] [Security] - Re: IllegalStateException: Authorization Manager is null wit Message-ID: <25439416.1255090699146.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, thanks for your answer. Actually the server is starting ok : 14:08:52,593 INFO [ServerImpl] Starting JBoss (Microcontainer)... | 14:08:52,593 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053) | 14:08:52,593 INFO [ServerImpl] Bootstrap URL: null | 14:08:52,593 INFO [ServerImpl] Home Dir: C:\Program Files\jboss\jboss-5.1.0.GA | 14:08:52,593 INFO [ServerImpl] Home URL: file:/C:/Program%20Files/jboss/jboss-5.1.0.GA/ | 14:08:52,593 INFO [ServerImpl] Library URL: file:/C:/Program%20Files/jboss/jboss-5.1.0.GA/lib/ | 14:08:52,625 INFO [ServerImpl] Patch URL: null | 14:08:52,625 INFO [ServerImpl] Common Base URL: file:/C:/Program%20Files/jboss/jboss-5.1.0.GA/common/ | 14:08:52,625 INFO [ServerImpl] Common Library URL: file:/C:/Program%20Files/jboss/jboss-5.1.0.GA/common/lib/ | 14:08:52,625 INFO [ServerImpl] Server Name: default | 14:08:52,625 INFO [ServerImpl] Server Base Dir: C:\Program Files\jboss\jboss-5.1.0.GA\server | 14:08:52,625 INFO [ServerImpl] Server Base URL: file:/C:/Program%20Files/jboss/jboss-5.1.0.GA/server/ | 14:08:52,625 INFO [ServerImpl] Server Config URL: file:/C:/Program%20Files/jboss/jboss-5.1.0.GA/server/default/conf/ | 14:08:52,625 INFO [ServerImpl] Server Home Dir: C:\Program Files\jboss\jboss-5.1.0.GA\server\default | 14:08:52,640 INFO [ServerImpl] Server Home URL: file:/C:/Program%20Files/jboss/jboss-5.1.0.GA/server/default/ | 14:08:52,640 INFO [ServerImpl] Server Data Dir: C:\Program Files\jboss\jboss-5.1.0.GA\server\default\data | 14:08:52,640 INFO [ServerImpl] Server Library URL: file:/C:/Program%20Files/jboss/jboss-5.1.0.GA/server/default/lib/ | 14:08:52,640 INFO [ServerImpl] Server Log Dir: C:\Program Files\jboss\jboss-5.1.0.GA\server\default\log | 14:08:52,640 INFO [ServerImpl] Server Native Dir: C:\Program Files\jboss\jboss-5.1.0.GA\server\default\tmp\native | 14:08:52,640 INFO [ServerImpl] Server Temp Dir: C:\Program Files\jboss\jboss-5.1.0.GA\server\default\tmp | 14:08:52,640 INFO [ServerImpl] Server Temp Deploy Dir: C:\Program Files\jboss\jboss-5.1.0.GA\server\default\tmp\deploy | 14:08:55,078 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/Program%20Files/jboss/jboss-5.1.0.GA/server/default/conf/bootstrap.xml | 14:08:56,359 INFO [VFSCacheFactory] Initializing VFSCache [org.jboss.virtual.plugins.cache.CombinedVFSCache] | 14:08:56,375 INFO [VFSCacheFactory] Using VFSCache [CombinedVFSCache[real-cache: null]] | 14:08:56,843 INFO [CopyMechanism] VFS temp dir: C:\Program Files\jboss\jboss-5.1.0.GA\server\default\tmp | 14:08:56,953 INFO [ZipEntryContext] VFS force nested jars copy-mode is enabled. | 14:08:58,578 INFO [ServerInfo] Java version: 1.6.0_11,Sun Microsystems Inc. | 14:08:58,578 INFO [ServerInfo] Java Runtime: Java(TM) SE Runtime Environment (build 1.6.0_11-b03) | 14:08:58,578 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 11.0-b16,Sun Microsystems Inc. | 14:08:58,593 INFO [ServerInfo] OS-System: Windows XP 5.1,x86 | 14:08:58,609 INFO [ServerInfo] VM arguments: -Dprogram.name=JBossTools JBoss 5.1 Runtime -Xms256m -Xmx512m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.endorsed.dirs=C:/Program Files/jboss/jboss-5.1.0.GA/lib/endorsed -Dfile.encoding=Cp1252 | 14:08:58,687 INFO [JMXKernel] Legacy JMX core initialized | 14:09:01,203 INFO [ProfileServiceBootstrap] Loading profile: ProfileKey at 104a4b6[domain=default, server=default, name=default] | 14:09:04,265 INFO [WebService] Using RMI server codebase: http://localhost:8083/ | 14:09:13,046 INFO [NativeServerConfig] JBoss Web Services - Stack Native Core | 14:09:13,046 INFO [NativeServerConfig] 3.1.2.GA | 14:09:13,968 INFO [AttributeCallbackItem] Owner callback not implemented. | 14:09:16,046 INFO [LogNotificationListener] Adding notification listener for logging mbean "jboss.system:service=Logging,type=Log4jService" to server org.jboss.mx.server.MBeanServerImpl at 7ab40c[ defaultDomain='jboss' ] | 14:09:38,546 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 31389825{vfsfile:/C:/Program%20Files/jboss/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/} | 14:09:38,546 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 31389825{vfsfile:/C:/Program%20Files/jboss/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/} | 14:09:38,546 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 31389825{vfsfile:/C:/Program%20Files/jboss/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/} | 14:09:38,546 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext at 31389825{vfsfile:/C:/Program%20Files/jboss/jboss-5.1.0.GA/server/default/deploy/profileservice-secured.jar/} | 14:09:42,312 INFO [JMXConnectorServerService] JMX Connector server: service:jmx:rmi://localhost/jndi/rmi://localhost:1090/jmxconnector | 14:09:42,531 INFO [MailService] Mail Service bound to java:/Mail | 14:09:46,218 WARN [JBossASSecurityMetadataStore] WARNING! POTENTIAL SECURITY RISK. It has been detected that the MessageSucker component which sucks messages from one node to another has not had its password changed from the installation default. Please see the JBoss Messaging user guide for instructions on how to do this. | 14:09:46,250 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent | 14:09:46,375 WARN [AnnotationCreator] No ClassLoader provided, using TCCL: org.jboss.managed.api.annotation.ManagementComponent | 14:09:46,453 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version - tag:JBOSSTS_4_6_1_GA) - JBoss Inc. | 14:09:46,453 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer | 14:09:46,937 INFO [TransactionManagerService] Initializing recovery manager | 14:09:47,250 INFO [TransactionManagerService] Recovery manager configured | 14:09:47,265 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference | 14:09:47,296 INFO [TransactionManagerService] Starting transaction recovery manager | 14:09:48,046 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_11\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;native | 14:09:48,156 INFO [Http11Protocol] Initialisation de Coyote HTTP/1.1 sur http-localhost%2F127.0.0.1-8080 | 14:09:48,171 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009 | 14:09:48,203 INFO [StandardService] D????????????????????????marrage du service jboss.web | 14:09:48,203 INFO [StandardEngine] Starting Servlet Engine: JBoss Web/2.1.3.GA | 14:09:48,281 INFO [Catalina] Server startup in 103 ms | 14:09:48,312 INFO [TomcatDeployment] deploy, ctxPath=/web-console | 14:09:50,328 INFO [TomcatDeployment] deploy, ctxPath=/jbossws | 14:09:50,375 INFO [TomcatDeployment] deploy, ctxPath=/invoker | 14:09:50,640 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Program Files/jboss/jboss-5.1.0.GA/server/default/deploy/jboss-local-jdbc.rar/META-INF/ra.xml | 14:09:50,687 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Program Files/jboss/jboss-5.1.0.GA/server/default/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml | 14:09:50,718 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Program Files/jboss/jboss-5.1.0.GA/server/default/deploy/jms-ra.rar/META-INF/ra.xml | 14:09:50,750 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Program Files/jboss/jboss-5.1.0.GA/server/default/deploy/mail-ra.rar/META-INF/ra.xml | 14:09:50,796 INFO [RARDeployment] Required license terms exist, view vfszip:/C:/Program Files/jboss/jboss-5.1.0.GA/server/default/deploy/quartz-ra.rar/META-INF/ra.xml | 14:09:51,000 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main | 14:09:51,062 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. | 14:09:51,062 INFO [RAMJobStore] RAMJobStore initialized. | 14:09:51,062 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' | 14:09:51,062 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 | 14:09:51,062 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. | 14:09:52,125 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' | 14:09:53,750 INFO [ServerPeer] JBoss Messaging 1.4.3.GA server [0] started | 14:09:53,921 INFO [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover | 14:09:53,921 INFO [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing | 14:09:54,031 INFO [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds | 14:09:54,031 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at a9b4a2 started | 14:09:54,031 INFO [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds | 14:09:54,031 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 178a1cb started | 14:09:54,046 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000 | 14:09:54,062 INFO [ConnectionFactory] Connector bisocket://localhost:4457 has leasing enabled, lease period 10000 milliseconds | 14:09:54,062 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 3cb5f2 started | 14:09:54,062 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000 | 14:09:54,218 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' | 14:09:54,875 INFO [JBossASKernel] Created KernelDeployment for: profileservice-secured.jar | 14:09:54,890 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3 | 14:09:54,890 INFO [JBossASKernel] with dependencies: | 14:09:54,890 INFO [JBossASKernel] and demands: | 14:09:54,890 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView | 14:09:54,890 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService | 14:09:54,890 INFO [JBossASKernel] and supplies: | 14:09:54,890 INFO [JBossASKernel] Class:org.jboss.profileservice.spi.ProfileService | 14:09:54,890 INFO [JBossASKernel] jndi:SecureProfileService/remote | 14:09:54,890 INFO [JBossASKernel] jndi:SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService | 14:09:54,890 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3) to KernelDeployment of: profileservice-secured.jar | 14:09:54,890 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3 | 14:09:54,890 INFO [JBossASKernel] with dependencies: | 14:09:54,890 INFO [JBossASKernel] and demands: | 14:09:54,890 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService | 14:09:54,890 INFO [JBossASKernel] and supplies: | 14:09:54,890 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager | 14:09:54,890 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management.deploy.DeploymentManager | 14:09:54,890 INFO [JBossASKernel] jndi:SecureDeploymentManager/remote | 14:09:54,890 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3) to KernelDeployment of: profileservice-secured.jar | 14:09:54,921 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3 | 14:09:54,921 INFO [JBossASKernel] with dependencies: | 14:09:54,921 INFO [JBossASKernel] and demands: | 14:09:54,921 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService | 14:09:54,921 INFO [JBossASKernel] and supplies: | 14:09:54,921 INFO [JBossASKernel] jndi:SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView | 14:09:54,921 INFO [JBossASKernel] Class:org.jboss.deployers.spi.management.ManagementView | 14:09:54,921 INFO [JBossASKernel] jndi:SecureManagementView/remote | 14:09:54,921 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3) to KernelDeployment of: profileservice-secured.jar | 14:09:54,937 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at 14b106{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true} | 14:09:54,937 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at fadbb2{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true} | 14:09:54,937 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at 13a462c{name=jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor=null autowireCandidate=true} | 14:09:55,109 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureDeploymentManager,service=EJB3 | 14:09:55,109 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureDeploymentManager ejbName: SecureDeploymentManager | 14:09:55,203 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI: | | SecureDeploymentManager/remote - EJB3.x Default Remote Business Interface | SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy.DeploymentManager - EJB3.x Remote Business Interface | | 14:09:55,328 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureManagementView,service=EJB3 | 14:09:55,328 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureManagementView ejbName: SecureManagementView | 14:09:55,343 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI: | | SecureManagementView/remote - EJB3.x Default Remote Business Interface | SecureManagementView/remote-org.jboss.deployers.spi.management.ManagementView - EJB3.x Remote Business Interface | | 14:09:55,406 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3 | 14:09:55,421 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.SecureProfileServiceBean ejbName: SecureProfileService | 14:09:55,437 INFO [JndiSessionRegistrarBase] Binding the following Entries in Global JNDI: | | SecureProfileService/remote - EJB3.x Default Remote Business Interface | SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService - EJB3.x Remote Business Interface | | 14:09:55,656 INFO [TomcatDeployment] deploy, ctxPath=/admin-console | 14:09:55,796 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/admin-console' | 14:09:59,921 INFO [TomcatDeployment] deploy, ctxPath=/ | 14:10:00,046 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console | 14:10:00,187 INFO [Http11Protocol] D????????????????????????marrage de Coyote HTTP/1.1 sur http-localhost%2F127.0.0.1-8080 | 14:10:00,218 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009 | 14:10:00,234 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 1m:7s:578ms | 14:10:05,218 INFO [TomcatDeployment] deploy, ctxPath=/DemoJaasJsf | 14:10:05,296 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/DemoJaasJsf' the following error happens when asking the server for a "secured" page : 14:13:36,421 ERROR [CoyoteAdapter] Une exception ou une erreur s'est produite dans le conteneur durant le traitement de la requ????????????te | java.lang.IllegalStateException: Authorization Manager is null | at org.jboss.security.plugins.javaee.WebAuthorizationHelper.hasUserDataPermission(WebAuthorizationHelper.java:185) | at org.jboss.web.tomcat.security.JBossWebRealm.hasUserDataPermission(JBossWebRealm.java:643) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:461) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:619) | here's the web.xml | | Facelets StarterKit | DemoJaasJsf | | javax.faces.DEFAULT_SUFFIX | .xhtml | | | facelets.REFRESH_PERIOD | 2 | | | facelets.DEVELOPMENT | true | | | javax.faces.STATE_SAVING_METHOD | server | | | com.sun.faces.validateXml | true | | | com.sun.faces.verifyObjects | false | | | Faces Servlet | javax.faces.webapp.FacesServlet | 1 | | | Faces Servlet | *.jsf | | | Test d'authentification tomcat | | Page s????curis????e | /admin/* | | | manager | | | | BASIC | JaasJsfDemo Authentification | | /login.jsp | /all.xhtml | | | | Manager | manager | | | and jboss-web.xml | | java:jaas/demoJaasJsf | | and the corresponding login-config.xml snippet : | | | | props/djj-users.properties | props/djj-roles.properties | | | Thanks again for help Dego View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259609#4259609 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259609 From do-not-reply at jboss.com Fri Oct 9 08:23:03 2009 From: do-not-reply at jboss.com (dego64) Date: Fri, 9 Oct 2009 08:23:03 -0400 (EDT) Subject: [jboss-user] [Security] - Re: IllegalStateException: Authorization Manager is null wit Message-ID: <25737553.1255090983040.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The previous login-cong.xml file is in the conf directory and the 2 referenced users and roles files are in the conf/props directory. Thanks again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259611#4259611 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259611 From do-not-reply at jboss.com Fri Oct 9 08:50:04 2009 From: do-not-reply at jboss.com (LMarinkov) Date: Fri, 9 Oct 2009 08:50:04 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: deploy examples error, classcastexception Message-ID: <4687574.1255092604606.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Envoronment: windows vista apache-tomcat-6.0.20 jbpm 4.1 hsqldb If one replaces the line 64 in the org.jbpm.pvm.internal.repository.ProcessDeployer: List processDefinitions = (List) parse.getDocumentObject(); with the following code then the deployment of the processes from the jbpm examples under the jbpm console will be successful: List processDefinitions = new java.util.ArrayList(); | Object obj = parse.getDocumentObject(); | if (obj instanceof java.util.ArrayList) | { | processDefinitions = (List)obj; | } | else | { | processDefinitions.add((ProcessDefinitionImpl)obj); | } | I' am not advocating this code as a solution for the class cast exception, but my opinion on class casting in java is that it brings more problems then it solves! I will suggest that the author of this cast should look again at the code and try to solve the problem without using class casting. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259623#4259623 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259623 From do-not-reply at jboss.com Fri Oct 9 08:53:35 2009 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 9 Oct 2009 08:53:35 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Timer not available Message-ID: <22694501.1255092815170.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In addition to what Dimitris asked for - is this EJB3 or EJB 2.x? And please post the entire exception stacktrace. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259624#4259624 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259624 From do-not-reply at jboss.com Fri Oct 9 08:54:52 2009 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 9 Oct 2009 08:54:52 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Migrating .ear to JBoss 5 with several EJB3 Jars inside Message-ID: <16839148.1255092892276.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "icordoba" wrote : Sorry, I mean, "Do I have to repack my EJBs all in one jar inside the ear? | | In your posts, by "EJB" do you mean JPA/Hibernate entities? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259625#4259625 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259625 From do-not-reply at jboss.com Fri Oct 9 08:56:41 2009 From: do-not-reply at jboss.com (komet_1978) Date: Fri, 9 Oct 2009 08:56:41 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Timer not available Message-ID: <27292380.1255093001387.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "dimitris at jboss.org" wrote : JBAS-4598 is an old report against 4.0.5 and many things changed in timers in 4.2.2+ | | Thinking more about this, maybe the moment you ask for the timers, those are not created yet? i.e. the target container where the timers belong has not fully started for it's timers to be there. Can you verify this is not the case, i.e. check for the timers after the deployment is complete, or see if you can configure a dependency. My EJB doesn't access the timers during the start up phase but always after the deplyoment is complete. So therefore there is no need to configure a dependency. A look into the defaultDB.log (in jboss.home\server\default\data) reveales the following disadvantageous behaviour on start up, 3 timers are deleted from table timers and recreated, but get different ids: DELETE FROM TIMERS WHERE TIMERID='1255087193422' AND TARGETID='[target=...,name=EETimerService,service=EJB3]' | DELETE FROM TIMERS WHERE TIMERID='1255087193423' AND TARGETID='[target=...,name=EETimerService,service=EJB3]' | DELETE FROM TIMERS WHERE TIMERID='1255087193424' AND TARGETID='[target=...,name=EETimerService,service=EJB3]' | INSERT INTO TIMERS VALUES('1255092103922','[target=...,name=EETimerService,service=EJB3]','2009-10-12 01:18:23.437000000',0,NULL,'aced00057372002464652e6d6574616672616d652e6a6162632e65652e74696d65722e54696d6572496e666f50fe499a85be42e10200045a00096578656354696d65724c00066272616e63687400124c6a6176612f6c616e672f537472696e673b4c000970726f6365737349647400104c6a6176612f6c616e672f4c6f6e673b4c000573696249647400134c6a6176612f6c616e672f496e74656765723b78700074000774696d656f75747372000e6a6176612e6c616e672e4c6f6e673b8be490cc8f23df0200014a000576616c7565787200106a6176612e6c616e672e4e756d62657286ac951d0b94e08b02000078700000000000450002737200116a6176612e6c616e672e496e746567657212e2a0a4f781873802000149000576616c75657871007e000700000000') | INSERT INTO TIMERS VALUES('1255092103923','[target=...]','2009-10-12 01:18:27.296000000',0,NULL,'aced00057372002464652e6d6574616672616d652e6a6162632e65652e74696d65722e54696d6572496e666f50fe499a85be42e10200045a00096578656354696d65724c00066272616e63687400124c6a6176612f6c616e672f537472696e673b4c000970726f6365737349647400104c6a6176612f6c616e672f4c6f6e673b4c000573696249647400134c6a6176612f6c616e672f496e74656765723b78700074000774696d656f75747372000e6a6176612e6c616e672e4c6f6e673b8be490cc8f23df0200014a000576616c7565787200106a6176612e6c616e672e4e756d62657286ac951d0b94e08b02000078700000000000450004737200116a6176612e6c616e672e496e746567657212e2a0a4f781873802000149000576616c75657871007e000700000000') | INSERT INTO TIMERS VALUES('1255092103924','[target=...]','2009-10-12 01:18:32.656000000',0,NULL,'aced00057372002464652e6d6574616672616d652e6a6162632e65652e74696d65722e54696d6572496e666f50fe499a85be42e10200045a00096578656354696d65724c00066272616e63687400124c6a6176612f6c616e672f537472696e673b4c000970726f6365737349647400104c6a6176612f6c616e672f4c6f6e673b4c000573696249647400134c6a6176612f6c616e672f496e74656765723b78700074000774696d656f75747372000e6a6176612e6c616e672e4c6f6e673b8be490cc8f23df0200014a000576616c7565787200106a6176612e6c616e672e4e756d62657286ac951d0b94e08b02000078700000000000450006737200116a6176612e6c616e672e496e746567657212e2a0a4f781873802000149000576616c75657871007e000700000000') | This explaines why new timers can be accessed by handles when jboss keeps running, and can not after a restart. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259626#4259626 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259626 From vincent.verpoort at gmail.com Fri Oct 9 09:02:20 2009 From: vincent.verpoort at gmail.com (Vincent verpoort) Date: Fri, 9 Oct 2009 15:02:20 +0200 Subject: [jboss-user] continuum under jboss 5.0.0 ga Message-ID: <9b68098b0910090602q2e1d6a4fu39f91f84b23907a5@mail.gmail.com> Question, I wanne run continuum under jboss 5.0.0.ga Problem being that when i take a clean install of jboss 5.0.0 ga on solaris and fallow the http://continuum.apache.org/docs/1.3.4/installation/jboss.html i get the next error Internet doesn't givemuch info so i'm hoping maybe someone here has some info on this 14:55:34,856 INFO [RARDeployment] Required license terms exist, view vfszip:/export/dg1/service/ jboss-5.0.0.GA/server/gc/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml 14:55:34,875 INFO [RARDeployment] Required license terms exist, view vfszip:/export/dg1/service/ jboss-5.0.0.GA/server/gc/deploy/jms-ra.rar/META-INF/ra.xml 14:55:34,888 INFO [RARDeployment] Required license terms exist, view vfszip:/export/dg1/service/ jboss-5.0.0.GA/server/gc/deploy/mail-ra.rar/META-INF/ra.xml 14:55:34,905 INFO [RARDeployment] Required license terms exist, view vfszip:/export/dg1/service/ jboss-5.0.0.GA/server/gc/deploy/quartz-ra.rar/META-INF/ra.xml 14:55:34,955 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main 14:55:34,971 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 14:55:34,973 INFO [RAMJobStore] RAMJobStore initialized. 14:55:34,973 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 14:55:34,973 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 14:55:34,973 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 14:55:35,062 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=continuum' to JNDI name 'java:continuum' 14:55:35,092 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=users' to JNDI name 'java:users' 14:55:35,346 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 14:55:35,611 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main 14:55:35,612 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 14:55:35,612 INFO [JobStoreCMT] Using db table-based data access locking (synchronization). 14:55:35,618 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s). 14:55:35,618 INFO [JobStoreCMT] Removed 0 Volatile Job(s). 14:55:35,618 INFO [JobStoreCMT] JobStoreCMT initialized. 14:55:35,618 INFO [StdSchedulerFactory] Quartz scheduler 'JBossEJB3QuartzScheduler' initialized from an externally provided properties instance. 14:55:35,618 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 14:55:35,654 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / 'blocked' state. 14:55:35,659 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress at the time of the last shut-down. 14:55:35,659 INFO [JobStoreCMT] Recovery complete. 14:55:35,659 INFO [JobStoreCMT] Removed 0 'complete' triggers. 14:55:35,659 INFO [JobStoreCMT] Removed 0 stale fired job entries. 14:55:35,660 INFO [QuartzScheduler] Scheduler JBossEJB3QuartzScheduler_$_NON_CLUSTERED started. 14:55:35,742 INFO [ServerPeer] JBoss Messaging 1.4.1.GA server [0] started 14:55:35,802 INFO [QueueService] Queue[/queue/DLQ] started, fullSize=200000, pageSize=2000, downCacheSize=2000 14:55:35,806 WARN [ConnectionFactoryJNDIMapper] supportsFailover attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support failover 14:55:35,806 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing attribute is true on connection factory: jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but post office is non clustered. So connection factory will *not* support load balancing 14:55:35,841 INFO [ConnectionFactory] Connector bisocket://10.69.10.14:4557has leasing enabled, lease period 10000 milliseconds 14:55:35,842 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 128abd9 started 14:55:35,842 INFO [ConnectionFactory] Connector bisocket://10.69.10.14:4557has leasing enabled, lease period 10000 milliseconds 14:55:35,842 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at c8a95c started 14:55:35,844 INFO [ConnectionFactory] Connector bisocket://10.69.10.14:4557has leasing enabled, lease period 10000 milliseconds 14:55:35,844 INFO [ConnectionFactory] org.jboss.jms.server.connectionfactory.ConnectionFactory at 11fb491 started 14:55:35,846 INFO [QueueService] Queue[/queue/ExpiryQueue] started, fullSize=200000, pageSize=2000, downCacheSize=2000 14:55:35,924 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 14:55:35,936 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war 14:55:35,962 INFO [EjbDeployer] installing bean: ejb/#SequenceGenerator,uid24027989 14:55:35,962 INFO [EjbDeployer] with dependencies: 14:55:35,962 INFO [EjbDeployer] and supplies: 14:55:35,962 INFO [EjbDeployer] jndi:SequenceGenerator 14:55:35,962 INFO [EjbDeployer] installing bean: ejb/#Sequence,uid5525932 14:55:35,962 INFO [EjbDeployer] with dependencies: 14:55:35,962 INFO [EjbDeployer] and supplies: 14:55:35,962 INFO [EjbDeployer] jndi:Sequence 14:55:36,928 INFO [TomcatDeployment] deploy, ctxPath=/continuum, vfsUrl=continuum.war 14:55:38,000 ERROR [[/continuum]] Error configuring application listener of class org.apache.continuum.web.startup.ContinuumStartup java.lang.ExceptionInInitializerError at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:103) at org.apache.continuum.web.startup.ContinuumStartup.(ContinuumStartup.java:42) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:242) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3859) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367) at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460) at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) at org.jboss.web.deployers.WebModule.start(WebModule.java:96) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) at $Proxy36.start(Unknown Source) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.system.ServiceController.doChange(ServiceController.java:688) at org.jboss.system.ServiceController.start(ServiceController.java:460) at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104) at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45) at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304) at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205) at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405) at org.jboss.Main.boot(Main.java:209) at org.jboss.Main$1.run(Main.java:547) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassCastException: org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to javax.xml.parsers.DocumentBuilderFactory at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:694) at org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618) at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468) at org.apache.log4j.LogManager.(LogManager.java:122) ... 68 more -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20091009/b9240682/attachment.html From do-not-reply at jboss.com Fri Oct 9 09:18:09 2009 From: do-not-reply at jboss.com (shiva0) Date: Fri, 9 Oct 2009 09:18:09 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Accessing the current task of a ProcessInstance and/or h Message-ID: <16771883.1255094289566.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The TaskQuery won't let search by Parent ProcessInstance. getActiveActivityNames return the name of the active subprocess but not the ID. So it's useless for querying with TaskQuery. getExecutions() on the Parent ProcessInstance return empty since the execution is in the sub-process And I havn't checked the ExecutionsMap but should be the same as Executions I guess. So I'll keep the cast to ExcecutionImpl for now I guess... --- I encountered the same problem with the History. TaskHistory and ActivityHistory doesn't keep their parent / child relationship. Since the relationship is lost, there is no way to know which sub-process task is related to the parent ProcessInstance. The database keep no track of that information. Kinda bad, guess I'll have to keep a relationship table on the side. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259631#4259631 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259631 From do-not-reply at jboss.com Fri Oct 9 09:18:33 2009 From: do-not-reply at jboss.com (komet_1978) Date: Fri, 9 Oct 2009 09:18:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Timer not available Message-ID: <11943507.1255094313821.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "jaikiran" wrote : In addition to what Dimitris asked for - is this EJB3 or EJB 2.x? And please post the entire exception stacktrace. This is EJB 3. As you can see, the cancel method gets a TimerHandle which has been created before the restart. The id of the corresponding timer is 1255092103925. I checked the timers table after the restart and there was no timer with this id. Although no timer had a timeout event and no timer has been canceled. And as already mentioned this exception never comes up without a restart. Here is the main part of the exception stacktrace: ENTER cancelTimer([id=1255092103925,target=[target=....jar,name=EETimerService,service=EJB3],first=12-Okt-2009 02:45:49.031,periode=0]) | 15:01:44,687 ERROR [EETimerService,19] javax.ejb.NoSuchObjectLocalException: Timer not available: [target=jboss.j2ee:ear=jabcee-server-SNAPSHOT.ear,jar=jabcee-server-ejb-SNAPSHOT.jar,name=EETimerService,service=EJB3] | at ...EETimerService.cancelTimer(EETimerService.java:147) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) | at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69) | at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor$InvocationContext.proceed(InvocationContextInterceptor.java:138) | at ....EJBMethodDebugLogger.logMethod(EJBMethodDebugLogger.java:16) | at sun.reflect.GeneratedMethodAccessor330.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:83) | at org.jboss.ejb3.interceptors.aop.EJB3InterceptorInterceptor.invoke(EJB3InterceptorInterceptor.java:70) | at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:59) | at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73) | at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59) | at sun.reflect.GeneratedMethodAccessor319.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72) | at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_18733404.invoke(InvocationContextInterceptor_z_fillMethod_18733404.java) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88) | at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_18733404.invoke(InvocationContextInterceptor_z_setup_18733404.java) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:261) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:176) | at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:216) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) | at $Proxy457.cancelTimer(Unknown Source) | ... | Caused by: javax.ejb.NoSuchObjectLocalException: Timer not available: [target=...,name=EETimerService,service=EJB3] | at org.jboss.ejb.txtimer.TimerHandleImpl.getTimer(TimerHandleImpl.java:203) | at | ...EETimerService.cancelTimer(EETimerService.java:143) | ... 322 more | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259632#4259632 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259632 From do-not-reply at jboss.com Fri Oct 9 09:33:54 2009 From: do-not-reply at jboss.com (rasa) Date: Fri, 9 Oct 2009 09:33:54 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Jboss 4.2.3 GA upgrade Message-ID: <19211348.1255095234417.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Now i have changed my jar to application.ear ERROR [MainDeployer] Could not create deployment: file:/E:/jboss-4.2.3.GA/jboss-4.2.3.GA/server/default/tmp/deploy/tmp1936660721363467076application.ear-contents/application.jar Any idea ??? Rasa. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259642#4259642 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259642 From do-not-reply at jboss.com Fri Oct 9 09:51:03 2009 From: do-not-reply at jboss.com (himanshuIg) Date: Fri, 9 Oct 2009 09:51:03 -0400 (EDT) Subject: [jboss-user] [Clustering] - Sending JMX notifications to all nodes in a cluster Message-ID: <19538627.1255096263154.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi All, I am using JBoss 4.2.3 I am trying to get JMX notifications working on a cluster. I have created two different classes The class that sends a notification import javax.management.*; | import org.jboss.ha.jmx.HAServiceMBean; | import org.jboss.ha.jmx.HAServiceMBeanSupport; | | public class LayoutMBean | extends HAServiceMBeanSupport implements HAServiceMBean { | | private long sequenceNumber = 1; | | private Layout layout; | | public void setLayout(Layout layout) { | this.layout = layout; | } | | public Layout getLayout() { | return this.layout; | } | | public void syncLayouts() throws Exception { | System.out.println("Sending Notification"); | | Notification n = | new Notification( | Layout.TYPE, | this, | sequenceNumber++, | System.currentTimeMillis(), | "All Layouts have been synced"); | sendNotification(n); | System.out.println("Notification Sent......."); | } | | } A NotificationListener import javax.management.*; | | public class LayoutNotificationListener implements NotificationListener { | public void handleNotification (Notification notification, Object handback) { | System.out.println("Notifictaion Recieved..........."); | System.out.println(notification.getMessage()); | } | I have a spring configuration to define object of both the NotificationSender and NotificationListener(layoutMBean and layoutNotificationListener respectively) On Application start-up, I add a listener by the following code LayoutMBean layoutMBean = ctx.getBean("layoutMBean") | LayoutNotifictionListener layoutNotifictionListener = ctx.getBean("layoutNotifictionListener") | layoutMBean.addNotificationListener(layoutNotifictionListener, null, null) | When I deploy this application on the cluster, notifications are not being received by other nodes in the cluster, i.e., just the node that generated the notification receives it I expected that the notification send by one of the nodes will be received by all other listeners in the cluster. What am I missing here? Thanks in advance ~~Himanshu Seth~~ http://www.IntelliGrape.com View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259649#4259649 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259649 From do-not-reply at jboss.com Fri Oct 9 09:51:22 2009 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 9 Oct 2009 09:51:22 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Jboss 4.2.3 GA upgrade Message-ID: <24022766.1255096282298.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "rasa" wrote : | Now i have changed my jar to application.ear | Why? :) "rasa" wrote : | Any idea ??? | | | We have been telling you that the real problem is in the code of the application that is deployed. The code is not following the spec. The WARN message tell you the exact issues with the app. The code needs to be fixed. anonymous wrote : But the same warning is there in 3.2.5 version of jboss Again, we have told you that earlier versions of JBoss were lenient if the application violated the spec. In AS-4.x you can workaround this by setting the "StrictVerifier" to false in JBOSS_HOME/server/< servername>/deploy/ejb-deployer.xml: | false | But again this is just a workaround and you never know if this will be supported in later versions. The best way is to fix the application. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259650#4259650 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259650 From do-not-reply at jboss.com Fri Oct 9 09:58:59 2009 From: do-not-reply at jboss.com (jjp) Date: Fri, 9 Oct 2009 09:58:59 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - QuerySyntaxException in HistoryService Message-ID: <18922289.1255096739957.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> === Environment ============================== - jBPM Version : 4.1 - Database : HSQLDB - JDK : 1.6 - Container : JBoss 4.2.3 === Process ================================== Start - Task - End === API =================================== HistoryProcessInstanceQuery historyProcessInstanceQuery= historyService.createHistoryProcessInstanceQuery(); | | historyProcessInstanceQuery.processInstanceId( myProcessInstanceId ); | | HistoryProcessInstance historyProcessInstance= historyProcessInstanceQuery.uniqueResult(); | | HistoryDetailQuery query= historyService.createHistoryDetailQuery(); | | query.activityInstanceId( historyProcessInstance.getProcessInstanceId() ); | query.orderDesc( "time" ); | | List list= query.list(); === Stacktrace ============================== org.hibernate.hql.ast.QuerySyntaxException: unexpected token: .1 near line 1, column 130 [select hd from org.jbpm.pvm.internal.history.model.HistoryDetailImpl as hd where hd.historyActivityInstance.dbid = StateWorkflow.1 ] | at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:54) | at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:47) | at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:82) | at org.hibernate.hql.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:281) | at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:180) | at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:134) | at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:101) | at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:80) | at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:94) | at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:156) | at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:135) | at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1650) | at org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:86) | at org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:81) | at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) | at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.executeInExistingTx(JtaTransactionInterceptor.java:65) | at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:51) | at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.executeWithoutRetry(JtaRetryInterceptor.java:56) | at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:48) | at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46) | at org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:62) | at org.jbpm.pvm.internal.query.HistoryDetailQueryImpl.list(HistoryDetailQueryImpl.java:89) | at com.feltengroup.session.WorkflowHandler.listComments(WorkflowHandler.java:299) | 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:597) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:22) | at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:32) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) | at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107) | at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185) | at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103) | at com.feltengroup.session.WorkflowHandler_$$_javassist_seam_17.listComments(WorkflowHandler_$$_javassist_seam_17.java) | 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:597) | at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:335) | at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:280) | at org.jboss.el.parser.AstMethodSuffix.getValue(AstMethodSuffix.java:59) | at org.jboss.el.parser.AstValue.getValue(AstValue.java:67) | at org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | at com.sun.facelets.tag.jstl.core.ForEachHandler.apply(ForEachHandler.java:121) | at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | at com.sun.facelets.tag.ui.DefineHandler.applyDefinition(DefineHandler.java:64) | at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:131) | at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:337) | at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:307) | at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68) | at com.sun.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:122) | at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:337) | at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:307) | at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68) | at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:119) | at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) | at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248) | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294) | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273) | at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140) | at com.sun.facelets.tag.ui.DecorateHandler.apply(DecorateHandler.java:105) | at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) | at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248) | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294) | at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273) | at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:140) | at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113) | at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) | at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) | at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95) | at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:524) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:567) | at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100) | at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109) | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) | at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) | at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | 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.LoggingFilter.doFilter(LoggingFilter.java:60) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:42) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.IdentityFilter.doFilter(IdentityFilter.java:40) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) | 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:182) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | 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:262) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | at java.lang.Thread.run(Thread.java:619) === Problem description ========================= It seems as if the HistoryDetailQuery.processInstanceId(java.lang.String processInstanceId) needs the database id instead of the ProcessInstance ID. With this code fragment it works: HistoryDetailQuery query= historyService.createHistoryDetailQuery(); | | long dbid= ((HistoryProcessInstanceImpl)historyProcessInstance).getDbid(); | | query.activityInstanceId( String.valueOf( String.valueOf( dbid ) ) ); | query.orderDesc( "time" ); | | List list= query.list(); | Regards, Joerg View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259652#4259652 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259652 From do-not-reply at jboss.com Fri Oct 9 10:25:45 2009 From: do-not-reply at jboss.com (praenti) Date: Fri, 9 Oct 2009 10:25:45 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <24216872.1255098345741.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok, I have some new errors using a servlet, but this is also not working. After I had a deeper look into the Web based authentication, I've seen that this is not usable for my usecase, because the service must be also usable over a Public-Key-Infrastructure. The Web based authentication does not support that. What I've seen the JAASLoginModule is called ervery time I access an EJB. The strange thing is that the login works, but on accessing an EJB I get an Invalid user error and a message "Bad password for username=null" from JAAS, so it looks that the JAAS module forgets my username and password I logged in before successfully. I suppose, this is the problem of the previous error. The question now is how I can solve that issue. This is the complete error until the call of the EJB method: | 16:12:42,099 INFO [SpiiderLoginModule] trying dn: uid=extern.michael.obster, ou=External,ou=People,ou=Access | 16:12:42,099 INFO [SpiiderLoginModule] Logging into LDAP server, env={java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, dsJndiName=cancardviewerDS, rolesQuery=SELECT u.userid, r."role" FROM "security".application_user u, "security".application_role r, "security".user_role ur WHERE u.userid = ? AND u.userid = ur.user_id AND ur.role_id = r."role", java.naming.security.principal=uid=extern.michael.obster, ou=External,ou=People,ou=Access, jboss.security.security_domain=cancardDomain, java.naming.provider.url=ldap://ldaphost, java.naming.security.authentication=simple, java.naming.security.credentials=***, principal.dn.groups=ou=Corporate,ou=People,ou=Access:ou=External,ou=People,ou=Access} | 16:12:42,130 INFO [SpiiderLoginModule] Logged into LDAP server, javax.naming.ldap.InitialLdapContext at 9e50cd | 16:12:42,130 INFO [SpiiderLoginModule] getRoleSets using rolesQuery: SELECT u.userid, r."role" FROM "security".application_user u, "security".application_role r, "security".user_role ur WHERE u.userid = ? AND u.userid = ur.user_id AND ur.role_id = r."role", gid: 12A44E672EA8C49B | 16:12:42,146 INFO [LoginServlet] User extern.michael.obster: login successfull! | | 16:12:42,146 DEBUG [LoginServlet] init JAASInterceptor: loginDomain:cancardDomain clientLoginDomain:client-login | 16:12:42,193 INFO [SpiiderLoginModule] LdapLoginModule, dsJndiName=cancardviewerDS | 16:12:42,193 INFO [SpiiderLoginModule] rolesQuery=SELECT u.userid, r."role" FROM "security".application_user u, "security".application_role r, "security".user_role ur WHERE u.userid = ? AND u.userid = ur.user_id AND ur.role_id = r."role" | 16:12:42,193 INFO [SpiiderLoginModule] defaultRole=RegularUser | 16:12:42,193 DEBUG [SpiiderLoginModule] Bad password for username=null | 16:12:42,193 ERROR [[LoginServlet]] Servlet.service() for servlet LoginServlet threw exception | javax.ejb.EJBAccessException: Invalid User | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3Au | thenticationInterceptorv2.java:165) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterce | ptor.java:41) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContaine | rShutdownInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invo | ke(CurrentInvocationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessCo | ntainer.java:421) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterce | ptor.java:85) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor. | java:72) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62) | at $Proxy488.invoke(Unknown Source) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandl | erBase.invoke(SessionProxyInvocationHandlerBase.java:207) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandl | erBase.invoke(SessionProxyInvocationHandlerBase.java:164) | at $Proxy561.updateUser(Unknown Source) | And the class LoginServlet.java: | package vwg.audi.cancard.webservlet; | | import java.io.IOException; | | import javax.ejb.EJBAccessException; | import javax.servlet.ServletException; | import javax.servlet.http.HttpServlet; | import javax.servlet.http.HttpServletRequest; | import javax.servlet.http.HttpServletResponse; | | import org.apache.log4j.Logger; | import org.jboss.web.tomcat.security.login.WebAuthentication; | | import com.arjuna.ats.arjuna.recovery.Service; | | public class LoginServlet extends HttpServlet | { | private Logger log = Logger.getLogger(LoginServlet.class); | | /** | * | */ | private static final long serialVersionUID = -5539909157863711284L; | | /** | * Process the HTTP Get request | */ | public void doGet(HttpServletRequest request, HttpServletResponse response) | throws ServletException, IOException | { | serveRequest(request, response); | } | | /** | * Process the HTTP Post request | */ | public void doPost(HttpServletRequest request, HttpServletResponse response) | throws ServletException, IOException | { | serveRequest(request, response); | } // doPost | | /** | * In dieser Methode findet die eigentliche Verarbeitung des | * HTTPServletRequests statt. Sie wird von den beiden public Methoden doPost | * und doGet aufgerufen. | */ | public void serveRequest(HttpServletRequest request, | HttpServletResponse response) throws ServletException, IOException | { | String username = "extern.michael.obster"; | String pass = "mypassword"; | // login first | try { | login(username, pass); | } | catch (Exception e) { | log.error("Fehler:", e); | } | | String loginDomain = "cancardDomain"; | String clientLoginDomain = "client-login"; | if (log.isDebugEnabled()) { | log.debug("init JAASInterceptor: loginDomain:" + loginDomain + " clientLoginDomain:" + clientLoginDomain); | } | | // lets try to access ejb3 | try { | ServiceLocator.getInstance().getUserService().updateUser(); | } | catch (ServiceLocatorException e) { | log.error("ServiceLocator error:", e); | } | } | | /** | * Helper method for logging in | * @param username | * @param strPassword | * @return | * @throws Exception | */ | private String login(String username, String strPassword) throws Exception { | String loginDomain = "cancardDomain"; | String clientLoginDomain = "client-login"; | | log.debug("LoginAction: loginDomain:" + loginDomain + " clientLoginDomain:" + clientLoginDomain); | try { | LoginFacade loginFacade = new LoginFacade(loginDomain, clientLoginDomain); | loginFacade.login(username, strPassword); | } catch (JAASLoginException jaasEx) { | log.info("User " + username + ": login NOT successfull! " + jaasEx.getErrorKey(), jaasEx); | return jaasEx.getErrorKey(); | } catch (EJBAccessException ejbEx) { | //No permission for application | log.warn(ejbEx); | Exception ex = ejbEx.getCausedByException(); | log.info("User " + username + ": login NOT successfull! " + ejbEx.getMessage(), ejbEx); | | if (ex instanceof SecurityException) { | return JAASConstants.NO_RIGHTS; | } else { | return JAASConstants.USER_NOT_AUTHENTICATED; | } | } | catch (Exception ex) { | log.info("User " + username + ": login NOT successfull! " + ex.getMessage(), ex); | throw ex; | // return JAASConstants.NO_RIGHTS; | } | log.info("User " + username + ": login successfull!"); | return JAASConstants.USER_IS_VALID; | } | | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259657#4259657 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259657 From do-not-reply at jboss.com Fri Oct 9 10:39:04 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Fri, 9 Oct 2009 10:39:04 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Buddy replication - initial state transfer after node restar Message-ID: <9811456.1255099144046.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We are seeing an issue that I'd like to confirm with others before I write it up as a jira issue. JBoss 5.1.0. JBoss Cache 3.2.1 Buddy Replication (two nodes, separate machines) We're currently using Total Replication for HTTP Session replication but we're increasing our node count (to three for now) and we'd like to change from total, to buddy replication. After a significant amount of testing, buddy replication works very well, except in one case for us. The problem: Two servers, A and B. - Start server A - Log into web app, creating an HTTP Session, S1, on server A - Start server B. When B starts (this first time), the session S1 is perfectly replicated from A to B into B's "_BUDDY_BACKUP_" for server A - Now restart server B, upon starting the second time, the session S1 from server A is only partially replicated to the "_BUDDY_BACKUP_" tree on server B. In particular it appears that (at least) the "DistributableSessionMetadata" was not replicated (should have a key of "2" in the replicated cache entry) - Shut down server A, when the user hits server B, JBoss will try to unserialize and use S1, however it will fail because some data is not present in S1, such as the session metadata. Example session S1 that successfully replicated after the initial startup of server B --- Cache1 --- | / {} | /_BUDDY_BACKUP_ {} | /192.168.71.60_7600 {} | /JSESSION {} | /ROOT_localhost {} | /TYqa9j30si-QlGaVL9OVvQ__ {0=16, 1=1255098672537, org.jboss.seam.security.rememberMe=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw=nullserialized=true}, 2=org.jboss.web.tomcat.service.session.distributedcache.spi.DistributableSessionMetadata at c1e908b, org.jboss.seam.CONVERSATION#1$org.jboss.seam.persistence.persistenceContexts=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw=nullserialized=true}, org.jboss.seam.core.conversationEntries=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw=nullserialized=true}, org.jboss.seam.international.localeSelector=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw=nullserialized=true}, org.jboss.seam.CONVERSATION#1$org.jboss.seam.core.conversation=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw=nullserialized=true}, org.jboss.seam.CONVERSATION#1$org.jboss.seam.international.statusMessages=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw=nullserialized=true}, org.jboss.seam.security.identity=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw=nullserialized=true}, javax.faces.request.charset=UTF-8, org.jboss.seam.CONVERSATION#1$org.jboss.seam.faces.redirect=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw=nullserialized=true}, org.jboss.seam.security.credentials=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw=nullserialized=true}, pier=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw=nullserialized=true}, org.jboss.seam.web.session=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw=nullserialized=true}} | ------------ | Example session S1 that failed to replicate fully to B after restart (notice the missing "2=..." among many other things) --- Cache1 --- | / {} | /_BUDDY_BACKUP_ {} | /192.168.71.60_7600 {} | /JSESSION {} | /ROOT_localhost {} | /TYqa9j30si-QlGaVL9OVvQ__ {0=153, 1=1255097288878, foo=org.jboss.ha.framework.server.SimpleCachableMarshalledValue{raw=nullserialized=true}} | ------------ What appears to be happening is that during the initial startup of the secondary server, server A properly calls the "AssignToBuddyGroupCommand" on server B, passing the initial state. However on subsequent restarts of server B, that command is never executed from server A. I believe the problem is that server A fails to recognize the server B was shutdown, and the BuddyManager never removes him as a buddy (at least not in the timespan of server B restarting). When I look at the BuddyManager on server A in the jmx-console, I can see that his buddy group is never updated when server B restarts. I believe the data that does make it to B after a restart is just from the standard "replicate commands" that occur when something changes in the session S1 on server A. For example, if server B was restarted at 6:50am, server A's buddy information in JMX looks like this (last updated 6:40am, which implies he never processed B leaving) BuddyGroup: (dataOwner: 192.168.71.60:7600, groupName: 192.168.71.60_7600, buddies: [192.168.71.62:7600],lastModified: Fri Oct 09 06:40:27 PDT 2009) In conjunction with that, in the log output from server A, I see this when server B is restarting: 2009-10-09 06:50:52,477 DEBUG [org.jboss.cache.buddyreplication.BuddyManager] Nothing has changed; new buddy list is identical to the old one. | Here are my relevant configurations (let me know if I missed sections): jboss-web.xml | | SET_AND_NON_PRIMITIVE_GET | ATTRIBUTE | | | | | org.jboss.cache.transaction.BatchModeTransactionManagerLookup | | | ${jboss.partition.name:DefaultPartition}-SessionCache | | ${jboss.default.jgroups.stack:tcp} | true | | PESSIMISTIC | REPEATABLE_READ | false | REPL_ASYNC | | | 17500 | | 15000 | | 60000 | | | false | | false | | | 0 | | 0 | | true | | | | | | true | | | default | | 17500 | | | false | true | true | | | | | 1 | | true | | | | | | | | true | false | | | | | | ${jboss.server.data.dir}${/}session | | false | true | true | false | false | | | | | | I have tried UDP / TCP, passivation / no passivation, and confirmed that things again work fine when using "total", not "buddy" replication. Has anyone else seen this? Let me know if more information is needed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259659#4259659 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259659 From do-not-reply at jboss.com Fri Oct 9 10:50:20 2009 From: do-not-reply at jboss.com (pushpak1981) Date: Fri, 9 Oct 2009 10:50:20 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - EJB client cannot Load Remote EJB Message-ID: <3811355.1255099820955.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, We have deployed stateless EJB3 in JBoss 5.0 AS. We have written an Junit class which Does an JNDI Lookup for the EJB. But it is not able to load the remote EJB Object. We are getting following Error. java.lang.NullPointerException at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:444) at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:56) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908) at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:742) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:695) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:522) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163) at org.jboss.remoting.Client.invoke(Client.java:1634) at org.jboss.remoting.Client.invoke(Client.java:548) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:61) at $Proxy3.invoke(Unknown Source) at org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase.invoke(ProxyInvocationHandlerBase.java:261) at org.jboss.ejb3.proxy.handler.session.SessionSpecProxyInvocationHandlerBase.invoke(SessionSpecProxyInvocationHandlerBase.java:101) at $Proxy2.addTransaction(Unknown Source) Any help would be highly appreciated. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259661#4259661 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259661 From do-not-reply at jboss.com Fri Oct 9 10:54:47 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Fri, 9 Oct 2009 10:54:47 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - HTTP Session passivation during server restart? Message-ID: <26785210.1255100087505.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'd like to enable HTTP Session passivation so that all active sessions are passivated to disk during a graceful server restart. I'd like users to stay logged in through a server restart (single server). This is especially helpful in a development environment. JBoss 5.1.0 JBoss Cache 3.2.1 I've read the following and have followed the instructions: http://www.jboss.org/community/wiki/HttpSessionPassivationDesign http://www.jboss.org/community/wiki/DistributableHttpSessionPassivation Session passivation works in the sense that when my specified time limits are hit, sessions are written to disk. However when I gracefully shut down the server, all passivated sessions are deleted from disk. In the section describing passivation being triggered by a server shutdown it says: anonymous wrote : If the session is valid, then it's passivated to allow for reconstruction of the session This implies either that my sessions are being considered invalid, a configuration issue, or possibly a bug. My HTTP session timeout is 20 minutes, so I should be fine in that regard. Relevant configuration: >From jboss-web.xml | true | -1 | 300 | >From the http session cache section of jboss-cache-manager-jboss-beans: | | | true | false | | | | | | ${jboss.server.data.dir}${/}session2 | | false | true | true | false | false | | | | | | Is there a trick to getting this going? This should be possible correct? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259662#4259662 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259662 From do-not-reply at jboss.com Fri Oct 9 11:00:43 2009 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 9 Oct 2009 11:00:43 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: EJB client cannot Load Remote EJB Message-ID: <27174303.1255100443808.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Which exact version of JBoss AS5? And please post the relevant code of the bean and the client lookup. While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259663#4259663 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259663 From do-not-reply at jboss.com Fri Oct 9 11:04:39 2009 From: do-not-reply at jboss.com (JPAV) Date: Fri, 9 Oct 2009 11:04:39 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Generating DDL from annotated POJOs Message-ID: <27483307.1255100679046.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Geez! I can't believe that was it! A simple transposition of "sqlserver" and "jdbc". I had it correct in the DTP configuration and the properties file, but not the data source file (or vice-versa, I don't remember now). Thanks, Max. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259664#4259664 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259664 From do-not-reply at jboss.com Fri Oct 9 11:44:16 2009 From: do-not-reply at jboss.com (dustin.a.parker) Date: Fri, 9 Oct 2009 11:44:16 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Starting error.. Message-ID: <28783632.1255103056252.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Port 1099 may be troublesome on Windows as it is in Windows' ephemeral port range. This KB article may help you reserve it: http://support.microsoft.com/kb/812873/ Here are the "usual suspects" and their locations: http://www.jboss.org/community/wiki/UsingJBossBehindAFirewall And here's how you can change all the ports in one fell swoop: http://www.jboss.org/community/wiki/ServiceBindingManager View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259668#4259668 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259668 From do-not-reply at jboss.com Fri Oct 9 11:54:42 2009 From: do-not-reply at jboss.com (himanshuIg) Date: Fri, 9 Oct 2009 11:54:42 -0400 (EDT) Subject: [jboss-user] [Clustering] - JMX Notifications on Cluster Message-ID: <31791256.1255103682356.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, In order to send JMX notifications to all nodes across a cluster(JBoss 4.2.3), does the application needs to be deployed as an EAR. Won't this work with a simple web-application? Thanks ~~Himanshu Seth~~ http://www.IntelliGrape.com View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259669#4259669 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259669 From do-not-reply at jboss.com Fri Oct 9 12:09:31 2009 From: do-not-reply at jboss.com (lpmon) Date: Fri, 9 Oct 2009 12:09:31 -0400 (EDT) Subject: [jboss-user] [Persistence] - AS 5.1 - ResultSet closed, worked fine in 4.0.5 Message-ID: <3945328.1255104571462.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have a session been that takes an SQL select query string (not EJBQL), runs the query and returns the resultset. This worked fine in 4.0.5. In 5.1.0 the resultset is open inside the session bean method but when trying to access the result set (rs.next()) in the method that called the session bean an exception is thrown saying the result set is closed. Something in either the AS or Hibernate must have changed for 5.x . ?????? More info: The session bean looks up a non-transactional JDBC datasource (regular pooled connection), creates a connection, creates a statement and executes that statement. Again, exact same code works just fine in 4.0.5. There is no problem accessing the resultset inside the session bean it is only when you return the resultset and try to access it in the caller of the session bean that the problem occurs. Is this a bug or have the rules changed? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259672#4259672 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259672 From do-not-reply at jboss.com Fri Oct 9 12:35:48 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 9 Oct 2009 12:35:48 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Weird schema generation in 3.3.1.GA version Message-ID: <28858319.1255106148584.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> how? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259678#4259678 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259678 From do-not-reply at jboss.com Fri Oct 9 12:37:40 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 9 Oct 2009 12:37:40 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Weird schema generation in 3.3.1.GA version Message-ID: <3066784.1255106260047.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> oh, and I would NOT upgrade from 3.2.x to 3.3.1 since the 3.3 branche has been abandoned. 3.2.x is the branche to follow.... many fixes for the 3.2.x branche in SVN, but NONE for 3.3!!!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259679#4259679 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259679 From do-not-reply at jboss.com Fri Oct 9 12:39:24 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 9 Oct 2009 12:39:24 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Process archive classes:ClassNotFoundException Message-ID: <19316776.1255106364434.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> yes there is, by just deploying it in an ejb-jar.... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259680#4259680 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259680 From do-not-reply at jboss.com Fri Oct 9 12:47:17 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 9 Oct 2009 12:47:17 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Synchronous process execution Message-ID: <19706274.1255106837294.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You explained very well, and I fully understood. That cannot be done blocking... for the very simple reason that you'd need way to many (java) threads etc. Callback can be done very easily by eventhandlers on the end node and notify the 'caller'. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259681#4259681 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259681 From do-not-reply at jboss.com Fri Oct 9 12:47:59 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 9 Oct 2009 12:47:59 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Synchronous process execution Message-ID: <11292356.1255106879714.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Oh.. and the only way to achieve real waiting is what I described in my previous post (STP) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259682#4259682 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259682 From do-not-reply at jboss.com Fri Oct 9 12:49:20 2009 From: do-not-reply at jboss.com (gfargone) Date: Fri, 9 Oct 2009 12:49:20 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Message-ID: <788290.1255106960105.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "Krohm" wrote : Ok. | | Is there a way to "capture" the initiator in JBPM4 ? | | I mean getting the Id of the user that initiated the process. | | It is not something unusual that this user has a separate swimlane. I just store it in the process context. I have a web form that gathers information, creates the a process instance, and stores a couple of other things in the context as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259683#4259683 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259683 From do-not-reply at jboss.com Fri Oct 9 12:58:07 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 9 Oct 2009 12:58:07 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: QuerySyntaxException in HistoryService Message-ID: <19113333.1255107487772.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In the text you talk about processInstanceId and in the code it is a taskInstanceId, But besides that if this really is the case, file a jira issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259684#4259684 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259684 From do-not-reply at jboss.com Fri Oct 9 12:59:20 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 9 Oct 2009 12:59:20 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Message-ID: <33298040.1255107560511.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> That is indeed an option. You can also set the actor of the swimlane of that specific task. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259685#4259685 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259685 From do-not-reply at jboss.com Fri Oct 9 13:01:44 2009 From: do-not-reply at jboss.com (wayne.earnshaw) Date: Fri, 9 Oct 2009 13:01:44 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Pb start jboss in windows service mode Message-ID: <29263428.1255107704929.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Definitely a JBoss 5.1 "feature". For me it was a PermGen memory that only occurred at runtime after a few days in our Test environment which was perplexing! Thanks for the help and I too just saw a JIRA https://jira.jboss.org/jira/browse/JBAS-7290 on this. I commented the JAVA_OPTS in run.bat.conf leaving service.bat alone... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259687#4259687 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259687 From do-not-reply at jboss.com Fri Oct 9 13:17:30 2009 From: do-not-reply at jboss.com (bwalker55) Date: Fri, 9 Oct 2009 13:17:30 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - 'table does not exist' error after changing default databse Message-ID: <4735107.1255108650476.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I've changed the default database (DefaultDS) to Oracle as per instructions elsewhere. jBoss comes up and works. Tables, with what look like sample entries, are created in Oracle. However, the startup logs show an error attempting to access (25 times) a table that does not exist. Any ideas? Thanks, Bob ------------- 09:49:48,870 WARN [JDBCSupport] SQLException caught, SQLState 42000 code:942- assuming deadlock detected, try:25 java.sql.SQLException: ORA-00942: table or view does not exist at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305) at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272) at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:626) at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:182) at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPreparedStatement.java:500) at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleStatement.java:942) at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPreparedStatement.java:532) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1037) at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2905) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:2946) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:342) at org.jboss.messaging.core.impl.JDBCPersistenceManager$1ReserveIDBlockRunner.doTransaction(JDBCPersistenceManager.java:407) ...snipped for brevity... at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) at org.jboss.Main.boot(Main.java:221) at org.jboss.Main$1.run(Main.java:556) at java.lang.Thread.run(Thread.java:619) 09:49:48,872 ERROR [JDBCSupport] Retried 25 times, now giving up 09:49:48,875 ERROR [ExceptionUtil] ServerPeer[0] startService java.lang.IllegalStateException: Failed to execute transaction at org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner2.executeWithRetry(JDBCSupport.java:544) at org.jboss.messaging.core.impl.JDBCPersistenceManager.reserveIDBlock(JDBCPersistenceManager.java:477) at org.jboss.messaging.core.impl.IDManager.getNextBigBlock(IDManager.java:87) at org.jboss.messaging.core.impl.IDManager.start(IDManager.java:74) at org.jboss.jms.server.ServerPeer.startService(ServerPeer.java:310) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259690#4259690 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259690 From do-not-reply at jboss.com Fri Oct 9 14:08:22 2009 From: do-not-reply at jboss.com (javaspack) Date: Fri, 9 Oct 2009 14:08:22 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: SSO / LDAP Integration Message-ID: <6879895.1255111702718.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Update: I have a working solution. I will try and give some details about what I've found in case it can help somebody else. First, let me state where I am coming from. When I think of a Portal, I think of something that is a self contained resource. If it needs LDAP, it can use it, but doesn't need it. But for convenience of keeping users and rights in a central location, it should be able to use LDAP. And mostly as a read-only resource. Based on that, I wanted to keep the Portal DB configuration and just go to the AD server to get additional user info. Therefore, I thought I could use the regular identity-config.xml and just modify the profile-config.xml to add properties with LDAP mappings. I figured this would work because the docs say that anything that has an LDAP mapping will be delegated to LDAP first. And it looks like it would have worked except for the fact that it has been specifically excluded in the code. In the DelegatingUserProfileModule the code is this: if (property.isMappedLDAP() && isLDAPSupported() && user instanceof LDAPUserImpl) { log.debug("Delegating to LDAP module"); getLDAPModule().setProperty(user, name, propertyValue); return; } else if (property.isMappedDB()) { log.debug("Delegating to DB module"); getDBModule().setProperty(user, name, propertyValue); fireUserProfileChangedEvent(user.getId(), user.getUserName(), name, propertyValue); return; } So, because I have used the regular DB configuration, my user will not be an instance of LDAPUserImpl, so the code WON'T EVEN TRY to get the data from LDAP. In order to get make my user an instance of LDAPUserImpl, I need to change the type in identity-config.xml so that User has an implementation type of LDAP. Therefore, I decided to start over using the ldap_identity-config.xml (which I probably didn't need to), but it has the sections for and / that will need to be configured already in it. However, leaving the Roles and Membership modules set to LDAP was a big mistake because of the way Portal hard codes the Admin/User roles. That was a nightmare. But I didn't want to run into more cases where the code specifically excluded what I was trying to do. After changing the Roles and Membership modules back to DB, I was able to manipulate my LoginModule to get the proper role mappings done. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259696#4259696 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259696 From do-not-reply at jboss.com Fri Oct 9 14:15:02 2009 From: do-not-reply at jboss.com (iamowen) Date: Fri, 9 Oct 2009 14:15:02 -0400 (EDT) Subject: [jboss-user] [Datasource Configuration] - problem in referencing datasource in context.xml Message-ID: <28260255.1255112102461.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, when i try to access datasource in datasource realm from context.xml. I got the datasource name not bound error. For example, in context.xml under WEB-INF, I have myDS is the datasource defined in *-ds.xml file in Jboss deployment folder. My question is, what value I should use for dataSourceName? I tried "java:/comp/env/myDS", "java:comp/env/defaultDS", "java:myDS". None of them are working. Plz help thank you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259697#4259697 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259697 From do-not-reply at jboss.com Fri Oct 9 14:16:32 2009 From: do-not-reply at jboss.com (iamowen) Date: Fri, 9 Oct 2009 14:16:32 -0400 (EDT) Subject: [jboss-user] [Datasource Configuration] - problem in referencing datasource in context.xml Message-ID: <11382986.1255112192673.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, when i try to access datasource in datasource realm from context.xml. I got the datasource name not bound error. For example, in context.xml under WEB-INF, I have myDS is the datasource defined in *-ds.xml file in Jboss deployment folder. My question is, what value I should use for dataSourceName? I tried "java:/comp/env/myDS", "java:comp/env/defaultDS", "java:myDS". None of them are working. Plz help thank you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259698#4259698 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259698 From do-not-reply at jboss.com Fri Oct 9 14:23:36 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 9 Oct 2009 14:23:36 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft Message-ID: <26750852.1255112616742.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> use code tags (see preview button) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259700#4259700 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259700 From do-not-reply at jboss.com Fri Oct 9 15:05:18 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 9 Oct 2009 15:05:18 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe Message-ID: <8158369.1255115118798.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Do you have a unittest? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259705#4259705 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259705 From do-not-reply at jboss.com Fri Oct 9 15:57:19 2009 From: do-not-reply at jboss.com (charlesbihis) Date: Fri, 9 Oct 2009 15:57:19 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: how to change the root url of jboss Message-ID: <11469164.1255118239869.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Peter Yes, the base URL www.example.com will be handled by Apache. So, the gist of it is that I would like www.example.com and all other URLs to be handled by Apache, serving up PHP pages...EXCEPT, anything that goes to www.example.com/servlet/* which I would like to configure to be handled by JBoss to serve up JSP pages and servlet applications. Now, I've been able to do all (err, most) of this...have Apache handle all requests to the base URL and all others, and using mod_jk, I've enabled a filter that forwards all requests to www.example.com/servlet/* to go to JBoss. The only problem is that when the request goes to JBoss, JBoss looks for an application or page in the /servlet/ context, which has nothing there, so it gives me a "Resource not found" error. So, in short, I've reduced the problem to just being able to change the root URL of JBoss from www.example.com to www.example.com/servlet, the idea being that if I can get the welcome page to display there, then I can deploy applications as normal, but access them with the URL www.example.com/servlet/appName instead of www.example.com/appName. Like I said, I *could* go in and change the context root of each individual application that I want to deploy to explicitly include /servlet/ before the app-name, but that seems to me less than ideal, not to mention that I'd have to open up each previously written app, hardcode a context URL specific for deployment on this instance of JBoss, recompile, and redeploy. Anyways, I was trying to keep the problem as simple as possible just for posting's sake, but I guess it was necessary to dive right in. If anyone can help, that'd be great. Thanks again! Charles View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259710#4259710 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259710 From do-not-reply at jboss.com Fri Oct 9 17:09:25 2009 From: do-not-reply at jboss.com (henk53) Date: Fri, 9 Oct 2009 17:09:25 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Message-ID: <11845879.1255122565483.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "mwx.dennis" wrote : Hi Georg, | | Thank you very much for this tip. This seems to be exactly what I'm looking for! | Is this supported in JBoss AS 5.1.0? If not, when will it be available? | The Singleton beans G_Thimm refers to are not yet supported in JBoss AS 5.1, but I think they will be supported in JBoss AS 5.2, which will hopefully be released next week (beta 1). However, JBoss AS 5.1 does support something like this via the @Service annotation. See http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/Service_POJOs.html for details. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259717#4259717 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259717 From do-not-reply at jboss.com Fri Oct 9 17:57:06 2009 From: do-not-reply at jboss.com (lpmon) Date: Fri, 9 Oct 2009 17:57:06 -0400 (EDT) Subject: [jboss-user] [Persistence] - Re: AS 5.1 - ResultSet closed, worked fine in 4.0.5 Message-ID: <26654606.1255125426587.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> This is crazy. We moved the code outside of the session bean and all works just fine. Is there a rule that says: If you create a ResultSet inside a session bean that you cannot return to a non-session bean caller? If someone answers this question 'yes' then: How is it that I have been doing this exact thing for a long time with no problems. The problem only surfaced when I moved from 4.0.5 to 5.1.0. ?????? Restating: this is not an EJB3 resultset, just a simple JDBC Resultset. All indications are that when the session bean method exits something is closing the ResultSet. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259718#4259718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259718 From do-not-reply at jboss.com Fri Oct 9 19:30:03 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 9 Oct 2009 19:30:03 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Unit test succeeds but process does not properly run whe Message-ID: <24986306.1255131003939.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Process definition and unit test are in the first post but I just encounter the problem as soon as the process is deployed on the server. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259721#4259721 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259721 From do-not-reply at jboss.com Fri Oct 9 20:46:19 2009 From: do-not-reply at jboss.com (dego64) Date: Fri, 9 Oct 2009 20:46:19 -0400 (EDT) Subject: [jboss-user] [Security] - Re: IllegalStateException: Authorization Manager is null wit Message-ID: <22010471.1255135579670.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Well, I'm possibly missing some obvious configuration. Or maybe do I use some incompatible jars (JDK 1.6 / JBoss AS 5.1 / facelets 1.1.15) ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259723#4259723 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259723 From do-not-reply at jboss.com Sat Oct 10 00:09:38 2009 From: do-not-reply at jboss.com (ron.sigal@jboss.com) Date: Sat, 10 Oct 2009 00:09:38 -0400 (EDT) Subject: [jboss-user] [JBoss Remoting Users] - Re: Set the 'timeout' parameter at the client side for an EJ Message-ID: <4576438.1255147778435.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ah, I see. Well, Remoting has a facility for setting the timeout for each invocation, but there's no way to access it from the EJB layer. I'm not even sure what that would look like. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259726#4259726 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259726 From do-not-reply at jboss.com Sat Oct 10 02:36:14 2009 From: do-not-reply at jboss.com (pushpak1981) Date: Sat, 10 Oct 2009 02:36:14 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: EJB client cannot Load Remote EJB Message-ID: <9279579.1255156574218.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> For Doing an Lookup we are using the following code: Properties p = new Properties(); p.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory"); p.put("java.naming.provider.url","jnp://localhost:1099/"); p.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces"); InitialContext ctx = new InitialContext(p); IAbc ref = (IAbc)ctx.lookup("TransactionBean/remote"); ref.addTransaction(persistenceObject); We are doing an persistence into Database using JPA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259727#4259727 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259727 From do-not-reply at jboss.com Sat Oct 10 06:37:32 2009 From: do-not-reply at jboss.com (praveen potluri) Date: Sat, 10 Oct 2009 06:37:32 -0400 (EDT) Subject: [jboss-user] [Security] - To display change password screen in jaas-jboss scenario Message-ID: <13020726.1255171052714.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am implementing jaas with jboss app server. But the problem we are facing is we have to redirect user to change password screen if his password is going to expire in couple of days. Is it possible with jaas? will jboss login modules throw any exception to deal? does jboss app server can listen and act on thoose ? give any suggestions to tackle View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259734#4259734 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259734 From do-not-reply at jboss.com Sat Oct 10 08:52:15 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Sat, 10 Oct 2009 08:52:15 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls Message-ID: <22940220.1255179135530.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> *ping kukeltje* View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259736#4259736 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259736 From do-not-reply at jboss.com Sat Oct 10 10:14:46 2009 From: do-not-reply at jboss.com (kukeltje) Date: Sat, 10 Oct 2009 10:14:46 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls Message-ID: <8556567.1255184086633.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : *ping kukeltje* 64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=1 ttl=116 time=1h20m10s 64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=2 ttl=116 time=1h20m11s 64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=3 ttl=116 time=1h20m12s 64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=4 ttl=116 time=1h20m13s 64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=5 ttl=116 time=1h20m14s 64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=6 ttl=116 time=1h20m15s 64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=7 ttl=116 time=1h20m16s 64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=8 ttl=116 time=1h20m17s 64 bytes from kukeltje.lombox.customer.bit.nl (87.251.48.65): icmp_seq=9 ttl=116 time=1h20m18s "sebastian.s" wrote : | I was reading the section about java activities and process variables in the userguide and wondering about some things. | | In a java or a custom activity I could use | Object getVariable(String key); | to retrieve the values of process variables and then I could go use them as arguments for method calls. | First of all I'm not sure you can get to the executioncontext in the java task. You can in the custom tastk/node "sebastian.s" wrote : | But that means that if I changed the names of the process variables I would need to change the implementation of the java or custom activity, too. So wouldn't it be more convient to be able to specifiy process variables in the process definition which would be passed as arguments? So in case the process variable names changed just the process definition would need need changes but the java class wouldn't need to be touched? | | I was also wondering why you can specify the method name for a java activity in the GPD but not the number of arguments. | | For the java task you can pass arguments and use expressions for the value of the arguments. These can afaik be process variable names as well, so that solves one problem. The varying number of arguments is afaik dealt with by jBPM since it uses reflection to find the correct method signature. Not 100% completely sure though. What you can also to in the java task is set member fields, put a list, xml document or whatever in there from the processdefinition and parse/use that in your java class. It's kind of what you mentioned in the dev forum when we talked about schema extensions. http://docs.jboss.com/jbpm/v4/userguide/html_single/#java I was under the impression that something like the field thing for java tasks was possible as well for custom nodes, but that might be something left in my brain from jBPM 3 (or it might just be wishful thinking) as I do not seem to be able to find anything. "sebastian.s" wrote : | | If I got it wrong I'd be happy for some clarifying words. If not this seems to turn out to be a discussion for the dev forum, right? | Regarding passing params to the custom node, yes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259739#4259739 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259739 From do-not-reply at jboss.com Sat Oct 10 16:29:13 2009 From: do-not-reply at jboss.com (michaelcc) Date: Sat, 10 Oct 2009 16:29:13 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - BIRT Integration dependencies conflict Message-ID: <20249934.1255206553348.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Trying to install jboss tools for the first time. I wanted to install the whole deal, but there is a conflict with the current BIRT 2.5 from their update site and dev/ JBoss 3.1. I rolled back and reinstalled both birt then jboss. It didnt work. I just uncheck the installation of JBoss BIRT integration for the time being. here is the error below. didnt know where to post the bug. Michael Cannot complete the install because of a conflicting dependency. Software being installed: JBoss BIRT Integration 1.1.0.v200909110340M-H277-M3 (org.jboss.tools.birt.feature.feature.group 1.1.0.v200909110340M-H277-M3) Software currently installed: Eclipse BIRT Web Tools Project 2.5.1.v20090629-3407w311A1917 (org.eclipse.birt.integration.wtp.feature.group 2.5.1.v20090629-3407w311A1917) Only one of the following can be installed at once: BIRT WTP Integration Plug-in 2.5.0.v20090514 (org.eclipse.birt.integration.wtp.ui 2.5.0.v20090514) BIRT WTP Integration Plug-in 2.5.1.v20090806 (org.eclipse.birt.integration.wtp.ui 2.5.1.v20090806) Cannot satisfy dependency: From: Eclipse BIRT Web Tools Project 2.5.1.v20090629-3407w311A1917 (org.eclipse.birt.integration.wtp.feature.group 2.5.1.v20090629-3407w311A1917) To: org.eclipse.birt.integration.wtp.ui [2.5.1.v20090806] Cannot satisfy dependency: From: JBoss BIRT Integration 1.1.0.v200909110340M-H277-M3 (org.jboss.tools.birt.feature.feature.group 1.1.0.v200909110340M-H277-M3) To: org.eclipse.birt.integration.wtp.ui [2.5.0.v20090514] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259745#4259745 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259745 From do-not-reply at jboss.com Sun Oct 11 12:33:46 2009 From: do-not-reply at jboss.com (rodedh) Date: Sun, 11 Oct 2009 12:33:46 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: PHP on Jboss AS 5 Message-ID: <13634841.1255278826495.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Peter , Thanks(!) for your response. I managed to enable php-examples application. The link I followed and worked for me is: [url]http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4146675#4146675 [/url] Thanks, Rod View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259759#4259759 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259759 From do-not-reply at jboss.com Sun Oct 11 12:44:43 2009 From: do-not-reply at jboss.com (h2kinfosys) Date: Sun, 11 Oct 2009 12:44:43 -0400 (EDT) Subject: [jboss-user] [Clustering] - ERROR [org.jgroups.blocks.ConnectionTable] failed sending da Message-ID: <18090839.1255279483835.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello friends, I am using JBoss5.1.0 GA on RHEL 5 ( Linux) and we have two physical boxes on Cluster. I see several time below error. ====================== server.log.2009-09-30:2009-09-30 21:01:26,758 ERROR [org.jgroups.blocks.ConnectionTable] failed sending data to 98.104.19.12:7900: java.net.SocketException: Socket closed ====================== Any suggestions on how to avoid / fix this error. Thank you, Narasimha View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259761#4259761 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259761 From do-not-reply at jboss.com Sun Oct 11 12:47:47 2009 From: do-not-reply at jboss.com (jeronimo) Date: Sun, 11 Oct 2009 12:47:47 -0400 (EDT) Subject: [jboss-user] [Clustering] - Issue Clustering JBoss 5 over two computer Message-ID: <12398263.1255279667014.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, during developmente I have trying cluster on the same same machine and all works fine. Now I need to try it on two different computer. I have a OSx and a Xubuntu notebook to do this test. I start the instance with: ./run.sh -c node1 -g DocsPartition -b 0.0.0.0 -Djboss.messaging.ServerPeerID=1 -Djboss.default.jgroups.stack=tcp -Djgroups.tcpping.initial_hosts=192.168.1.151:7600,192.168.1.152:7600 and ./run.sh -c node2 -g DocsPartition -b 0.0.0.0 -Djboss.messaging.ServerPeerID=2 -Djboss.default.jgroups.stack=tcp -Djgroups.tcpping.initial_hosts=192.168.1.151:7600,192.168.1.152:7600 The ips of my cluster are: 192.168.1.151 and 192.168.1.152. The instances starts, but the session replication doesn't works. In the first node I see this log: INFO [RPCManagerImpl] Received new cluster view: [192.168.1.151:7600|0] [192.168.1.151:7600] While in second node: INFO [RPCManagerImpl] Received new cluster view: [127.0.1.1:7600|0] [127.0.1.1:7600] That's all folks. Someone can help me? Contact me If you need more information thanks in advantage, Davide View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259762#4259762 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259762 From do-not-reply at jboss.com Sun Oct 11 15:51:55 2009 From: do-not-reply at jboss.com (davewebb) Date: Sun, 11 Oct 2009 15:51:55 -0400 (EDT) Subject: [jboss-user] [Tomcat Integration] - HttpSession is getting mixed up Message-ID: <20417865.1255290715397.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am having a weird, sporadic and impossible to duplicate problem. If this is not the correct forum, I apologize and would appreciate a shove in the right direction. My configuration is 4 JBoss nodes clustered and running behind the Apache mod_jk load balancer. Server Version: Apache | JK Version: mod_jk/1.2.25 Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417) | | Java VM: Java HotSpot(TM) Server VM 1.5.0_17-b04,Sun Microsystems Inc. | OS-System: Linux 2.6.18.2-34-default,i386 | Like most JEE apps, I use the HttpSession to persist user level data across HttpRequests. My delimma is that in some cases, a user will see another users data. It is almost as if the JSessionID is getting mixed up. Has anyone seen this before? Any ideas on where to start? Thanks in advance! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259771#4259771 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259771 From do-not-reply at jboss.com Mon Oct 12 01:21:14 2009 From: do-not-reply at jboss.com (pieter.martin) Date: Mon, 12 Oct 2009 01:21:14 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jBPM vs Drools Message-ID: <17178995.1255324874089.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I recently discovered that drools has a rules flow engine which implements the BPMN spec. Does this mean jBPM and Drools are directly competing products? Is there some guidance from Jboss regarding when to use which product? Btw, I am a big jBPM fan and evangelist. Thanks Pieter View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259776#4259776 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259776 From do-not-reply at jboss.com Mon Oct 12 01:23:42 2009 From: do-not-reply at jboss.com (jjp) Date: Mon, 12 Oct 2009 01:23:42 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: QuerySyntaxException in HistoryService Message-ID: <21104932.1255325022603.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry for this mistake ! Its filed under JBPM-2577. Regards, Joerg View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259778#4259778 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259778 From do-not-reply at jboss.com Mon Oct 12 01:48:22 2009 From: do-not-reply at jboss.com (rasa) Date: Mon, 12 Oct 2009 01:48:22 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Jboss 4.2.3 GA upgrade Message-ID: <24652145.1255326502280.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> in 3.2.5 verson standardjboss.xml version i have seen one entry like this false. But in the new version it is not there. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259780#4259780 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259780 From do-not-reply at jboss.com Mon Oct 12 01:56:52 2009 From: do-not-reply at jboss.com (prashanthkasulabadha) Date: Mon, 12 Oct 2009 01:56:52 -0400 (EDT) Subject: [jboss-user] [JMX] - Re: JNDI lookup for all the mbeans in JBoss Message-ID: <16395328.1255327012467.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Peter Yes Database connection for all the instances. Say a.war can connect to 123 machine and b.war can connect to 456 machine, I need all the war files connection string. Can we get them? Any entries in xml files needed for this. If any entries needed then it cannot be a dynamic way of fetching all the Mbeans, rather it will be only static way. Thanks Prashantgh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259782#4259782 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259782 From do-not-reply at jboss.com Mon Oct 12 02:01:42 2009 From: do-not-reply at jboss.com (Shi Yusen) Date: Mon, 12 Oct 2009 02:01:42 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - [ANN] New portlets: OFBiz-Portlet Message-ID: <410488.1255327302821.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi list, We at Langhua Opensource Foundation have released a new OFBiz-Portlet module which supports OFBiz 09.04 and JBoss Portal 2.7.2. For more details please visit: http://langhua.org/portal/portal/default/JBoss+Portal/OFBizPortletModulePortletWindow?windowstate=maximized Kind Regards, Shi Yusen/Beijing Langhua Ltd. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259783#4259783 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259783 From do-not-reply at jboss.com Mon Oct 12 03:02:50 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 12 Oct 2009 03:02:50 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Jboss 4.2.3 GA upgrade Message-ID: <23712841.1255330970152.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "rasa" wrote : in 3.2.5 verson standardjboss.xml version i have seen one entry like this | false. But in the new version it is not there. Did you read my previous reply? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259784#4259784 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259784 From do-not-reply at jboss.com Mon Oct 12 03:19:16 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 12 Oct 2009 03:19:16 -0400 (EDT) Subject: [jboss-user] [Tomcat Integration] - Re: HttpSession is getting mixed up Message-ID: <31411364.1255331956786.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> See this similar discussion http://www.jboss.org/index.html?module=bb&op=viewtopic&t=126386 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259786#4259786 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259786 From do-not-reply at jboss.com Mon Oct 12 03:38:01 2009 From: do-not-reply at jboss.com (Setya) Date: Mon, 12 Oct 2009 03:38:01 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: PageFlows on JBPM Message-ID: <13115830.1255333081328.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have similliar question in mind. What's the status of PageFlows in JBPM 4.x ? Can I use it out of the box ? Regards, Setya View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259788#4259788 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259788 From do-not-reply at jboss.com Mon Oct 12 03:38:43 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 12 Oct 2009 03:38:43 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: 'table does not exist' error after changing default data Message-ID: <2915945.1255333123066.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What's the name of the table which throws this error? And when exactly does this happen? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259789#4259789 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259789 From do-not-reply at jboss.com Mon Oct 12 03:50:52 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Mon, 12 Oct 2009 03:50:52 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Question and remark about mail-templates Message-ID: <25825738.1255333852295.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Good morning, I got a question and a remark regarding mail-templates. First of all I neither like the idea of storing the templates inside the process definition nor inside the jbpm configuration. Okay, for templates with are used in several process definitions this is probably a good solution but if you happen to have complex templates or if they should be changeable easily without having to deal with process definitions or jbpm-configuration an extra file would be comfortable. So what about an extra file coming within the business archive and storing process specific mail-templates using the same mechanism to reference them as done in process definitions with templates which have been defined in your jbpm configuration? Now my problem: I am using a jbpm setup on Tomcat and I am using the ant task to deploy my process definitions. I wanted to use mail templates defined in the jbpm-configuration on Tomcat and I ran into a problem. I am not sure if the jbpm.cfg.xml I changed is really used by the set-up ( install/generated/cfg/jbpm.cfg.xml) because when I tried to access the process definitions I got an exception telling me that the mail-templates could not be found. The template seems to be fine because to deploy my process definition to the database I had to put the mail-template definitions in the "local" jbpm-configuration (so not the one used on the server) to make the ant-task work. Kind regards Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259791#4259791 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259791 From do-not-reply at jboss.com Mon Oct 12 04:13:58 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Mon, 12 Oct 2009 04:13:58 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Re: jBPM vs Drools Message-ID: <27787914.1255335238878.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Pieter! According to this article Drools Flow is not an official JBoss product and so they would not be direct competitors: http://www.jboss.org/drools/drools-flow.html#Drools_Flow_and_jBPM I personally do not see them as competing products and for me Drools is and stays mainly a business rules engine. As far as I understood the original intention for Drools Flow was to have a possibility to easily combine small rules to bigger complex ones when a kind of flow control was needed. Correct me if I'm wrong. I don't find the article anymore. :( I have not really used Drools but from what I have seen in presentations on Slideshare it seems a great product to me. My wish would be a joint effort of the Drools and jBPM team to bring the power of Drools to jBPM. Of course this is already possible right now (see the Camunda presentations on this on Slideshare, unfortunately for you they're all in German, I think) but I would love to see a stronger official-like integration. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259797#4259797 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259797 From do-not-reply at jboss.com Mon Oct 12 04:19:14 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 12 Oct 2009 04:19:14 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Multiple default PostConstruct method not called Message-ID: <3057709.1255335554428.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Looking at the code you attached to the JIRA https://jira.jboss.org/jira/browse/EJBTHREE-1937 this appears to be a bug in your application code. Your interceptors do not call the invocationContext.proceed in the post construct operations. As per section 12.5 of EJB3 spec: "EJB3 Spec, Section 12.5" wrote : Interceptor methods must always call InvocationContext.proceed() or no subsequent interceptor methods or bean business method or lifecycle callback methods will be invoked. | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259798#4259798 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259798 From do-not-reply at jboss.com Mon Oct 12 04:47:13 2009 From: do-not-reply at jboss.com (longbeach) Date: Mon, 12 Oct 2009 04:47:13 -0400 (EDT) Subject: [jboss-user] [EJB] - EJB 3.1 implementation in JBoss Message-ID: <31827934.1255337233439.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Could anyone give me some information about EJB 3.1 implementation in JBoss ? The final draft was proposed on March 2009. http://jcp.org/en/jsr/detail?id=318 Are you guys working on its implementation in the next version of JBoss AS ? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259800#4259800 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259800 From do-not-reply at jboss.com Mon Oct 12 04:48:41 2009 From: do-not-reply at jboss.com (longbeach) Date: Mon, 12 Oct 2009 04:48:41 -0400 (EDT) Subject: [jboss-user] [EJB] - Re: EJB 3.1 implementation in JBoss Message-ID: <17949279.1255337321993.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> oops : http://www.jboss.org/index.html?module=bb&op=viewtopic&t=156017 I should peruse the forums before asking any question ! :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259802#4259802 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259802 From do-not-reply at jboss.com Mon Oct 12 04:50:38 2009 From: do-not-reply at jboss.com (longbeach) Date: Mon, 12 Oct 2009 04:50:38 -0400 (EDT) Subject: [jboss-user] [EJB] - Re: EJB 3.1 implementation in JBoss Message-ID: <14079620.1255337438313.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Forget my previous post, I confused EJB 3 1.1.5 with EJB 3.1 So my question still remains valid. Thanks in advance for your feedback. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259803#4259803 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259803 From do-not-reply at jboss.com Mon Oct 12 04:52:35 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 12 Oct 2009 04:52:35 -0400 (EDT) Subject: [jboss-user] [EJB] - Re: EJB 3.1 implementation in JBoss Message-ID: <11338113.1255337555351.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> See http://www.jboss.org/index.html?module=bb&op=viewtopic&t=161843 :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259804#4259804 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259804 From do-not-reply at jboss.com Mon Oct 12 05:03:03 2009 From: do-not-reply at jboss.com (mjdenham) Date: Mon, 12 Oct 2009 05:03:03 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Where is the source to the new Admin Console Message-ID: <617513.1255338183221.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have looked in the AS distribution and on the Admin Console download page but I can't find the source to the new JSF/Seam Admin Console. Could somebody direct me to it? Thanks Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259808#4259808 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259808 From do-not-reply at jboss.com Mon Oct 12 05:15:49 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 12 Oct 2009 05:15:49 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Where is the source to the new Admin Console Message-ID: <32728939.1255338949023.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Look in the source code tab on the Embedded Jopr project page http://www.jboss.org/embjopr View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259814#4259814 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259814 From do-not-reply at jboss.com Mon Oct 12 05:47:29 2009 From: do-not-reply at jboss.com (Rashem) Date: Mon, 12 Oct 2009 05:47:29 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: A tutorial to deploy a Netbeans created BPEL process und Message-ID: <32677657.1255340849922.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi depstei2, As you are saying 'I can deploy the examples without any errors.', can you please let me know whether you deployed the jbpm-bpel1.1.1 examples in jBoss using NetBeans BPEL designer? If yes, can you please share the steps? I am struggling with it and need a solution urgently. If anyone can help in this, it`ll be very helpful. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259827#4259827 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259827 From do-not-reply at jboss.com Mon Oct 12 06:10:45 2009 From: do-not-reply at jboss.com (sascha242) Date: Mon, 12 Oct 2009 06:10:45 -0400 (EDT) Subject: [jboss-user] [Security] - Kerberos: WebService-Client? Message-ID: <10312981.1255342245304.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I secured a webservice using Kerberos and now I want to access the service using a standalone client, but I really don't know how to do this. Any ideas or sample code? Regards, Sascha View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259836#4259836 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259836 From do-not-reply at jboss.com Mon Oct 12 06:32:11 2009 From: do-not-reply at jboss.com (rodedh) Date: Mon, 12 Oct 2009 06:32:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: TimerService Restart Issue Message-ID: <29147204.1255343531561.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I get this exception as well. Is there any issue with dependency injection in EJBs when ejbtimeout is invoked? Thanks, Rod View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259839#4259839 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259839 From do-not-reply at jboss.com Mon Oct 12 06:47:45 2009 From: do-not-reply at jboss.com (mwx.dennis) Date: Mon, 12 Oct 2009 06:47:45 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Message-ID: <24733710.1255344465970.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> That's very good news - thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259843#4259843 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259843 From do-not-reply at jboss.com Mon Oct 12 06:52:17 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 12 Oct 2009 06:52:17 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: TimerService Restart Issue Message-ID: <3918732.1255344737888.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : I get this exception as well. Is there any issue with dependency injection in EJBs when ejbtimeout is invoked? | | Thanks, | Rod Which exact error? Please post the entire exception stacktrace. There are 2 exceptions mentioned in this thread: 1) javax.naming.NamingException: Could not dereference object [Root exception is java.lang.RuntimeExcep | tion: Can not find interface declared by Proxy in our CL + BaseClassLoader@ | 13c72d{vfsfile:/C:/java/jboss-5.0.0.GA/jboss-5.0.0.GA/server/feudalism/deploy/ejb2-timer-service.xml | }] | 2) org.jboss.aop.DispatcherConnectException: EJB container is not completely started, or is stopped. | at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor | .java:60) | If it's the second error that you are running into, then watch this JIRA https://jira.jboss.org/jira/browse/EJBTHREE-1926 While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259844#4259844 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259844 From do-not-reply at jboss.com Mon Oct 12 06:54:12 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 12 Oct 2009 06:54:12 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Message-ID: <12587307.1255344852647.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "henk53" wrote : | The Singleton beans G_Thimm refers to are not yet supported in JBoss AS 5.1, but I think they will be supported in JBoss AS 5.2, which will hopefully be released next week (beta 1). | Just a FYI - http://www.jboss.org/index.html?module=bb&op=viewtopic&t=161843 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259845#4259845 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259845 From do-not-reply at jboss.com Mon Oct 12 07:23:40 2009 From: do-not-reply at jboss.com (aspdeepak) Date: Mon, 12 Oct 2009 07:23:40 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Session Expiry Handling Message-ID: <19112029.1255346620212.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Jboss App Server V 4.2.2 Jboss Portal - V 2.7.0 DB - Mysql 5.0 you should have the portal and portlet session time out as the same to get rid of this kind of problems. you should configure the session-timeout in the following web.xml. \server\default\deploy\jboss-portal.sar\portal-server.war\WEB-INF\web.xml | \server\default\deploy\jboss-portal.sar\portal-core.war\WEB-INF\web.xml | \server\default\deploy\jboss-web.deployer\conf\web.xml | | | Here is an example setting timeout to 10 min. | | | | | | 10 | | | | | | Note: Also please use java script to handle the session expiry on the client side. | | Please do specify the version of Jboss App server, and the portal server that you are using. Its just a rule of thumb to be followed, also its already mentioned in this forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259852#4259852 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259852 From do-not-reply at jboss.com Mon Oct 12 07:37:18 2009 From: do-not-reply at jboss.com (makarandk502) Date: Mon, 12 Oct 2009 07:37:18 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - jbpm 4.1 - How to get currentE Message-ID: <17760769.1255347438960.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If I start process using jbpm-console and want to get current executionService in one of my tasks (java task ), what is way to get it in jbpm 4.1 To provide external trigger using API for wait state in process definition , I need ExecutionService. Then I can use executionService.signalExecutionById(exectionID); -Regards Makarand View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259855#4259855 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259855 From do-not-reply at jboss.com Mon Oct 12 07:49:47 2009 From: do-not-reply at jboss.com (jkoops) Date: Mon, 12 Oct 2009 07:49:47 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: [METRO] com.sun.xml.ws.api.pipe.TubelineAssemblerFactory Message-ID: <30232836.1255348187028.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi ! As we've implemented a custom transport (TransportTubeFactory), has anyony made progress on this? Jan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259859#4259859 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259859 From do-not-reply at jboss.com Mon Oct 12 08:07:55 2009 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Mon, 12 Oct 2009 08:07:55 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: HTTP Session passivation during server restart? Message-ID: <3421308.1255349275531.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> This is more a question for the JBoss Clustering forum rather than JBoss Cache, since it is the HTTP session management code that removes sessions during a shutdown. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259869#4259869 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259869 From do-not-reply at jboss.com Mon Oct 12 08:11:56 2009 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Mon, 12 Oct 2009 08:11:56 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Preventing JBoss Cache from recreating dummy table? Message-ID: <3887347.1255349516879.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> This was resolved in JBC 3.2.0 - see https://jira.jboss.org/jira/browse/JBCACHE-1533 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259871#4259871 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259871 From do-not-reply at jboss.com Mon Oct 12 08:15:27 2009 From: do-not-reply at jboss.com (jeronimo) Date: Mon, 12 Oct 2009 08:15:27 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Issue Clustering JBoss 5 over two computer Message-ID: <474801.1255349727261.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have solved the issue. This is caused by a configuration network issue on node2. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259872#4259872 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259872 From do-not-reply at jboss.com Mon Oct 12 08:24:17 2009 From: do-not-reply at jboss.com (jeronimo) Date: Mon, 12 Oct 2009 08:24:17 -0400 (EDT) Subject: [jboss-user] [Clustering] - Session Replication on separate machines Message-ID: <23767418.1255350257443.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, I am trying to deploy a simple web application to test session replication on separate machines with JBoss 5 AS. I have developed my application on one computer and I have tryed the cluster starting two istances with following commands: > sh run.sh -c node1 > sh run.sh -c node2 -Djboss.service.binding.set=ports-01 -Djboss.messaging.ServerPeerID=1 (Node1 and node2 is a copy of the "all" folder) And all works fine. After I have copied the Jboss folder to anothe PC and I have tryed to start the nodes with following commands: > ./run.sh -c node1 -g DocsPartition -b 0.0.0.0 -Djboss.messaging.ServerPeerID=1 -Djboss.default.jgroups.stack=tcp -Djgroups.tcpping.initial_hosts=192.168.1.151:7600,192.168.1.101:7600 > ./run.sh -c node1 -g DocsPartition -b 0.0.0.0 -Djboss.messaging.ServerPeerID=2 -Djboss.default.jgroups.stack=tcp -Djgroups.tcpping.initial_hosts=192.168.1.151:7600,192.168.1.101:7600 (Node1 is a copy of the "all" folder) The two instances starts sucefully, but the session is not replicated across the machines. When node2 starts I see this in log of node1: 12:30:35,872 INFO [DocsPartition] I am (192.168.1.151:1099) received membershipChanged event: 12:30:35,872 INFO [DocsPartition] Dead members: 0 ([]) 12:30:35,872 INFO [DocsPartition] New Members : 1 ([192.168.1.101:1099]) 12:30:35,872 INFO [DocsPartition] All Members : 2 ([192.168.1.151:1099, 192.168.1.101:1099]) 12:30:36,249 INFO [RPCManagerImpl] Received new cluster view: [192.168.1.151:7600|9] [192.168.1.151:7600, 192.168.1.101:7600] 12:30:50,837 INFO [GroupMember] org.jboss.messaging.core.impl.postoffice.GroupMember$ControlMembershipListener at 1f3d09 got new view [192.168.1.151:49303|9] [192.168.1.151:49303, 192.168.1.101:55073], old view is [192.168.1.101:56930|8] [192.168.1.151:49303] 12:30:50,837 INFO [GroupMember] I am (192.168.1.151:49303) 12:30:50,837 INFO [GroupMember] New Members : 1 ([192.168.1.101:55073]) 12:30:50,837 INFO [GroupMember] All Members : 2 ([192.168.1.151:49303, 192.168.1.101:55073]) 12:31:01,207 INFO [RPCManagerImpl] Received new cluster view: [192.168.1.151:7600|3] [192.168.1.151:7600, 192.168.1.101:7600] I don't configure any load balancer because I don't need it in this test. What I wrong? Some people can help me, please? If you need other details please contact me. Thansk a lot to all. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259876#4259876 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259876 From do-not-reply at jboss.com Mon Oct 12 08:30:10 2009 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Mon, 12 Oct 2009 08:30:10 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: JBossCache 3.2.1.GA released Message-ID: <28422250.1255350610940.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> @RichardTaylor you should be able to use it as a drop-in replacement. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259879#4259879 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259879 From do-not-reply at jboss.com Mon Oct 12 08:35:39 2009 From: do-not-reply at jboss.com (luuzz) Date: Mon, 12 Oct 2009 08:35:39 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Performance problem - UIL2 vs. JBoss Remoting? Message-ID: <15129815.1255350939769.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, The same problem is happening with our server in production. We switched to Jboss messaging and the application seems so much slower. We don't understand why. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259880#4259880 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259880 From do-not-reply at jboss.com Mon Oct 12 08:37:52 2009 From: do-not-reply at jboss.com (Amritap) Date: Mon, 12 Oct 2009 08:37:52 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Role based landing page/portal for user Message-ID: <30602148.1255351072152.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We have trying for the role based landing page in our project we implemented in by extending DefaultPortalCommandFactory class.When we make above changes we land successfully on the desired page but the default functionalities of the portal server doesn't work.If we override the doMapping method of DefaultPortalCommandFactory Class it throws Null Pointer Exception.:( We are using jboss-portal-2.7.2 version Any help would be appreciated. Thanks in Advance Amrita View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259881#4259881 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259881 From do-not-reply at jboss.com Mon Oct 12 08:42:25 2009 From: do-not-reply at jboss.com (rasa) Date: Mon, 12 Oct 2009 08:42:25 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Jboss 4.2.3 GA upgrade Message-ID: <1322240.1255351345169.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : JBoss AS 5 tends to be more picky about apps following that specs that what earlier releases were. The above warning tell you what the issues are - you'll have to fix them. Yes this is right. As perter said the issue is with application only. But for that no need to fix anything in application. do the following in deploye/jjb-deploy.xml change the value of attribute Strictverifier to false. Thanks and Regards Rasa. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259886#4259886 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259886 From do-not-reply at jboss.com Mon Oct 12 08:43:02 2009 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Mon, 12 Oct 2009 08:43:02 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Locking parent nodes even with lockParentForChildInsertR Message-ID: <21040322.1255351382260.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Have you tried 3.2.1? There were some issues with certain context flags not being picked up by the MVCCNodeHelper which were fixed in 3.2.1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259887#4259887 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259887 From do-not-reply at jboss.com Mon Oct 12 08:50:44 2009 From: do-not-reply at jboss.com (servee) Date: Mon, 12 Oct 2009 08:50:44 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: JBoss / Eclipse RCP: Could not dereference object Message-ID: <6882128.1255351844640.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi. I have the same problem, have you resolved it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259889#4259889 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259889 From do-not-reply at jboss.com Mon Oct 12 08:58:16 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Mon, 12 Oct 2009 08:58:16 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 - How to get currentE Message-ID: <29302110.1255352296996.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am not sure but I suppose you could look it up via JNDI if you are running on JBoss AS. On Tomcat you might use | ProcessEngine processEngine = Configuration.getProcessEngine(); | Question to the more advanced ones: This should not build a new one but rather return the current instance right? Afterwards you should be able to get the executionService by | processEngine.getExecutionService(); | There might be limits to the java tasks which I don't know about. So it could be that you would need to use a custom task. HTH View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259891#4259891 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259891 From do-not-reply at jboss.com Mon Oct 12 09:07:47 2009 From: do-not-reply at jboss.com (davewebb) Date: Mon, 12 Oct 2009 09:07:47 -0400 (EDT) Subject: [jboss-user] [Tomcat Integration] - Re: Session is getting merge with other session Message-ID: <21530061.1255352867022.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am seeing this problem as well. I am using JBoss 4.2.3 behind mod_jk for load balancing. I have 4 nodes in the cluster. I use REPL_ASYNC for session duplication. I do have in my web.xml Here is my jboss-web.xml | | SET_AND_NON_PRIMITIVE_GET | attribute | | I probably have about 5000 sessions generated per day and my session timeout is 60 minutes. I dont really have a predefined workflow where I can invalidate the session, and although I have a logout use case, I cant make the users click it to invalidate the session. Any suggestions for me? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259893#4259893 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259893 From do-not-reply at jboss.com Mon Oct 12 09:09:18 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Mon, 12 Oct 2009 09:09:18 -0400 (EDT) Subject: [jboss-user] [Security] - Re: IllegalStateException: Authorization Manager is null wit Message-ID: <24132367.1255352958401.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, everything looks ok to me. Did you activate logging of the security layer (see sticky post "FAQ" in this forum, question 4)? It should provide you with more information on whether the login module failed or not. When is the exception thrown? When accessing your web app? After doing a login? One thing I noticed: your xml config files (web.xml, jboss-web.xml) don't specify an encoding, but you use some "special chars" e.g. in the "web-resource-name". I would advice you to specify an encoding, e.g. UTF-8: | Maybe JBoss gets confused while parsing them... Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259894#4259894 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259894 From do-not-reply at jboss.com Mon Oct 12 09:29:32 2009 From: do-not-reply at jboss.com (mlieshoff) Date: Mon, 12 Oct 2009 09:29:32 -0400 (EDT) Subject: [jboss-user] [EJB] - generic business interface Message-ID: <33086270.1255354172042.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, i have some problems with my business interface and a extending remote interface with his implementing bean. I use jBoss 4.0.5 GA and it seems, generic typing does not work in this constallation. Business interface is following : public interface Business { // returns all elements of type t founded by name List getElementsByName(String name) throws Exception; } My remote is type for items of type Item : public interface ItemRemote extends EJBObject, Business { // returns all elements of type t founded by name List getElementsByName(String name) throws RemoteException; } My bean : public ItemBean implements SessionBean, Business { public List getElementsByName(String name) throws RemoteException { // do some magic to get list of item } } Deploying fails because of this reason : Bean must implement all remote interface methods : List getElementsByName(String name) throws RemoteException; --> it seems, generic methods are translated to object typed methods while jBoss runtime bean code generation/verifying Somebody knows about it and can help ? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259897#4259897 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259897 From do-not-reply at jboss.com Mon Oct 12 09:42:07 2009 From: do-not-reply at jboss.com (Jimmy56) Date: Mon, 12 Oct 2009 09:42:07 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Ending task with timer - session is closed Message-ID: <931688.1255354927473.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, thanks for your replies, brings a little light to it. As I said in second post, we use JBoss SOA Platform 4.3. In a last cumulative patch CP02 there are updated several versions. Within SOA it self, there is jBPM 3.2.7 (in jbpm.esbm with jbpm console), in Seam 2.0.2 FP (which is a part of platform) there is 3.2.5 SP5 version. I'll try later (soon, hopefully) these versions (also with Ronald mentioned 3.2.6SP1) and let you know my experiences. Thank you. regards, Jakub. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259902#4259902 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259902 From do-not-reply at jboss.com Mon Oct 12 09:44:34 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 12 Oct 2009 09:44:34 -0400 (EDT) Subject: [jboss-user] [EJB] - Re: generic business interface Message-ID: <10989637.1255355074782.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> As you can see in your post, the generics related information in your code is lost while posting. So, while posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259903#4259903 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259903 From do-not-reply at jboss.com Mon Oct 12 09:47:08 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Mon, 12 Oct 2009 09:47:08 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <33456733.1255355228762.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, seems your LoginServlet calls "LoginFacade.login", but I don't know whether you use the "WebAuthentication" class in this method or not (your initial code does not do it, and I don't know whether you changed it or not). If you use "WebAuthentication", then your username/password approach should definitively work. Unfortunately I cannot help you further with public key infrastructures. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259904#4259904 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259904 From do-not-reply at jboss.com Mon Oct 12 10:18:14 2009 From: do-not-reply at jboss.com (mlieshoff) Date: Mon, 12 Oct 2009 10:18:14 -0400 (EDT) Subject: [jboss-user] [EJB] - Re: generic business interface Message-ID: <28081776.1255357094020.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you for fast answering, the correct signatures are here : Business interface is following : | public interface Business { | // returns all elements of type t founded by name | List getElementsByName(String name) throws Exception; | } | My remote is type for items of type Item : | public interface ItemRemote extends EJBObject, Business { | // returns all elements of type t founded by name | List getElementsByName(String name) throws RemoteException; | } | My bean : | public ItemBean implements SessionBean, Business { | public List getElementsByName(String name) throws RemoteException { | // do some magic to get list of item | } | } | Deploying fails because of this reason : | Bean must implement all remote interface methods : | | List getElementsByName(String name) throws RemoteException; | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259908#4259908 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259908 From do-not-reply at jboss.com Mon Oct 12 10:41:01 2009 From: do-not-reply at jboss.com (cnstntn) Date: Mon, 12 Oct 2009 10:41:01 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - ThredPool configuration Message-ID: <20999629.1255358461602.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, is there any way to configure thread pool for each application deployed on JBOSS separately? Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259912#4259912 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259912 From do-not-reply at jboss.com Mon Oct 12 13:02:27 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 12 Oct 2009 13:02:27 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Buddy replication - initial state transfer after node re Message-ID: <26127315.1255366947933.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks, Richard, for this thorough report. How are you restarting server B? Hard kill + restart, or normal shutdown plus restart? If it's a hard kill, have you edited the AS's JGroups configurations to remove FD_SOCK? I doubt you have removed FD_SOCK; the above questions are just to remove one not-highly-likely possibility. Manik, it occurs to me that a lot of our testing in this area involves multi-node clusters, not just two. The QE failover testing uses 4 nodes; my general impression of the unit test stuff is that tests tend to set up 3 or 4 nodes. So I'll try a simple two node unit test. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259916#4259916 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259916 From do-not-reply at jboss.com Mon Oct 12 13:10:58 2009 From: do-not-reply at jboss.com (gavinlam) Date: Mon, 12 Oct 2009 13:10:58 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - HelloWorld Tutorial Does Not Work Message-ID: <28506106.1255367458090.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I'm trying to run the helloworld example provided by JBoss Tools. I am running JBossAS 4.2.2 with ESB 4.6 and the latest version of AOP and the latest JBoss Messaging. The helloworld project is published to the runtime server without any problems. However, when I run the SendEsbMessage application, I'm get the following stack trace. I'm completely new to JBoss and I don't know where to go from here. Any help will be great. Thanks. | Usage SendEsbMessage | Exception in thread "main" org.jboss.soa.esb.listeners.message.MessageDeliverException: Failed to deliver message [header: [ ]] to Service [JBossESB-Internal:DeadLetterService]. Check for errors. | at org.jboss.soa.esb.client.ServiceInvoker.post(ServiceInvoker.java:425) | at org.jboss.soa.esb.client.ServiceInvoker.deliverAsync(ServiceInvoker.java:250) | at org.jboss.soa.esb.client.ServiceInvoker.deliverToDeadLetterService(ServiceInvoker.java:292) | at org.jboss.soa.esb.client.ServiceInvoker.deliverAsync(ServiceInvoker.java:260) | at org.jboss.soa.esb.samples.quickstart.helloworld.test.SendEsbMessage.main(SendEsbMessage.java:56) | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259918#4259918 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259918 From do-not-reply at jboss.com Mon Oct 12 13:20:55 2009 From: do-not-reply at jboss.com (debasish.raychawdhuri) Date: Mon, 12 Oct 2009 13:20:55 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Multiple default PostConstruct method not called Message-ID: <26839958.1255368055123.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I was not calling ictx.proceed from PostConstruct (It should have thrown exception anyway). I had aroundInvoke also in those incerceptors (The spec says you can do that 12.4 "Lifecycle callback interceptor methods and business method interceptor methods may be defined on the same interceptor class."). Now lets try a simpler test case: [Since I cannot attach the jar here, I will write the whole code] The bean class | package com.ejb.demo; | | import java.util.Date; | | import javax.annotation.Resource; | import javax.ejb.SessionContext; | import javax.ejb.Stateless; | import javax.ejb.Timer; | import javax.ejb.TimerService; | import javax.ejb.TransactionAttribute; | import javax.ejb.TransactionAttributeType; | import javax.jms.Connection; | import javax.jms.JMSException; | import javax.jms.MessageProducer; | import javax.jms.Session; | import javax.jms.TextMessage; | import javax.jms.Topic; | import javax.jms.TopicConnectionFactory; | | import org.javaeeutils.logger.annotation.Logger; | import org.springframework.beans.factory.annotation.Configurable; | import org.springframework.context.ApplicationContext; | import org.springframework.context.support.ClassPathXmlApplicationContext; | | /** | * Session Bean implementation class DemoFirstEJB | */ | @Stateless | | public class DemoFirstEJB implements DemoFirstEJBRemote, DemoFirstEJBLocal { | | /** | * Default constructor. | */ | @Resource | private SessionContext ctx; | | | @Resource | private TimerService timerService; | | public DemoFirstEJB() { | // TODO Auto-generated constructor stub | } | | @Override | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) | public void setTimer() { | | | System.out.println("Inside setTimer"); | | } | | | } | The bean interface | | package com.ejb.demo; | import javax.ejb.Remote; | | @Remote | public interface DemoFirstEJBRemote { | public void setTimer(); | } | | The First Interceptor | package com.ejb.demo.interceptors; | | import javax.annotation.PostConstruct; | import javax.interceptor.AroundInvoke; | import javax.interceptor.InvocationContext; | | | | public class DemoInterceptor { | | @AroundInvoke | public Object aroundTimeout(InvocationContext ictx) throws Exception{ | System.out.println("Interceptor 1: AroundInvoke"); | return ictx.proceed(); | } | @PostConstruct | public void postConstruct(InvocationContext ictx){ | System.out.println("Interceptor 1: PostConstruct"); | } | } | The second Interceptor | | package com.ejb.demo.interceptors; | | import javax.annotation.PostConstruct; | import javax.ejb.Timer; | import javax.interceptor.AroundInvoke; | import javax.interceptor.InvocationContext; | | public class DemoInterceptor2 { | @AroundInvoke | public Object aroundTimeout(InvocationContext ictx) throws Exception{ | System.out.println("Interceptor 2: AroundInvoke"); | return ictx.proceed(); | } | @PostConstruct | public void postConstruct(InvocationContext ictx){ | System.out.println("Interceptor 2: PostConstruct"); | } | } | | The deployment descriptor | | | DemoEJB | | | DemoFirstEJB | com.ejb.demo.DemoFirstEJBLocal | Container | | | | | | | | | | | | DemoFirstEJB | * | | Required | | | | * | | com.ejb.demo.interceptors.DemoInterceptor2 | com.ejb.demo.interceptors.DemoInterceptor | | | | | | | | The remote client (stand alone java application] | package com.demo.ejb.test; | | import java.util.Properties; | | import javax.naming.InitialContext; | import javax.naming.NamingException; | import javax.rmi.PortableRemoteObject; | | import com.ejb.demo.DemoFirstEJBRemote; | | public class Main { | | /** | * @param args | * @throws NamingException | */ | public static void main(String[] args) throws NamingException { | Properties p = new Properties(); | p.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); | p.put("java.naming.provider.url", "jnp://localhost:1099"); | p.put("java.naming.factory.url.pkgs", "org.jboss.naming:org.jnp.interfaces"); | | | InitialContext ctx = new InitialContext(p); | Object rem=ctx.lookup("DemoFirstEJB/remote"); | DemoFirstEJBRemote remote=(DemoFirstEJBRemote) PortableRemoteObject.narrow(rem, DemoFirstEJBRemote.class); | remote.setTimer(); | | } | | } | And here is the output of JBoss console when we run the client | | 22:24:45,610 INFO [STDOUT] Interceptor 2: PostConstruct | 22:24:45,611 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container | 22:24:45,611 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container | 22:24:45,612 INFO [STDOUT] Interceptor 2: AroundInvoke | 22:24:45,612 INFO [STDOUT] Interceptor 1: AroundInvoke | 22:24:45,613 INFO [STDOUT] Inside setTimer | | Thus only the PostConstruct of Interceptor2 is called Now if I change the interceptor-binding to the following | | * | com.ejb.demo.interceptors.DemoInterceptor | com.ejb.demo.interceptors.DemoInterceptor2 | | Here is the output | 22:46:44,446 INFO [STDOUT] Interceptor 1: PostConstruct | 22:46:44,447 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container | 22:46:44,447 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the bean container | 22:46:44,448 INFO [STDOUT] Interceptor 1: AroundInvoke | 22:46:44,449 INFO [STDOUT] Interceptor 2: AroundInvoke | 22:46:44,449 INFO [STDOUT] Inside setTimer | Thus only the PostConstruct of Inceptor1 is only called Thus we can see only the first in the list of interceptors is called View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259922#4259922 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259922 From do-not-reply at jboss.com Mon Oct 12 13:27:51 2009 From: do-not-reply at jboss.com (debasish.raychawdhuri) Date: Mon, 12 Oct 2009 13:27:51 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Multiple default PostConstruct method not called Message-ID: <14856508.1255368471304.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> OK thanks, I got it. But the same 'WRONG' program seems to work in Glassfish!. I now think they are the ones violating the spec. Thanks for your time and effort and sorry for the inconveniences I caused. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259924#4259924 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259924 From do-not-reply at jboss.com Mon Oct 12 13:37:17 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Mon, 12 Oct 2009 13:37:17 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: JBoss Cache Replication not happening in a clustered env Message-ID: <31407923.1255369037885.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I've been spending a lot of time lately looking at replicate sessions. For troubleshooting session replication: 1. Be sure to read about session replication from http://www.jboss.org/community/wiki/JBossAS5ClusteringGuide before you do anything. 2. Then read about session replication in jboss cache as well http://www.jboss.org/community/wiki/JBossCacheOfficialDocumentation 3. For actual troubleshooting, once you have things configured from the above docs, I've been using the jmx-console. Log into the JMX Console on each machine. First confirm that the nodes are in the same cluster at the jgroups level. Go to jboss.jgroups -> cluster=default-SessionCache,type=channel (this may be slightly differnt for you). Verify that "ViewAsString" contains all nodes Second confirm that jboss cache (a layer above jgroups) sees the correct nodes and check out the http sessions. In the JMX Console go to jboss.cache -> config=standard-session-cache,service=Cache and look at "Members", then invoke "printCacheDetailsAsHtml" near the bottom. This will show you all sessions on that node. If you're doing total replication (default) you should see the same session information on all nodes in this area. Hope this helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259926#4259926 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259926 From do-not-reply at jboss.com Mon Oct 12 13:39:52 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Mon, 12 Oct 2009 13:39:52 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: JBoss Cache Replication not happening in a clustered env Message-ID: <15792604.1255369192412.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In case it wasn't clear, when I say jmx console, I'm referring to JBoss management app at http://nodeaddress:8080/jmx-console View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259927#4259927 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259927 From do-not-reply at jboss.com Mon Oct 12 13:46:28 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Mon, 12 Oct 2009 13:46:28 -0400 (EDT) Subject: [jboss-user] [Clustering] - HTTP Session passivation - How to survive server restarts? Message-ID: <2761535.1255369588984.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Note: It was suggested that I move this post to this forum from JBoss Cache Users (the original post was here: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162299 No content there) I'd like to enable HTTP Session passivation so that all active sessions are passivated to disk during a graceful server restart. I'd like users to stay logged in through a server restart (single server). This is especially helpful in a development environment. JBoss 5.1.0 JBoss Cache 3.2.1 I've read the following and have followed the instructions: http://www.jboss.org/community/wiki/HttpSessionPassivationDesign http://www.jboss.org/community/wiki/DistributableHttpSessionPassivation Session passivation works in the sense that when my specified time limits are hit, sessions are written to disk. However when I gracefully shut down the server, all passivated sessions are deleted from disk. In the section describing passivation being triggered by a server shutdown it says: anonymous wrote : If the session is valid, then it's passivated to allow for reconstruction of the session This implies either that my sessions are being considered invalid, a configuration issue, or possibly a bug. My HTTP session timeout is 20 minutes, so I should be fine in that regard. Relevant configuration: >From our jboss-web.xml | true | -1 | 300 | | >From the http session cache section of jboss-cache-manager-jboss-beans: | | | true | false | | | | | | ${jboss.server.data.dir}${/}session2 | | false | true | true | false | false | | | | | | Is there a trick to getting this going? This should be possible, correct? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259929#4259929 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259929 From do-not-reply at jboss.com Mon Oct 12 13:47:48 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Mon, 12 Oct 2009 13:47:48 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: HTTP Session passivation during server restart? Message-ID: <25534169.1255369668694.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks, I have posted the question at:http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162362 . I mention a url to this post in the new one. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259930#4259930 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259930 From do-not-reply at jboss.com Mon Oct 12 13:52:31 2009 From: do-not-reply at jboss.com (optixpro) Date: Mon, 12 Oct 2009 13:52:31 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - which version of Jboss AS is most stable for jbpm4 rigth no Message-ID: <9297621.1255369951087.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi i so confuse i saw in the demo config of jbpm4 is use jboss as 5.0. but some project in this blog http://www.jorambarrez.be/blog/category/jbpm/ use jboss AS 4.3 can you recomment the most stable version for jbpm4 rigthnow. 4.3.X or 5.0 or 5.1 thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259931#4259931 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259931 From do-not-reply at jboss.com Mon Oct 12 13:56:15 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Mon, 12 Oct 2009 13:56:15 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Buddy replication - initial state transfer after node re Message-ID: <13179049.1255370175787.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Brian, thanks for getting back to me.... anonymous wrote : How are you restarting server B? Hard kill + restart, or normal shutdown plus restart? I see the same behavior with either a graceful restart or kill -9. anonymous wrote : If it's a hard kill, have you edited the AS's JGroups configurations to remove FD_SOCK? Nope, haven't tweaked FD_SOCK at all. I'll paste my jgroups config at the bottom. I'll try to reproduce this with three nodes. Our tcp jgroups config (default settings) | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259932#4259932 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259932 From do-not-reply at jboss.com Mon Oct 12 14:38:19 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Mon, 12 Oct 2009 14:38:19 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Buddy replication - initial state transfer after node re Message-ID: <6107057.1255372699028.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> After some basic testing with 3 nodes, I don't immediately see the same issue. It seems to do a good job of reorganizing the buddy relationships any time a 3rd node comes online. It typically creates a nice ring where each node only has one buddy. Sounds like the issue might not exist when there are more than 2 nodes as a result of this reshuffle? With the FD_SOCK, I assume that you're implying that server A never recognized that server B went away and came back, hence continued normal (delta) replication instead of calling "AssignToBuddyGroupCommand"? That would make sense. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259938#4259938 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259938 From do-not-reply at jboss.com Mon Oct 12 15:00:59 2009 From: do-not-reply at jboss.com (tschaible) Date: Mon, 12 Oct 2009 15:00:59 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Problems with redirect after log in with Internet Explorer Message-ID: <19971222.1255374059761.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have two portals deployed in my instance of JBoss Portal portal1 - Only users of role role1 are able to access this. This portal is also set as the default. portal2 - Only users of role role2 are able to access this. A common use case is that a user attempts to go directly to the portal by typing in the URL. For simplicities sake, the user goes to http://myportal.com/portal/portal/portal2 JBoss Portal redirects the user to http://myportal.com/portal/auth/portal/portal2;jsessionid=SESSIONID and starts a session. The user enters his/her login/password And here's where the problem starts. In firefox (also chrome) the user gets redirected to http://myportal.com/portal/auth/portal/portal2 and everything is great BUT In IE, the user gets redirected to http://myportal.com/portal/auth/portal/none which results in a HTTP 403, since it technically points the default portal (portal1) where the user does not have access. Any ideas as to why this is happening? Using JBoss Portal 2.7.1. Also have run into similar issues in JBoss EPP 4.3 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259939#4259939 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259939 From do-not-reply at jboss.com Mon Oct 12 15:25:14 2009 From: do-not-reply at jboss.com (bestage) Date: Mon, 12 Oct 2009 15:25:14 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Launching gwt console on Websphere 6.1 Message-ID: <29957276.1255375514588.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> A colleague of mine has managed to build war files and deploy the gwt console 1.2.0 snapshot to Websphere 6.1. The curious thing is that the console has been running a couple of times after re-starting the serving. But most of the times the application is simply not loading. Also we are getting no exceptions. The server app seems to be running fine, since we can see the output from REST services. How can we debug the client to see what is the problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259943#4259943 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259943 From do-not-reply at jboss.com Mon Oct 12 15:28:44 2009 From: do-not-reply at jboss.com (optixpro) Date: Mon, 12 Oct 2009 15:28:44 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - java.lang.OutOfMemoryError: PermGen space how can i fix it? Message-ID: <26361511.1255375724242.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> i'm use jbpm 3.3.1. when i open gwt-console this error will happen on my Server java.lang.OutOfMemoryError: PermGen space something about birt report View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259944#4259944 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259944 From do-not-reply at jboss.com Mon Oct 12 15:38:37 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Mon, 12 Oct 2009 15:38:37 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: java.lang.OutOfMemoryError: PermGen space how can i fix Message-ID: <8161928.1255376317429.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : something about birt report Don't lose yourself too much in the details. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158610 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259945#4259945 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259945 From do-not-reply at jboss.com Mon Oct 12 15:50:19 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 12 Oct 2009 15:50:19 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Buddy replication - initial state transfer after node re Message-ID: <10981329.1255377019381.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yes, my line of thinking on FD_SOCK was as you stated. Very much a long shot. :-) Thanks for testing with 3 nodes. This afternoon I'm setting up a basic unit test with two nodes; will report back here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259947#4259947 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259947 From do-not-reply at jboss.com Mon Oct 12 16:28:22 2009 From: do-not-reply at jboss.com (washawu) Date: Mon, 12 Oct 2009 16:28:22 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - gwt-console-server SynchronousDispatcher Error Message-ID: <21532023.1255379302174.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi All, I am trying to deploy and integrate JBPM 4.1 jbpm-console and gwt-console-server on Websphere 7.0 server. By closely following the demo instruction, I was able to run JBPM 4.1 on Tomcat. Also I am able to deploy and run gwt-console-server, examples on Websphare 7.0. But I am having difficulties to integrate jbpm-console. After entered ???alex/password??? on the console login screen, and passed App server JAAS security check, I got the following server-side log message from gwt-console-server SynchronousDispatcher org.jboss.resteasy.core.SynchronousDispatcher invoke No resource method found for GET, return 405 with Allow header I debugged the login error on Firefox and found the following differences between Websphere and Tomcat deployments: After the POST j_security-check call, on Websphere, a resteasy call was made: GET secure http://localhost:9081/gwt-console-server/rs/identity/secure/ on Tomcat, a resteasy call was made: GET sid http://localhost:8080/gwt-console-server/rs/identity/secure/sid I validated these two resteasy calls using a browser to both servers deployed gwt-console-server; the first one failed with ???address incorrect error??? and the second one returned a session ID. Can anyone tell me what my problem is and how to fix it? I have no source files to trace. It looks like jbpm-console code issues. Please help or provide the org.jboss.bpm.console.Application Java source. Thanks a lot. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259951#4259951 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259951 From do-not-reply at jboss.com Mon Oct 12 16:31:17 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 12 Oct 2009 16:31:17 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: HTTP Session passivation - How to survive server restart Message-ID: <9842401.1255379477455.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Good question. Complicated answer. First, if you want to try to get this to work, you can disable buddy replication in your JBC config and also update the JBC config's cacheLoaderConfig section: false That's "true" by default. The issue with reading sessions off the disk at startup is that the persistent-across-server-restart storage for a session is meant to be the other nodes in the cluster, not the disk. If you also start reading sessions off the disk, you run into the potential of having using out-of-date data from the disk in preference to the data transferred from the cluster. This is particularly the case with buddy replictation. See https://jira.jboss.org/jira/browse/JBAS-5627, particularly the subtasks under it, for a more in-depth discussion. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259953#4259953 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259953 From do-not-reply at jboss.com Mon Oct 12 16:33:14 2009 From: do-not-reply at jboss.com (noicangi) Date: Mon, 12 Oct 2009 16:33:14 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - xpdl to jpdl Message-ID: <1576367.1255379594802.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi, after all the week i decided to use jbpm3.X, and i saw a presentation from redhat where it was posible to import a xpdl project to jpdl using redhat studio, but i cannot found that option on jboss tools m3, my question is if this is posible on jboss tools or is a 3rd party plugin? Thanks, n.Oicangi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259955#4259955 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259955 From do-not-reply at jboss.com Mon Oct 12 16:52:45 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Mon, 12 Oct 2009 16:52:45 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: HTTP Session passivation - How to survive server restart Message-ID: <17699453.1255380765918.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> OK, it sounds like this may be ok in a single server dev environment, but doesn't make much sense in an actual/production cluster. What you said makes sense. In theory not all servers are suppose to go down at the same time anyway ;). I had played with the purgeOnStartup but it seemed to lead to other inconsistencies in replication / startup, which is what you hinted at. Thanks, I'll try to use it locally, but will skip it in production. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259956#4259956 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259956 From do-not-reply at jboss.com Mon Oct 12 17:38:02 2009 From: do-not-reply at jboss.com (kennardconsulting) Date: Mon, 12 Oct 2009 17:38:02 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Cluster falls apart: FD_SOCK errors Message-ID: <11882471.1255383482664.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> A tip for those who come this way after us: we found a large part of the problem was that the cluster nodes rely on being in constant communication. If one of them is under high load (say, running some reports or something) its CPU usage may be so high it does not respond to the cluster ping quickly enough (within 3 seconds). The cluster then treats it as dead and removes it from the cluster, even though it is not dead it is just busy. We increased the org.jgroups.protocols.pbcast.GMS timeout and it helped a great deal. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259958#4259958 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259958 From do-not-reply at jboss.com Mon Oct 12 17:41:23 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Mon, 12 Oct 2009 17:41:23 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: HTTP Session passivation - How to survive server restart Message-ID: <10320166.1255383683313.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'd just like to report back that 1. disabling Buddy Replication and 2. setting "purgeOnStartup" to false does allow HTTP Sessions to survive server restarts on my local machine. This is handy for various reasons. Thx. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259959#4259959 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259959 From do-not-reply at jboss.com Mon Oct 12 18:09:12 2009 From: do-not-reply at jboss.com (ironosity) Date: Mon, 12 Oct 2009 18:09:12 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Start JBoss from a remote machine? Message-ID: <21781155.1255385352172.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hey, I'm working with on an ant script that can be used to start/stop a JBoss instance on a remote machine on my local intranet. the stopping part works fine. Starting causes me issues. Basically what I am doing is calling the a bat file that runs the run.bat (remote server is WinServ2008) with specific parameters. this file contains the fillowing: \\[servername]\[jboss home]bin\run.bat -c [instanceName] -b [ip address to bind instance to] -Djboss.messaging.ServerPeerID=2 when it runs it acts like it's trying to start jboss on my local machine. So how do I get JBoss to start from an external machine? Starting it locally works with out problem. Thanks for any help you can give. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259960#4259960 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259960 From do-not-reply at jboss.com Mon Oct 12 18:22:59 2009 From: do-not-reply at jboss.com (ironosity) Date: Mon, 12 Oct 2009 18:22:59 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Multiple JBoss instance as a service Message-ID: <8871750.1255386179817.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hey, I've searched around but been unable to find how to do this. I currently have multiple JBoss instances on a WinServer2008 x64 machine (bound to separate IP address) I can get one to start up as a service but not more than one. I've tried editing the service.bat to start up multiples but that didn't work. It never gets to the second one. I also tried copying the service file and changing all the stuff inside to make another service but when I try to start that it starts and stops right away. What is the proper way to have multiple JBoss services. Or if this is not possible what I really want is to have these instances start up at startup and not have a bunch (like 10) open command prompt windows. thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259961#4259961 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259961 From do-not-reply at jboss.com Mon Oct 12 18:33:38 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 12 Oct 2009 18:33:38 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Buddy replication - initial state transfer after node re Message-ID: <14784173.1255386818314.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Richard, this is most definitely a bug. https://jira.jboss.org/jira/browse/JBCACHE-1549 Thanks again for the thorough report. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259964#4259964 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259964 From do-not-reply at jboss.com Mon Oct 12 18:48:36 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 12 Oct 2009 18:48:36 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: HTTP Session passivation - How to survive server restart Message-ID: <4327090.1255387716183.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for confirming that. What you're trying to do is valid; it's just that it requires real caution when used in an actual cluster with production data, so it's not the default. That technique won't work if the JBC config has "useRegionBasedMarshalling" set to true. Which in AS 5.1 is only the case for the field-granularity-session-cache, but will probably be the default everywhere in 5.2. I bring that up because there's some hard-coded logic that detects useRegionBasedMarshalling=true and deletes the sessions off the disk at webapp undeploy. But thinking about your question has me thinking the "purgeOnStartup" flag could handle that useRegionBasedMarshalling=true use case fine as well, removing the need to have the cleanup be hard coded, and letting people like yourself control the behavior. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259965#4259965 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259965 From do-not-reply at jboss.com Mon Oct 12 19:56:41 2009 From: do-not-reply at jboss.com (bwalker55) Date: Mon, 12 Oct 2009 19:56:41 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: 'table does not exist' error after changing default data Message-ID: <25692836.1255391801213.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for the response, Unfortunately, all I know is what"s in the log file, as quoted above. So, all I can say is that it happens sometime during startup. As well, the Oracle error processor doesn't tell you what table it can"t read. Not much help. Bob View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259973#4259973 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259973 From do-not-reply at jboss.com Mon Oct 12 20:00:41 2009 From: do-not-reply at jboss.com (rathinaganesh) Date: Mon, 12 Oct 2009 20:00:41 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Jboss Web Services Message-ID: <4991683.1255392041750.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Greetings, I have created and deployed two web applications(say webapp1, webapp2) that generates SOAP message to access a remote web service. We are using Jboss 5.0.0.GA. Both these applications run fine, if I run then individually. That is, when I start the jboss server and access webapp1 first. Then, I do not have any trouble with webapp1. Now, when I access webapp2, I get the error message listed below. I get the same error message, when I start the jboss server and access webapp2 for the first and try to access webapp1 second. So, if I am testing webapp1 and want to test webapp2, I have to restart the jboss server and access webapp2 as soon as the server starts up. This is the code I have in webapp1 ******************* Code on webapp1 *************** | | | QName serviceQName = new QName(namespace, serviceName); | Service service = Service.create(serviceQName); | QName portQName = new QName(namespace, portName); | service.addPort(portQName, SOAPBinding.SOAP11HTTP_BINDING, | endpointAddress); | Dispatch dispatch = service.createDispatch(portQName, | SOAPMessage.class, Service.Mode.MESSAGE); | | final String operationName = props.getProperty(svc | + ".operationName"); | MessageFactory factory = MessageFactory.newInstance(); | SOAPMessage soapRequest = factory.createMessage(); | soapRequest.setProperty("WRITE_XML_DECLARATION ", false); | SOAPBody body = soapRequest.getSOAPBody(); | QName payloadName = new QName(namespace, operationName, "ns1"); | SOAPBodyElement payload = body.addBodyElement(payloadName); | SOAPElement message = payload.addChildElement("arg0"); | message.addTextNode(userName); | message = payload.addChildElement("arg1"); | message.addTextNode(""); | soapRequest.writeTo(System.out); | SOAPMessage soapResponse = null; | soapResponse = dispatch.invoke(soapRequest); | soapResponse.writeTo(System.out); | | This is the code I have in webapp2 | | //First create the connection | SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance(); | connection = soapConnFactory.createConnection(); | //Next, create the actual message | MessageFactory messageFactory = MessageFactory.newInstance(); | SOAPMessage message = messageFactory.createMessage(); | //Create objects for the message parts | SOAPPart soapPart = message.getSOAPPart(); | SOAPEnvelope envelope = soapPart.getEnvelope(); | SOAPBody body = envelope.getBody(); | //Populate the body | //Create the main element and namespace | SOAPElement bodyElement = body.addChildElement(envelope.createName(operationName,"ns0",namespace)); | //Add content bodyElement.addChildElement("parameter").addTextNode(param); | //Save the message | message.saveChanges(); | message.writeTo(System.out); | //Set the destination | URL destination = new URL(wsdlURL); | //Send the message and get a reply | SOAPMessage reply = connection.call(message, destination); | System.out.println("\nRESPONSE:\n"); | reply.writeTo(System.out); | | ******************* Error Message ********************** | | 16:37:17,000 INFO [STDOUT] Exception occurred::java.io.IOException: Could not transmit message | 16:37:17,000 ERROR [STDERR] javax.xml.soap.SOAPException: java.io.IOException: Could not transmit message | 16:37:17,000 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:152) | 16:37:17,000 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:64) | 16:37:17,000 ERROR [STDERR] at com.adaranet.ldaptest.businessobjects.SoapEngineBO.invokeCall(SoapEngineBO.java:177) | 16:37:17,000 ERROR [STDERR] at com.adaranet.ldaptest.businessobjects.SoapEngineBO.process(SoapEngineBO.java:51) | 16:37:17,000 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 16:37:17,000 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 16:37:17,000 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 16:37:17,000 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 16:37:17,000 ERROR [STDERR] at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34) | 16:37:17,000 ERROR [STDERR] at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428) | 16:37:17,000 ERROR [STDERR] at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431) | 16:37:17,000 ERROR [STDERR] at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283) | 16:37:17,000 ERROR [STDERR] at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52) | 16:37:17,000 ERROR [STDERR] at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101) | 16:37:17,000 ERROR [STDERR] at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146) | 16:37:17,000 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) | 16:37:17,000 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | 16:37:17,000 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | 16:37:17,000 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | 16:37:17,000 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | 16:37:17,000 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | 16:37:17,000 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | 16:37:17,000 ERROR [STDERR] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235) | 16:37:17,000 ERROR [STDERR] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) | 16:37:17,000 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) | 16:37:17,000 ERROR [STDERR] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | 16:37:17,000 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | 16:37:17,000 ERROR [STDERR] at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | 16:37:17,000 ERROR [STDERR] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | 16:37:17,000 ERROR [STDERR] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | 16:37:17,000 ERROR [STDERR] at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | 16:37:17,000 ERROR [STDERR] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | 16:37:17,000 ERROR [STDERR] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | 16:37:17,000 ERROR [STDERR] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) | 16:37:17,000 ERROR [STDERR] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601) | 16:37:17,000 ERROR [STDERR] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | 16:37:17,000 ERROR [STDERR] at java.lang.Thread.run(Thread.java:595) | 16:37:17,000 ERROR [STDERR] Caused by: java.io.IOException: Could not transmit message | 16:37:17,000 ERROR [STDERR] at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:264) | 16:37:17,000 ERROR [STDERR] at org.jboss.ws.core.client.SOAPProtocolConnectionHTTP.invoke(SOAPProtocolConnectionHTTP.java:71) | 16:37:17,000 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPConnectionImpl.callInternal(SOAPConnectionImpl.java:143) | 16:37:17,000 ERROR [STDERR] ... 36 more | 16:37:17,000 ERROR [STDERR] Caused by: org.jboss.remoting.CannotConnectException: Can not connect http client invoker after 1 attempt(s) | 16:37:17,000 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:246) | 16:37:17,000 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.transport(HTTPClientInvoker.java:158) | 16:37:17,000 ERROR [STDERR] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:160) | 16:37:17,000 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:1708) | 16:37:17,000 ERROR [STDERR] at org.jboss.remoting.Client.invoke(Client.java:612) | 16:37:17,000 ERROR [STDERR] at org.jboss.ws.core.client.HTTPRemotingConnection.invoke(HTTPRemotingConnection.java:242) | 16:37:17,000 ERROR [STDERR] ... 38 more | 16:37:17,000 ERROR [STDERR] Caused by: java.lang.ClassCastException: org.jboss.ws.core.soap.SOAPElementImpl | 16:37:17,000 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPEnvelopeImpl.(SOAPEnvelopeImpl.java:57) | 16:37:17,000 ERROR [STDERR] at org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:136) | 16:37:17,000 ERROR [STDERR] at org.jboss.ws.core.soap.EnvelopeBuilderDOM.build(EnvelopeBuilderDOM.java:96) | 16:37:17,000 ERROR [STDERR] at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:283) | 16:37:17,000 ERROR [STDERR] at org.jboss.ws.core.soap.SOAPMessageUnMarshallerHTTP.read(SOAPMessageUnMarshallerHTTP.java:82) | 16:37:17,000 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.readResponse(HTTPClientInvoker.java:567) | 16:37:17,000 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.useHttpURLConnection(HTTPClientInvoker.java:366) | 16:37:17,000 ERROR [STDERR] at org.jboss.remoting.transport.http.HTTPClientInvoker.makeInvocation(HTTPClientInvoker.java:228) | 16:37:17,000 ERROR [STDERR] ... 43 more | | Thanks in advance. Thanks, Ganesh. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259974#4259974 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259974 From do-not-reply at jboss.com Mon Oct 12 20:30:06 2009 From: do-not-reply at jboss.com (drcallaway) Date: Mon, 12 Oct 2009 20:30:06 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Serialization problem using JDBC cache loader and MySQL Message-ID: <2447017.1255393806440.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am running into a problem when deserializing objects stored in the JBoss Cache via the JDBC cache loader. I can start the cache, load objects into it, and read objects from it without a problem. The objects that I have stored in the cache specifically set the serialVersionUID variable to 1. This all works fine until I shutdown and restart the cache. At this point, I get this error when attempting to access a node: [JDBCCacheLoader] Failed to load node for fqn /mynode java.lang.Exception: | Unable to load to deserialize result: | Caused by: java.io.InvalidClassException: com.company.generated.MyNode; local class incompatible: | stream classdesc serialVersionUID = 1, local class serialVersionUID = -7258818124315218931 According to this error, it looks like the version of the class stored in the database has a UID of 1 (which is correct). However, it then indicates that the local class has a UID of -7258818124315218931. Why is JBoss generating a UID when the local class already specifies a serialVersionUID of 1? After all, it was the exact same version of this local class that was stored in the cache to begin with. Any suggestions are appreciated. Thanks! Dustin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259977#4259977 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259977 From do-not-reply at jboss.com Mon Oct 12 21:28:19 2009 From: do-not-reply at jboss.com (pavelgutsa) Date: Mon, 12 Oct 2009 21:28:19 -0400 (EDT) Subject: [jboss-user] [MQ] - Why the InProcessMessageCount doesn't go higher than 16? Message-ID: <5146362.1255397299975.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I increased everything that I found, still stays on 16. Here is my standardjboss.xml http://docs.google.com/View?id=dgm2hwv2_9fn86gwd7 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259980#4259980 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259980 From do-not-reply at jboss.com Mon Oct 12 22:07:35 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 12 Oct 2009 22:07:35 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Start JBoss from a remote machine? Message-ID: <4165985.1255399655609.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Just because you are using a UNC name for run.bat does not mean that the batch file will run on the remote system - instead it means that you would like the remote batch file to run on your local system. The only way to get a batch file to run on a remote Windows system is to log onto that system remotely, either via Remote Desktop or some other remoting system, and run it from there. And then you have to be very careful not to close the remote session or else the remote process (JBossAS in the case) will also be terminated. My recommendation is to set up JBoss AS to run as a service on the remote system. And the use a Windows-native script, such as Powershell, to start/stop the remote service. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259982#4259982 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259982 From do-not-reply at jboss.com Mon Oct 12 22:09:13 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 12 Oct 2009 22:09:13 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Start JBoss from a remote machine? Message-ID: <32245488.1255399753602.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Just because you are using a UNC name for run.bat does not mean that the batch file will run on the remote system - instead it means that you would like the remote batch file to run on your local system. The only way to get a batch file to run on a remote Windows system is to log onto that system remotely, either via Remote Desktop or some other remoting system, and run it from there. And then you have to be very careful not to close the remote session or else the remote process (JBossAS in the case) will also be terminated. My recommendation is to set up JBoss AS to run as a service on the remote system. And the use a Windows-native script, such as Powershell, to start/stop the remote service. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259983#4259983 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259983 From do-not-reply at jboss.com Mon Oct 12 22:10:26 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 12 Oct 2009 22:10:26 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Start JBoss from a remote machine? Message-ID: <27506055.1255399826497.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry for the duplicate post - the stupid wireless access point available at this hotel leaves much to be desired. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259984#4259984 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259984 From do-not-reply at jboss.com Mon Oct 12 22:15:05 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 12 Oct 2009 22:15:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Multiple JBoss instance as a service Message-ID: <14538184.1255400105115.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yes it can be done. The easiest way to explain it to you is to tell you to download the source for JBoss in Action (http://www.manning.com/jamae) and to try the 04 target in the ch15 directory. That target properly set up two JBoss AS instances as services, using the Binding Service to specify different ports for each instance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259985#4259985 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259985 From do-not-reply at jboss.com Mon Oct 12 22:41:52 2009 From: do-not-reply at jboss.com (gaohoward) Date: Mon, 12 Oct 2009 22:41:52 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Performance problem - UIL2 vs. JBoss Remoting? Message-ID: <27188486.1255401712107.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Can you give some figure to show how slow it is? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259987#4259987 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259987 From do-not-reply at jboss.com Tue Oct 13 00:20:20 2009 From: do-not-reply at jboss.com (anoopsinghit) Date: Tue, 13 Oct 2009 00:20:20 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - ip confoguration instead of localhost problem Message-ID: <2378029.1255407620535.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi , i am using the jboss 2.3.2 version .when i am deploying my application .its deployed fine .and when i am runiing the application through the localhost its working fine as http://localhost:8080/ComposerWAR/View?user=default and when i am giving ip address instead of localhost as http://172.16.60.59:8080/ComposerWAR/View?user=default its not working even i had also checked the root directory of jbosss nothing is coming http://172.16.60.59:8080 its showing page can not be displayed.please tell me if any confogfuration is there. Thanks in advance Anoop Singh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259990#4259990 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259990 From do-not-reply at jboss.com Tue Oct 13 01:02:34 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 13 Oct 2009 01:02:34 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: xpdl to jpdl Message-ID: <8808753.1255410154309.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am not sure but might be this one: http://www.eclipse.org/jwt/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259992#4259992 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259992 From do-not-reply at jboss.com Tue Oct 13 01:04:23 2009 From: do-not-reply at jboss.com (optixpro) Date: Tue, 13 Oct 2009 01:04:23 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: java.lang.OutOfMemoryError: PermGen space how can i fix Message-ID: <9752215.1255410263192.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> === Environment ============================== - jBPM Version: JBPM3.3.1 === Problem description ========================= when i open gwt-console | 11:55:35,030 WARN [Parameters] Parameters: Invalid chunk ignored. | 11:55:40,404 INFO [ReportFacade] BIRT home: /Users/OptixPro/Desktop/jboss-4.2.3.GA/server/default/data/birt/ReportEngine | 11:55:40,404 INFO [ReportFacade] Output dir: /Users/OptixPro/Desktop/jboss-4.2.3.GA/server/default/data/birt/output/ | 11:55:40,405 INFO [ReportFacade] Report dir: /Users/OptixPro/Desktop/jboss-4.2.3.GA/server/default/data/birt/ | 11:55:44,099 INFO [BirtService] Service created: org.eclipse.birt.report.engine.api.impl.ReportEngine at 264ab70a | 11:55:45,623 WARN [Parameters] Parameters: Invalid chunk ignored. | 11:55:54,487 ERROR [[Resteasy]] Servlet.service() for servlet Resteasy threw exception | 11:55:56,589 ERROR [CoyoteAdapter] An exception or error occurred in the container during the request processing | java.lang.OutOfMemoryError: PermGen space | at java.lang.Throwable.getStackTraceElement(Native Method) | at java.lang.Throwable.getOurStackTrace(Throwable.java:591) | at java.lang.Throwable.printStackTraceAsCause(Throwable.java:529) | at java.lang.Throwable.printStackTrace(Throwable.java:516) | at org.apache.log4j.spi.ThrowableInformation.getThrowableStrRep(ThrowableInformation.java:59) | at org.apache.log4j.spi.LoggingEvent.getThrowableStrRep(LoggingEvent.java:342) | at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:304) | at org.apache.log4j.WriterAppender.append(WriterAppender.java:159) | at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) | at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) | at org.apache.log4j.Category.callAppenders(Category.java:203) | at org.apache.log4j.Category.forcedLog(Category.java:388) | at org.apache.log4j.Category.log(Category.java:853) | at org.jboss.logging.Log4jLoggerPlugin.error(Log4jLoggerPlugin.java:206) | at org.jboss.logging.Logger.error(Logger.java:234) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | 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:262) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | at java.lang.Thread.run(Thread.java:637) | 11:56:00,097 ERROR [[Resteasy]] Servlet.service() for servlet Resteasy threw exception | org.jboss.resteasy.spi.UnhandledException: java.lang.OutOfMemoryError: PermGen space | at org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:307) | at org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:218) | at org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:194) | at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:352) | at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:182) | at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:90) | at org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:66) | 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.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:182) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | 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:262) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | at java.lang.Thread.run(Thread.java:637) | Caused by: java.lang.OutOfMemoryError: PermGen space | 11:56:14,353 ERROR [STDERR] Exception in thread "State Saver" | may be gwt-console is not stable in jbpm3.x ? thankyou for help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259993#4259993 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259993 From do-not-reply at jboss.com Tue Oct 13 01:37:31 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 13 Oct 2009 01:37:31 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: java.lang.OutOfMemoryError: PermGen space how can i fix Message-ID: <11286998.1255412251924.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Does this error always happen? Even after a fresh restart of JBoss? Are there other applications running on the server? java.lang.OutOfMemoryError: PermGen space PermGen space is sometimes caused after lots of deployments or if you use a lot of runtime-generated classes. I don't really know about jBPM 3.x since I started with 4.x and I have never really used 3.x. I assume you have searched JIRA for the problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259995#4259995 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259995 From do-not-reply at jboss.com Tue Oct 13 02:33:06 2009 From: do-not-reply at jboss.com (richard.opalka@jboss.com) Date: Tue, 13 Oct 2009 02:33:06 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: [METRO] com.sun.xml.ws.api.pipe.TubelineAssemblerFactory Message-ID: <636736.1255415586184.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> There's JBossWSContainer inner class in RuntimeModelDeploymentAspect in Metro stack integration layer. Its content is like this. You should provide particular if statement to include your SPI extensions. (after you'll make it work, you can post patch to JBossWS and we'll include it to our integration layer.) However this approach won't work for transport layer. Do you have just server transport implementation or client transport implementation or both? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259997#4259997 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259997 From do-not-reply at jboss.com Tue Oct 13 03:06:15 2009 From: do-not-reply at jboss.com (kulasekara) Date: Tue, 13 Oct 2009 03:06:15 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Facing issue whn tring to upgrade to Porlet-Bridge 2.0 jar Message-ID: <24428441.1255417575210.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I've tried to sort the datatable column using sortBy attribute.But in the integrated multiple portlet environment it's causing some Ajax Script issue. Some where in the forum discussion it's mentioned that this Ajax request will go into the application as HTTPServeltRequest instead of PortletRequest. So it returns a false value for the request. and also I am advised to upgrade the Portlet-Bridge.jar to version 2.0 from 1.0. Upgrading this jar will solve the Ajax request issue. I don't have much idea like upgrading the jars will resolve the sorting issue...and also request issue can anyone plz guide me in this issue. And also I have tried to upgrade the Portlet-Bridge.jars 2.0. It's causing some deployment issues. I ve some quires need to be addressed.. 1)Do i need to use portlet.tld 2.0 which uses JSR 286 Specification logic. 2)I think this Portlet.tld 2.0 version is available in portal-portlet-lib.jar. 3)Do I need to upgrade this portal-portlet-lib.jar also? 4)Is this JbossPortal 2.6 Aplication server support this upgradation or 5)Do i need to upgrade the Jboss Portal AS. Kindly provide me some pointer or help me to resolve this quires and the issue...Appreciate your help... Thanks Pandiyan S View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260000#4260000 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260000 From do-not-reply at jboss.com Tue Oct 13 03:08:17 2009 From: do-not-reply at jboss.com (jkoops) Date: Tue, 13 Oct 2009 03:08:17 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: [METRO] com.sun.xml.ws.api.pipe.TubelineAssemblerFactory Message-ID: <25892775.1255417697906.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello Richard, thanks for your reply. We have a custom transport implementation just on the client side, when JBoss calls a backend system. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260001#4260001 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260001 From do-not-reply at jboss.com Tue Oct 13 03:14:25 2009 From: do-not-reply at jboss.com (richard.opalka@jboss.com) Date: Tue, 13 Oct 2009 03:14:25 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: [METRO] com.sun.xml.ws.api.pipe.TubelineAssemblerFactory Message-ID: <9617858.1255418065358.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Then you should face no problems IMHO. You just need to put your classes on the classpath and enable your implementation how is it specified in JAX-WS RI documentation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260002#4260002 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260002 From do-not-reply at jboss.com Tue Oct 13 03:33:51 2009 From: do-not-reply at jboss.com (jbosspnet) Date: Tue, 13 Oct 2009 03:33:51 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Process archive classes:ClassNotFoundException Message-ID: <21563696.1255419232003.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> But the EJB is already deployed into JBoss (in an ear) and so the EJB is already visible by clients (like NodeHandler class) with MANAGER_HOME_JNDI jndi name (I find it in the jmx-console). Why the process class loader finds NodeHandler class but not the ManagerHome class? Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260004#4260004 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260004 From do-not-reply at jboss.com Tue Oct 13 03:56:19 2009 From: do-not-reply at jboss.com (ergho) Date: Tue, 13 Oct 2009 03:56:19 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - which linux distribution to choose for running JBoss in prod Message-ID: <13911618.1255420579114.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I know this is partly a religious question but nevertheless I want to learn more about others experiences in this field. We're looking for a linux distribution to run our JBoss based solution on. How is the support for - installation, - integration in the distribution, - support, - tools and additional packages? Any other questions we should think of? Regards Olaf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260006#4260006 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260006 From do-not-reply at jboss.com Tue Oct 13 04:25:46 2009 From: do-not-reply at jboss.com (praenti) Date: Tue, 13 Oct 2009 04:25:46 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <8226217.1255422346948.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, What I have to if I want to use the WebAuthentication further? Do I have to change the complete login to Web based authentication? I've seen I need then j_security_check, but I always get then that this resource is not available from tomcat. For now I tried to use the WebAuthetication but the user is not authenticated then. I only get this error: | vwg.audi.cancard.MyApplicationException: User is not authenticated or the isUserInRole check failed at vwg.audi.cancard.ui.action.Login.execute(Login.java:177) 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:597) at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441) at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243) at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252) at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:122) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:195) at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:179) at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237) at | ... | The code I used in my Struts2 action: | if(username == null || password == null) | throw new RuntimeException("username or password is null"); | WebAuthentication pwl = new WebAuthentication(); | pwl.login(username, password); | | //Only when there is web login, does the principal be visible | log.info("User Principal="+ServletActionContext.getRequest().getUserPrincipal()); | //Some basic checks to see if the user who just did a programmatic login has a role of "AuthorizedUser" | log.info("isUserInRole(Authorized User)="+ServletActionContext.getRequest().isUserInRole("AuthorizedUser")); | if(ServletActionContext.getRequest().getUserPrincipal() == null || !ServletActionContext.getRequest().isUserInRole("AuthorizedUser")) | throw new MyApplicationException("User is not authenticated or the isUserInRole check failed"); | | //Log the user out | pwl.logout(); | | if(ServletActionContext.getRequest().getUserPrincipal() != null || ServletActionContext.getRequest().isUserInRole("AuthorizedUser")) | throw new MyApplicationException("User is still authenticated or pass: isUserInRole(Authorized User)"); | In my log I see these two lines: | 10:21:16,515 INFO [Login] User Principal=null | 10:21:16,531 INFO [Login] isUserInRole(Authorized User)=false | But now the output of my JAAS login module is missing. I think that this is not running anymore. Something is missing... Regards, Michael View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260010#4260010 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260010 From do-not-reply at jboss.com Tue Oct 13 04:33:36 2009 From: do-not-reply at jboss.com (praenti) Date: Tue, 13 Oct 2009 04:33:36 -0400 (EDT) Subject: [jboss-user] [Security] - Re: @RunAs in JBoss 5 - Caller unauthorized in second call Message-ID: <16569630.1255422816212.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Seeing same behaviour in an implementation. Looks like a bug in JBoss5, bacause I cannot see the idea behind this behaviour. Can anyone do a bug report? Regards, Michael View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260013#4260013 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260013 From do-not-reply at jboss.com Tue Oct 13 05:48:51 2009 From: do-not-reply at jboss.com (praenti) Date: Tue, 13 Oct 2009 05:48:51 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <10978371.1255427331222.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok, back to the LoginFacade. I did some more testing and tried to use the code in a JDK5 and JBoss 4.2.3 environment. There I get also an access exception on the EJB3 bean. After putting some log.info statements into my JAAS login module I git following output: | 11:34:59,091 INFO [SpiiderLoginModule] Groups for User: 1 | 11:34:59,106 INFO [SpiiderLoginModule] Principal: AdminUser | 11:34:59,106 ERROR [RoleBasedAuthorizationInterceptor] Insufficient permissions, | principal=extern.michael.obster, requiredRoles=[RegularUser, AdminUser, interna | l], principalRoles=null | What I see, the user has the role AdminUser, but when the access to the EJB3 is checked the principalRoles get lost. Has anyone an idea wgere this behaviour can come from. Code-Snippets: SpiiderLoginModule: | ... | protected Group[] getRoleSets() throws LoginException { | if (userIdentifier == null) | return getDefaultRoles(); | | // add the useridentifier to the subject | subject.getPublicCredentials().add(userIdentifier); | String gid = userIdentifier.getGid(); | if (trace) | log.info("getRoleSets using rolesQuery: " + rolesQuery | + ", gid: " + gid); | try { | Group roleSets[] = Util.getRoleSets(gid, dsJndiName, | rolesQuery, this, suspendResume); | | log.info("Groups for User: " + roleSets.length); | for (Group role : roleSets) { | log.info("Principal: " + role.getName()); | } | | if (roleSets.length == 0) | return getDefaultRoles(); | | return roleSets; | } catch (FailedLoginException fe) { | // this exception is thrown if the user is not found in the roles-link-table | return getDefaultRoles(); | } | } | ... | LoginFacade: | /** | * | */ | package vwg.audi.cancard.business; | | import javax.naming.AuthenticationException; | import javax.security.auth.login.LoginContext; | import javax.security.auth.login.LoginException; | | import org.apache.log4j.Logger; | import org.jboss.security.auth.callback.UsernamePasswordHandler; | | import vwg.audi.cancard.JAASLoginException; | import vwg.audi.cancard.ui.JAASConstants; | | /** | * LoginFacade | * | * @author Michael Obster (nospam.michael.obster at epos-cat.de) | */ | public class LoginFacade { | private Logger log = Logger.getLogger(this.getClass()); | | private LoginContext lc = null; | private String loginContext = ""; | private String clientContext = ""; | | public LoginFacade(String loginContext, String clientContext) { | this.loginContext = loginContext; | this.clientContext = clientContext; | } | | /** | * Real login, used by GUI. | * | * @param username | * @param strPassword | * @throws Exception | */ | public void login(String username, String strPassword) throws Exception{ | char[] password = strPassword != null ? strPassword.toCharArray() : "".toCharArray() ; | UsernamePasswordHandler handler = new UsernamePasswordHandler(username, password); | | lc = null; | try { | //Login for usercheck | lc = new LoginContext(loginContext, handler); | lc.login(); | | } catch (Exception e) { | Throwable t = e; | while (t.getCause() != null) { | | if (t instanceof AuthenticationException) { | break; | } | t = t.getCause(); | } | | //Analyse AuthenticationException | if (t instanceof AuthenticationException) { | AuthenticationException ex = (AuthenticationException)t; | String emsg = ex.getExplanation(); | if (!hasValue(emsg)) { | emsg = ""; | } | String errorhint = JAASConstants.USER_NOT_AUTHENTICATED; | if (emsg.indexOf("password expired") > 0) { | errorhint = JAASConstants.PASSWORD_EXPIRED; | } else if (emsg.indexOf("error code 49") > 0) { | errorhint = JAASConstants.PASSWORD_INVALID; | } else if (emsg.indexOf("error code 19") > 0) { | errorhint = JAASConstants.USER_REVOKED; | } else if (emsg.indexOf("error code 32") > 0) { | errorhint = JAASConstants.USER_INVALID; | } | log.debug(username + " " + ex.getExplanation() + " hint: " + errorhint); | throw new JAASLoginException(errorhint, ex); | | } else if (t instanceof LoginException) { | LoginException ex = (LoginException)t; | String emsg = ex.getMessage(); | if (!hasValue(emsg)) { | emsg = ""; | } | String errorhint = JAASConstants.USER_NOT_AUTHENTICATED; | if (emsg.indexOf("Password Required") > 0) { | errorhint = JAASConstants.PASSWORD_INVALID; | } | log.debug(username + " " + emsg + " " + errorhint); | throw new JAASLoginException(errorhint, ex); | } else { | log.debug(username + " " + t.getMessage() + " " + JAASConstants.UNEXPECTED_ERROR); | throw new JAASLoginException(JAASConstants.UNEXPECTED_ERROR, t); | } | } | } | | /** | * Background Login, set user and password from filter. | */ | public void clientLogin(String username, String strPassword) throws JAASLoginException { | char[] password = strPassword != null ? strPassword.toCharArray() : "".toCharArray() ; | UsernamePasswordHandler handler = new UsernamePasswordHandler(username, password); | try { | lc = new LoginContext(clientContext, handler); | lc.login(); | } catch (LoginException e) { | | throw new JAASLoginException(JAASConstants.UNEXPECTED_ERROR); | } | } | | public void logout() throws JAASLoginException { | if (lc == null) | return; | | try { | lc.logout(); | } catch (LoginException e) { | log.error("JAAS-Logout failed!", e); | throw new JAASLoginException(JAASConstants.UNEXPECTED_ERROR); | } | } | | /** | * Helper function tests if Strings have a value. | * | * @param s - the String to test. | * @return true or false | */ | boolean hasValue(String s) { | return s != null && s.trim().length() != 0 ? true : false; | } | } | And a filter which does following: | /** | * | */ | package vwg.audi.cancard.cfg; | | import java.io.IOException; | import java.util.ArrayList; | import java.util.Enumeration; | | import javax.servlet.Filter; | import javax.servlet.FilterChain; | import javax.servlet.FilterConfig; | import javax.servlet.ServletException; | import javax.servlet.ServletRequest; | import javax.servlet.ServletResponse; | import javax.servlet.http.HttpServletRequest; | | import org.apache.log4j.Logger; | | import vwg.audi.cancard.JAASLoginException; | import vwg.audi.cancard.business.LoginFacade; | import vwg.audi.cancard.ui.JAASConstants; | | /** | * JAASLoginFilter | * | */ | public class JAASLoginFilter implements Filter { | private Logger log = Logger.getLogger(this.getClass()); | | FilterConfig filterConfig; | | ArrayList ignorePath; | | String loginDomain = ""; | String clientLoginDomain = ""; | | @SuppressWarnings("unchecked") | public void init(FilterConfig filterConfig) throws ServletException { | | | this.filterConfig = filterConfig; | ignorePath = new ArrayList(); | Enumeration enumeration = filterConfig.getInitParameterNames(); | while (enumeration.hasMoreElements()) { | String initParameterName = (String) enumeration.nextElement(); | ignorePath.add(filterConfig.getInitParameter(initParameterName)); | } | | loginDomain = filterConfig.getServletContext().getInitParameter("jaasLoginDomain"); | clientLoginDomain = filterConfig.getServletContext().getInitParameter("jaasClientLoginDomain"); | log.debug("init JAASFilter: loginDomain:" + loginDomain + " clientLoginDomain:" + clientLoginDomain); | } | | public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain) throws IOException, ServletException { | | if (req instanceof HttpServletRequest) { | HttpServletRequest request = (HttpServletRequest) req; | String servletPath = request.getServletPath(); | String pathInfo = request.getPathInfo(); | String path = (servletPath == null ? "" : servletPath) | + (pathInfo == null ? "" : pathInfo); | log.debug(path); | log.debug("IM FILTER"); | LoginFacade loginFacade = new LoginFacade(loginDomain, clientLoginDomain); | | | if (!ignorePath.contains(path) | && !JAASConstants.USER_IS_VALID.equals(request | .getSession().getAttribute( | JAASConstants.USER_VALIDITY))) { | log.info("requested path: " + path + " ignored: " + ignorePath.contains(path)); | throw new JAASLoginException(); | } | | //Perform client-login | if (!ignorePath.contains(path)) { | String username = (String)request.getSession().getAttribute(JAASConstants.USERNAME); | String strPassword = (String)request.getSession().getAttribute(JAASConstants.PASSWORD); | | // Classic login by username and password | loginFacade.clientLogin(username, strPassword); | | } | | chain.doFilter(req, res); | | loginFacade.logout(); | } else | throw new JAASLoginException("Unsupported request"); | | } | | public void destroy() { | | } | | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260032#4260032 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260032 From do-not-reply at jboss.com Tue Oct 13 05:50:39 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Tue, 13 Oct 2009 05:50:39 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <20410264.1255427439923.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Michael, I hope that I am not too annoying by insisting on the use of "WebAuthentication", but I still think that your use case should basically work with it. I am not sure whether the problems result from usage of it in the Struts2 action or whether they are a matter of some other error. First of all: to get the servlet request inside your Action, implement the interface "org.apache.struts2.interceptor.ServletRequestAware" instead of calling "ServletActionContext.getRequest()". Maybe the latter creates new request instance where the login information is missing. To test the login stuff, I would advice you to create a complete new web client for your app without struts, and use a plain servlet to perform a login in "doGet" or "doPost". If this works, then you know that your login module is OK and you can continue with your "real" app. Your concerns about "j_security_check" and form based login: take a look at this link: http://roneiv.wordpress.com/2008/03/15/using-webauthentication-in-jboss/ . Though it is for JSF, it shows how to use a login form with a custom login servlet. Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260033#4260033 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260033 From do-not-reply at jboss.com Tue Oct 13 06:09:00 2009 From: do-not-reply at jboss.com (vikramsaxena) Date: Tue, 13 Oct 2009 06:09:00 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: JBM 1.4.4 on JBoss 4.2.2 - remoting problem Message-ID: <26699094.1255428540922.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello I am facing the same problem even after using the jboss-remoting.jar version 4.2.3. Also, if I am using the older version of jboss-messaging.jar i.e. 1.4.0 in my client side and the 1.4.4 version in my server side, I am not getting the JMS exception but still the messages are not processed and I get a DEBUG message in my server by org.jboss.remoting.ConnectionNotifier : Server connection lost to client and it pronts the session id. Can someone help ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260039#4260039 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260039 From do-not-reply at jboss.com Tue Oct 13 06:11:22 2009 From: do-not-reply at jboss.com (luuzz) Date: Tue, 13 Oct 2009 06:11:22 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Performance problem - UIL2 vs. JBoss Remoting? Message-ID: <17127007.1255428682929.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for your answer, When we switch to messaging mode, the connection to the web application is very slow as if apache has too much connections opened. For instance, it can take many attempts to display the connection mage. It has the same behaviour as when apache is under load. It seems to be a network issue, may be because og bisocket protocol but i can't see much configuration that can be done. We really have hope in jboss messaging because mq happens to be very unstable under certain load . Help us please. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260040#4260040 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260040 From do-not-reply at jboss.com Tue Oct 13 06:14:56 2009 From: do-not-reply at jboss.com (LeoLo) Date: Tue, 13 Oct 2009 06:14:56 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Portlet Instance creation problem, when new portlet is d Message-ID: <14844824.1255428896355.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "vijay2p" wrote : | Please let me know if anyone has faced the same problem and got any solution for the same Hi Vijay, there's already a JIRA-ticket regarding this issue https://jira.jboss.org/jira/browse/JBPORTAL-1894. A workaround could be to delete the instance first via portal admin ui and then undeploy the war-file. Regards, LeoLo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260042#4260042 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260042 From do-not-reply at jboss.com Tue Oct 13 06:45:27 2009 From: do-not-reply at jboss.com (guofeng) Date: Tue, 13 Oct 2009 06:45:27 -0400 (EDT) Subject: [jboss-user] [Security] - JSR-196: how to use it in JBoss 5.1.0.GA? Message-ID: <14349883.1255430727645.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> JBoss 5.1.0.GA has the support for JSR-196 (Java Authentication SPI for Containers). Where can I find the tutorial or samples that introduce how to use it in JBoss 5.1.0.GA? This is because I need a custom authenticator plugged in Tomcat. I do not know how to configure my authenticator in 5.1.0.GA in other way. Your advices are appreciated! Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260046#4260046 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260046 From do-not-reply at jboss.com Tue Oct 13 07:18:17 2009 From: do-not-reply at jboss.com (faisalgeek) Date: Tue, 13 Oct 2009 07:18:17 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Constructor argument in bean Message-ID: <21257522.1255432697847.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, how to give the path from classpath in "" for jbpm.cfg.xml Thanks in advance. I am using Joram Barrez jbpm4 integration with spring. at http://www.jorambarrez.be/blog/2009/04/17/integrating-jbpm3-with-spring-part1/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260052#4260052 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260052 From do-not-reply at jboss.com Tue Oct 13 07:40:30 2009 From: do-not-reply at jboss.com (czujnik) Date: Tue, 13 Oct 2009 07:40:30 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - JBPM 4 Persistent Variable Message-ID: <9376206.1255434030663.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I've tried to implement in my jBPM project implement process variable which will be stored in separated Table mapped by Hibernate entity. Entity works find when I'm trying to store it outside the jBPM (only by savbing it usinf Hibernate). When I create entity and I'm trying to set it as Variable, I got exception :(: org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.pvm.internal.type.variable.UnpersistableVariable is not a: org.jbpm.pvm.internal.type.Variable Entity is mapped correctly, because I can create entity and store it in DB outside Process. Primary key of the entity id long. The only configuration I made was hibernate configuration of new entity. Variable is persisted as binary data when I implement Serializable interface in it, but this not match my requirements :( My problem is how to persist variable as separated entity (in proper mapped table). Thanks in advance Pawel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260056#4260056 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260056 From do-not-reply at jboss.com Tue Oct 13 07:51:41 2009 From: do-not-reply at jboss.com (praenti) Date: Tue, 13 Oct 2009 07:51:41 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <8433802.1255434701025.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hmm. Change that. But which policy does the WebAuthentication use? I've changed that but my JAAS SpiiderLoginModule is not executed anymore :-/. I think that is a configuration problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260063#4260063 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260063 From do-not-reply at jboss.com Tue Oct 13 08:38:39 2009 From: do-not-reply at jboss.com (noicangi) Date: Tue, 13 Oct 2009 08:38:39 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: xpdl to jpdl Message-ID: <24585770.1255437519597.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sebastian, thats not the plugin, the one i'm asking for is for importing from xpdl from a model por example made on bizagi or intalio to xpdl or jbpm3. thats the idea. One Other thing is how can i connect jbpm with seam pageflow...i create a task on jbpm with a form, and add a seam pageflow to describe the views from pages created on flex. i'm giving very little steps.....bu Thanks in advance. n.Oicangi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260079#4260079 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260079 From do-not-reply at jboss.com Tue Oct 13 09:14:03 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 13 Oct 2009 09:14:03 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: xpdl to jpdl Message-ID: <1052454.1255439643589.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I got the idea. I might have mixed things up. I took a look again and there was nothing about jPDL. It was already several weeks ago. Regarding your second problem I'd consider starting a new thread with some more information on your problem. It's better style and maybe there are even people not lookin at this post because of the title even though they could help you with your problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260087#4260087 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260087 From do-not-reply at jboss.com Tue Oct 13 09:19:47 2009 From: do-not-reply at jboss.com (roelof) Date: Tue, 13 Oct 2009 09:19:47 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - IllegalStateException: Cannot find counter with name Message-ID: <3270709.1255439987342.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi all, we are running JBoss Messaging 1.4.4 with JBoss 4.2.3. all topics/queues are clustered. when connecting durable subscribers in the cluster, user1 to node 1 and user2 to node 2, we receive the 'IllegalStateException: Cannot find counter with name' exception when trying to view the message counters. the ServerPeer mbean also has no knowledge of the subscriptions. the topic mbean's MessageCounters attribute contain a value of javax.management.RuntimeMBeanException. the AllSubscriptionsCount does contain the correct count, 2 in this case. only when the topic is stop/start does the error disappear. does anyone have any idea on how to overcome this? i've also upgraded to jbm 1.4.5, but this did not solve anything. i can also not reproduce this error when running on a single node, only when running a clustered setup. any help much appreciated. regards roelof. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260089#4260089 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260089 From do-not-reply at jboss.com Tue Oct 13 09:21:24 2009 From: do-not-reply at jboss.com (libbysharf) Date: Tue, 13 Oct 2009 09:21:24 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Memory monitoring in JBoss Message-ID: <14525515.1255440084921.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, How can I programitacally monitor the memory my application is using? Does JBoss provide a tool to do that? I want to log a warning if the memory is in critical state. Thanks, Libby View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260090#4260090 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260090 From do-not-reply at jboss.com Tue Oct 13 09:24:53 2009 From: do-not-reply at jboss.com (homes) Date: Tue, 13 Oct 2009 09:24:53 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - org.hibernate.MappingException: Named query not known: findP Message-ID: <28077204.1255440293275.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> === Environment ============================== - jBPM Version : 4.1 - JBOSS Version: 5.0.0.GA - Database : Oracle 11g - JDK : java version "1.6.0_12" - Configuration : original jbpm.cfg.xml - Libraries : no additional libs === API =================================== public static void main(String[] args) { | Properties p = new Properties(); | p.put("java.naming.factory.initial", | "org.jnp.interfaces.NamingContextFactory"); | p.put("java.naming.provider.url", "jnp://localhost:1099"); | p.put("java.naming.factory.url.pkgs", | "org.jboss.naming:org.jnp.interfaces"); | try { | InitialContext initial = new InitialContext(p); | Object ref = initial.lookup("jbpm/CommandExecutor"); | | RemoteCommandExecutorHome comServiceHome = (RemoteCommandExecutorHome) PortableRemoteObject.narrow(ref, RemoteCommandExecutorHome.class); | | RemoteCommandExecutor jbpm4 = comServiceHome.create(); | | FindLatestProcessDefinitionByKeyCmd cmd = new | FindLatestProcessDefinitionByKeyCmd("processkey"); | | Object def = jbpm4.execute(cmd); | | } catch (Exception e) { | e.printStackTrace(); | } | } === Stacktrace ============================== 15:08:41,784 INFO [DefaultCommandService] exception while executing command org.jbpm.pvm.internal.cmd.FindLatestProcessDefinitionByKeyCmd at 8a0821 | org.hibernate.MappingException: Named query not known: findProcessDefinitionsByKey | at org.hibernate.impl.AbstractSessionImpl.getNamedQuery(AbstractSessionImpl.java:93) | at org.hibernate.impl.SessionImpl.getNamedQuery(SessionImpl.java:1287) | at org.jbpm.pvm.internal.hibernate.DbSessionImpl.findLatestProcessDefinitionByKey(DbSessionImpl.java:114) | at org.jbpm.pvm.internal.cmd.FindLatestProcessDefinitionByKeyCmd.execute(FindLatestProcessDefinitionByKeyCmd.java:44) | at org.jbpm.pvm.internal.cmd.FindLatestProcessDefinitionByKeyCmd.execute(FindLatestProcessDefinitionByKeyCmd.java:33) | at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) | at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.executeInNewTx(JtaTransactionInterceptor.java:79) | at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:61) | at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) | at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.executeWithRetry(JtaRetryInterceptor.java:52) | at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:45) | at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46) | at org.jbpm.enterprise.internal.ejb.CommandExecutorSLSB.execute(CommandExecutorSLSB.java:102) | 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:597) | at org.jboss.invocation.Invocation.performCall(Invocation.java:386) | at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:228) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156) | at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) | at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173) | at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77) | at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173) | at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211) | at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:97) | at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650) | at org.jboss.ejb.Container.invoke(Container.java:1029) | 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:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:232) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908) | at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:742) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:695) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:549) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230) | 15:08:41,790 ERROR [LogInterceptor] RuntimeException in method: public abstract java.lang.Object org.jbpm.enterprise.internal.ejb.RemoteCommandExecutor.execute(org.jbpm.api.cmd.Command) throws java.rmi.RemoteException: | org.hibernate.MappingException: Named query not known: findProcessDefinitionsByKey | at org.hibernate.impl.AbstractSessionImpl.getNamedQuery(AbstractSessionImpl.java:93) | at org.hibernate.impl.SessionImpl.getNamedQuery(SessionImpl.java:1287) | at org.jbpm.pvm.internal.hibernate.DbSessionImpl.findLatestProcessDefinitionByKey(DbSessionImpl.java:114) | at org.jbpm.pvm.internal.cmd.FindLatestProcessDefinitionByKeyCmd.execute(FindLatestProcessDefinitionByKeyCmd.java:44) | at org.jbpm.pvm.internal.cmd.FindLatestProcessDefinitionByKeyCmd.execute(FindLatestProcessDefinitionByKeyCmd.java:33) | at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) | at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.executeInNewTx(JtaTransactionInterceptor.java:79) | at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:61) | at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) | at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.executeWithRetry(JtaRetryInterceptor.java:52) | at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:45) | at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46) | at org.jbpm.enterprise.internal.ejb.CommandExecutorSLSB.execute(CommandExecutorSLSB.java:102) | 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:597) | at org.jboss.invocation.Invocation.performCall(Invocation.java:386) | at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:228) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:156) | at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) | at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:173) | at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:77) | at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:173) | at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:228) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211) | at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:97) | at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650) | at org.jboss.ejb.Container.invoke(Container.java:1029) | 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:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:232) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908) | at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:742) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:695) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:549) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230) === Problem description ========================= jbpm4.execute(cmd) throws Exception. You can see in printed stacktrace (jboss) that there are problems with named queries. Did have someone else this problem? The Exception occured when I execute the different FindProcessDefinition commands. I searched in the *.hbm.xml files after this query but it is not available. Can someone else try to execute this command? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260092#4260092 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260092 From do-not-reply at jboss.com Tue Oct 13 09:26:47 2009 From: do-not-reply at jboss.com (gaohoward) Date: Tue, 13 Oct 2009 09:26:47 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: IllegalStateException: Cannot find counter with name Message-ID: <23307350.1255440407619.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Do you have the stack trace of the exception? If you have can you post here? Thanks. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260093#4260093 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260093 From do-not-reply at jboss.com Tue Oct 13 09:27:30 2009 From: do-not-reply at jboss.com (wkzk) Date: Tue, 13 Oct 2009 09:27:30 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: NoClassDefFound Exception connecting to JBM 1.4.0 Message-ID: <2791792.1255440450526.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi. I got the same exception, and I understand what is going on. Let me make sure that I have no choice with older log4j version even now. No work around? Thanks in advance. Shige View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260094#4260094 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260094 From do-not-reply at jboss.com Tue Oct 13 09:29:26 2009 From: do-not-reply at jboss.com (roelof) Date: Tue, 13 Oct 2009 09:29:26 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Message expiration on JBM 1.4.{4, 5} Message-ID: <27871399.1255440566681.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi everyone, the following test were performed on a clustered setup of JBoss/JBM: 1. the ExpiryQueue is clustered 2. All messages are submitted to a clustered topic 3. Messages expire after 10s. 4. Two durable subscribers subscribe for the messages. 5. Subscriber1 is connected to node1 6. Subscriber2 is connected to node2 7. Subscriber2 disconnects for a period of time exceeding 10s. 8. Subscriber2 re-connects to node2 9. In the server.log of node1 the following messages appear: ServerSessionEndpoint] No expiry queue has been configured so removing expired Reference[20568905987098193]:RELIABLE each topic is deployed with JBoss startup and have both a DLQ and ExpiryQueue set, e.g.: | jboss.messaging:service=ServerPeer | jboss.messaging:service=PostOffice | true | jboss.messaging.destination:service=Queue,name=DLQ | jboss.messaging.destination:service=Queue,name=ExpiryQueue | 75000 | the message counters for the expiry queue does not reflect the correct number of messages that were expired. are these types of messages normal? when running on a single node these messages are not printed, only when running in a cluster. all help appreciated. regards, roelof. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260097#4260097 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260097 From do-not-reply at jboss.com Tue Oct 13 09:35:54 2009 From: do-not-reply at jboss.com (roelof) Date: Tue, 13 Oct 2009 09:35:54 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: IllegalStateException: Cannot find counter with name Message-ID: <23869589.1255440954096.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi howard, thanx for the quick response. here follows the stacktrace: 2009-10-13 15:02:15,155 ERROR [org.jboss.messaging.util.ExceptionUtil] [http-127.0.0.1-8080-3] Topic[/topic/SMS] listMessagesNonDurableSub | java.lang.IllegalStateException: Cannot find counter with name Subscription.superuser.superuser-SMS | at org.jboss.jms.server.destination.ManagedTopic.getMessageCounters(ManagedTopic.java:173) | at org.jboss.jms.server.destination.TopicService.getMessageCounters(TopicService.java:559) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | at java.lang.reflect.Method.invoke(Method.java:616) | at org.jboss.mx.interceptor.AttributeDispatcher.invoke(AttributeDispatcher.java:99) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.interceptor.ModelMBeanAttributeInterceptor.invoke(ModelMBeanAttributeInterceptor.java:197) | at org.jboss.mx.interceptor.PersistenceInterceptor.invoke(PersistenceInterceptor.java:76) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:362) | at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:556) | at org.jboss.jmx.adaptor.control.Server.getMBeanAttributeResultInfo(Server.java:144) | at org.apache.jsp.inspectMBean_jsp._jspService(inspectMBean_jsp.java:195) | at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373) | at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) | 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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:77) | 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.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:182) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) | at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:856) | at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:566) | at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1508) | at java.lang.Thread.run(Thread.java:636) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260099#4260099 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260099 From do-not-reply at jboss.com Tue Oct 13 09:43:51 2009 From: do-not-reply at jboss.com (longbeach) Date: Tue, 13 Oct 2009 09:43:51 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - [EJB 3.0 & JSF 1.2] Injection failed on managed bean. Message-ID: <520090.1255441431106.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am using jboss-5.0.0.CR1 EJB 3.0 JSF 1.2 I am trying to inject a stateful session bean inside a managed bean (JSF). Basically, I am doing the classic code similar to the one used in this JIRA issue : https://jira.jboss.org/jira/browse/JBPAPP-192 Does injection work with this version of JBoss AS ? Thanks for helping. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260100#4260100 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260100 From do-not-reply at jboss.com Tue Oct 13 09:46:04 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Tue, 13 Oct 2009 09:46:04 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Serialization problem using JDBC cache loader and MySQL Message-ID: <13274258.1255441564641.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Are you saying you made serialVersionUID a mutable field and are setting it to one on some instances of the class? That won't work; the java io classes (not JBoss) compare the value read from the stream to the value of the Class object. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260101#4260101 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260101 From do-not-reply at jboss.com Tue Oct 13 10:17:01 2009 From: do-not-reply at jboss.com (caultonpos) Date: Tue, 13 Oct 2009 10:17:01 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Running multiple appservers with RMI same server Message-ID: <7700922.1255443421123.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am configuring the server to run multiple appservers Jboss 4.2.1 on the same O/S. I changed all the ports (or at least the obvious ones I could fine) on the second server and started it up. Seemed to work. However there were subtle issues that seemed to suggest (though unconfirmed) that there were still conflicts - possibly with beans doing local lookups and finding the wrong bean or hanging. Is there any guide to all the ports and any other configuration changes to run 2 appservers on the same O/S ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260107#4260107 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260107 From do-not-reply at jboss.com Tue Oct 13 10:21:55 2009 From: do-not-reply at jboss.com (theSourpuss) Date: Tue, 13 Oct 2009 10:21:55 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - event listener expression Message-ID: <5422545.1255443715173.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, === Environment ============================== - jBPM Version : 4.1 - JDK : 1.6 - Configuration : SeamConfiguration/SpringConfiguration === Process ================================== | | | | === Stacktrace ================================ java.lang.NullPointerException at org.jbpm.pvm.internal.model.op.ExecuteEventListener.perform(ExecuteEventListener.java:81) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:637) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:597) at org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:398) at org.jbpm.pvm.internal.cmd.SignalCmd.execute(SignalCmd.java:61) at org.jbpm.pvm.internal.cmd.SignalCmd.execute(SignalCmd.java:35) at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) at org.jbpm.pvm.internal.tx.SeamTransactionInterceptor.execute(SeamTransactionInterceptor.java:40) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46) at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.signalExecutionById(ExecutionServiceImpl.java:84) === Problem description ========================= According to jbpdl-4.0.xsl an event-listener can have an 'expr' attribute instead of an 'class' attribute. But why I get an exception if I use the 'expr' attribute. The 'expr' works fine in java and custom activities. As I have seen it is not considered in EventListenerBinding->JpdlParser->parseObjectDescriptor(...) Am I right, or is it in any way possible to use expression here? kind regards, tony View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260108#4260108 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260108 From do-not-reply at jboss.com Tue Oct 13 10:27:28 2009 From: do-not-reply at jboss.com (longbeach) Date: Tue, 13 Oct 2009 10:27:28 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: [EJB 3.0 & JSF 1.2] Injection failed on managed bean. Message-ID: <28525297.1255444048657.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Never mind, I got it working. @EJB needs to be used with the "name" attribute. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260110#4260110 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260110 From do-not-reply at jboss.com Tue Oct 13 10:47:54 2009 From: do-not-reply at jboss.com (jamba) Date: Tue, 13 Oct 2009 10:47:54 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Freeware Jboss Monitor Message-ID: <2024159.1255445274213.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> could some one suggest freeware monitors for jboss application server with documentation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260113#4260113 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260113 From do-not-reply at jboss.com Tue Oct 13 11:33:35 2009 From: do-not-reply at jboss.com (ironosity) Date: Tue, 13 Oct 2009 11:33:35 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Multiple JBoss instance as a service Message-ID: <3386148.1255448015126.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you! Problem solved! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260121#4260121 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260121 From do-not-reply at jboss.com Tue Oct 13 11:36:04 2009 From: do-not-reply at jboss.com (makam) Date: Tue, 13 Oct 2009 11:36:04 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - nested Forks Message-ID: <25718309.1255448164192.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am having problems with the Forks, I'm not sure if it's a conceptual problem or a Bug. When released two nested Forks, suppose that the second fork has 2 tasks (T1 and T2), at runtime repeats one of the tasks, ie tasks Launches (T1, T2 and T1 again) when it really should throw only T1 and T2. This situation happens only if the first Fork launches at least 1 task and a Fork, Fork in this case explained above. Yours sincerely. Sebatian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260122#4260122 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260122 From do-not-reply at jboss.com Tue Oct 13 11:38:40 2009 From: do-not-reply at jboss.com (ironosity) Date: Tue, 13 Oct 2009 11:38:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Start JBoss from a remote machine? Message-ID: <17395493.1255448320767.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Figured it out. Thanks! From another post ( http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162375 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260123#4260123 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260123 From do-not-reply at jboss.com Tue Oct 13 11:46:40 2009 From: do-not-reply at jboss.com (ironosity) Date: Tue, 13 Oct 2009 11:46:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Start JBoss from a remote machine? Message-ID: <5989019.1255448800374.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Figured it out. Thanks! From another post on multiple services. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162375 I ran each JBoss instance as a service and then using PsService: http://technet.microsoft.com/en-us/sysinternals/bb897542.aspx I was able to start/stop the service remotely within my domain. Thanks alot! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260126#4260126 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260126 From do-not-reply at jboss.com Tue Oct 13 11:51:15 2009 From: do-not-reply at jboss.com (KeithHenn) Date: Tue, 13 Oct 2009 11:51:15 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Jboss Security Realm Message-ID: <16441990.1255449075435.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I'm just starting to migrate our application from Weblogic to Jboss 5.1. In weblogic we authenticate our users against the user console built into weblogic. If you are familiar with weblogic you know that you can add/modify/delete users/groups via the admin console, and the same can be done programmatic-ally. Is there anything similar in Jboss? In the brief perusing I have done, the only user-role authentication I've seen involves properties files or the database. Have I missed something? Thank you for your help. Keith View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260127#4260127 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260127 From do-not-reply at jboss.com Tue Oct 13 12:07:46 2009 From: do-not-reply at jboss.com (clashboy) Date: Tue, 13 Oct 2009 12:07:46 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: JAX-WS Web Service Authentication (NTLM) against a MS CR Message-ID: <18441793.1255450066806.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, i want to access the M$ CRM, too. I get the same 401 Unauthorized Execption. Using: JBossWS 3.2.0 (nativ) | Exception in thread "main" com.sun.xml.ws.client.ClientTransportException: request requires HTTP authentication: Unauthorized | at com.sun.xml.ws.transport.http.client.HttpClientTransport.checkResponseCode(HttpClientTransport.java:212) | at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:149) | at com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:86) | at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595) | at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554) | at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539) | at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436) | at com.sun.xml.ws.client.Stub.process(Stub.java:248) | at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135) | at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109) | at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89) | at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118) | at $Proxy24.retrieveMultiple(Unknown Source) | at test.JBossWS.main(JBossWS.java:189) | I sniff the network for checking the chunking issue, but it is disabled. | POST /MSCrmServices/2007/CrmService.asmx HTTP/1.1 | SOAPAction: "http://schemas.microsoft.com/crm/2007/WebServices/RetrieveMultiple" | Content-Type: text/xml;charset="utf-8" | Accept: text/xml, multipart/related, text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | User-Agent: JAX-WS RI 2.1.3-b02- | Host: 10.10.10.1:3000 | Connection: keep-alive | Content-Length: 413 | Authorization: NTLM TlRMTVNTUAABAAAAB4IIogAAAAAAAAAAAAAAAAAAAAAFASgKAAAADw== | | | | | | | LEAD | | | | | | | HTTP/1.1 401 Unauthorized | Content-Length: 51 | Content-Type: text/plain | Server: Microsoft-IIS/6.0 | WWW-Authenticate: NTLM TlRMTVNTUAACAAAAEAAQADgAAAAFgomidBgBvxAJL2AAAAAAAAAAAKYApgBIAAAABQLODgAAAA9HAEEATABBAFgASQBTADQAAgAQAEcAQQBMAEEAWABJAFMANAABAA4ASgBVAFAASQBUAEUAUgAEABwAZwBhAGwAYQB4AGkAcwA0AC4AbABvAGMAYQBsAAMALABKAFUAUABJAFQARQBSAC4AZwBhAGwAYQB4AGkAcwA0AC4AbABvAGMAYQBsAAUAHABnAGEAbABhAHgAaQBzADQALgBsAG8AYwBhAGwABwAIAKilKVgeTMoBAAAAAA== | X-Powered-By: ASP.NET | Date: Tue, 13 Oct 2009 16:00:53 GMT | | HTTP Error 401.1 - Unauthorized: Access is denied | HTTP/1.1 401 Unauthorized | Date: Tue, 13 Oct 2009 16:00:54 GMT | Server: Microsoft-IIS/6.0 | WWW-Authenticate: Negotiate | WWW-Authenticate: NTLM | X-Powered-By: ASP.NET | X-AspNet-Version: 2.0.50727 | Cache-Control: private | Content-Length: 0 | Have any one an idea or link with a solution? Greetz, Clash View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260128#4260128 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260128 From do-not-reply at jboss.com Tue Oct 13 12:10:59 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 13 Oct 2009 12:10:59 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: event listener expression Message-ID: <31382927.1255450259443.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4258980#4258980 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260130#4260130 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260130 From do-not-reply at jboss.com Tue Oct 13 12:29:53 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 13 Oct 2009 12:29:53 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: org.hibernate.MappingException: Named query not known: f Message-ID: <22335627.1255451393927.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sounds like a bug... I do not have that query either. Please file a jira issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260132#4260132 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260132 From do-not-reply at jboss.com Tue Oct 13 12:30:02 2009 From: do-not-reply at jboss.com (c4s4l) Date: Tue, 13 Oct 2009 12:30:02 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Synchronous process execution Message-ID: <7570133.1255451402712.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for your response Ronald. I understand what you are saying, but in my opinion the "to many (java) threads" should be at the user consideration, if I want to use them, the jBPM should give that option. There are some actions that must be sequenced by nature, just think in on the JBoss ESB action pipeline that I'm using. By nature the action pipeline is synchronous, but if I invoke a jBPM process I will lose that synchronism or else I have to implement some blocking mechanism my self, which is uglier than the jBPM supporting it intrinsically. I searched for the keyword STP in the jBPM users forum but did not find any thing useful, which previous post are you referring to? Thanks, Sergio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260133#4260133 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260133 From do-not-reply at jboss.com Tue Oct 13 12:43:07 2009 From: do-not-reply at jboss.com (dgolovin) Date: Tue, 13 Oct 2009 12:43:07 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Sharing Seam projects with SVN Message-ID: <23995145.1255452187004.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The problem might be related to your data source 'emtmDatasource'. Does your mate have an access to that data source on his desktop? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260134#4260134 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260134 From do-not-reply at jboss.com Tue Oct 13 12:44:16 2009 From: do-not-reply at jboss.com (emmitt1219) Date: Tue, 13 Oct 2009 12:44:16 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Inflight Traffic During Deployment Message-ID: <26921036.1255452256868.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am looking for a way for JBoss to complete all inflight transactions while not accepting anymore incoming traffic. In other words, my goal is not to lose any inflight transactions and somehow direct incoming traffic to all the other nodes. Is there a way to accomplish this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260135#4260135 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260135 From do-not-reply at jboss.com Tue Oct 13 12:44:24 2009 From: do-not-reply at jboss.com (jriesenberg) Date: Tue, 13 Oct 2009 12:44:24 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - jbossweb-tomcat.sar upgrade to Tomcat 5.5.28 Message-ID: <28010628.1255452264583.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The Apache Tomcat project posts periodic security updates to Tomcat (the latest version of 5.5 is 5.5.28). Is there a way to upgrade the jbossweb-tomcat.sar to incorporate the latest build? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260136#4260136 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260136 From do-not-reply at jboss.com Tue Oct 13 12:47:29 2009 From: do-not-reply at jboss.com (dgolovin) Date: Tue, 13 Oct 2009 12:47:29 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: HelloWorld Tutorial Does Not Work Message-ID: <9860701.1255452449443.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What is the version for JBoss Tools? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260137#4260137 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260137 From do-not-reply at jboss.com Tue Oct 13 12:56:11 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 13 Oct 2009 12:56:11 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Synchronous process execution Message-ID: <30189251.1255452971564.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : I understand what you are saying, but in my opinion the "to many (java) threads" should be at the user consideration, if I want to use them, the jBPM should give that option. It's not something that could/should not be in jBPM, it's just that the combination of having a blocking process with waitstates is not something that has been requested a lot before (at all afaik) so there simple was not any time spent in realizing this. With my 'previous post' I refered to the post in this topic, sorry for the confusion. Like I said, jBPM supports executing synchronous services and is blocking IF the services you call are all synchrounous. Since you do not seem to have a problem with blocking threads, you can create blocking services. That is even cleaner than jBPM providing it 'intrisically' ;-). So this way you do not lose the 'synchronism' and I still think a thread blocking for possible long period (since you have human task) is a wrong design of a system with many downsides and possible problems like transactiontimeouts, etc.Maybe it is time to rethink some of your architecture. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260138#4260138 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260138 From do-not-reply at jboss.com Tue Oct 13 12:59:17 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 13 Oct 2009 12:59:17 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: nested Forks Message-ID: <30487967.1255453157534.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Contrary to what you think and wrote in the jira issue, the unit test is *very* important in this case. You seem to be using jBPM in a non standard way by repeating tasks. I'm not saying this is not something that is impossible, but the way you do it might be very important. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260139#4260139 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260139 From do-not-reply at jboss.com Tue Oct 13 13:05:55 2009 From: do-not-reply at jboss.com (anitdp) Date: Tue, 13 Oct 2009 13:05:55 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - WAR deployment issue for Jackrabbit (JCR1.7) enabled code Message-ID: <3385830.1255453555359.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I get the following JAXB exception while trying to deploy my war file to jboss: 2009-10-12 14:45:38,217 SEVERE [javax.enterprise.resource.webservices.jaxws.server.http] (ResourceContainer.invoker.nonDaemon-1) WSSERVLET11: failed to parse runtime descriptor: javax.xml.ws.WebServiceException: Unable to create JAXBContext javax.xml.ws.WebServiceException: Unable to create JAXBContext at com.sun.xml.ws.model.AbstractSEIModelImpl.createJAXBContext(AbstractSEIM odelImpl.java:158) at com.sun.xml.ws.model.AbstractSEIModelImpl.postProcess(AbstractSEIModelIm pl.java:87) at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.jav a:262) at com.sun.xml.ws.server.EndpointFactory.createSEIModel(EndpointFactory.jav a:322) at com.sun.xml.ws.server.EndpointFactory.createEndpoint(EndpointFactory.jav a:188) at com.sun.xml.ws.api.server.WSEndpoint.create(WSEndpoint.java:467) Caused by: java.security.PrivilegedActionException: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions java.util.List is an interface, and JAXB can't handle interfaces. this problem is related to the following location: at java.util.List java.util.List does not have a no-arg default constructor. this problem is related to the following location: at java.util.List Did anyone encounter this type of issue on JBOSS or any other application server? The same WAR file deploys fine on Tomcat server. Any suggestions would be highly appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260141#4260141 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260141 From do-not-reply at jboss.com Tue Oct 13 13:22:58 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 13 Oct 2009 13:22:58 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Question and remark about mail-templates Message-ID: <21967094.1255454578392.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am stuck finding the configuration file for the tomcat demo setup. Any hint is highly appreciated. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260143#4260143 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260143 From do-not-reply at jboss.com Tue Oct 13 13:28:15 2009 From: do-not-reply at jboss.com (drcallaway) Date: Tue, 13 Oct 2009 13:28:15 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Serialization problem using JDBC cache loader and MySQL Message-ID: <11358294.1255454895837.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> No, it is not mutable. The serialized classes contain this code generated by the JAXB compiler: private final static long serialVersionUID = 1L; The classes seem to be getting stored with this UID but not extracted that way. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260144#4260144 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260144 From do-not-reply at jboss.com Tue Oct 13 13:35:47 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Tue, 13 Oct 2009 13:35:47 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Serialization problem using JDBC cache loader and MySQL Message-ID: <31410536.1255455347142.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I suspect you have different versions of the class on the classpath. Caused by: java.io.InvalidClassException: com.company.generated.MyNode; local class incompatible: | stream classdesc serialVersionUID = 1, local class serialVersionUID = -7258818124315218931 JBoss is not generating that local class serialVersionUID = -7258818124315218931; that comes from the JRE, which must be seeing a different version of the class. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260147#4260147 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260147 From do-not-reply at jboss.com Tue Oct 13 13:58:02 2009 From: do-not-reply at jboss.com (bwalker55) Date: Tue, 13 Oct 2009 13:58:02 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Web Configuration with all admin tools Message-ID: <15078140.1255456682504.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'd like to use a configuration based on the 'web' configuration, but add the other two admin tools: Admin console, and web-console (jmx-console already comes bundled). I've added admin-console.war and management/* from the 'default' config to the 'web' config. Admin console works, but web-console does not. The following errors are probably related and appear at startup: 10:33:13,096 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): | | DEPLOYMENTS MISSING DEPENDENCIES: | Deployment "jboss.admin:service=PluginManager" is missing the following dependencies: | Dependency "jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor' **") | Deployment "jboss.web.deployment:war=/web-console" is missing the following dependencies: | Dependency "jboss.admin:service=PluginManager" (should be in state "Create", but is actually in state "Configured") | | DEPLOYMENTS IN ERROR: | Deployment "jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jmx:name=Invoker,protocol=jrmp,service=proxyFactory,type=adaptor' ** What else do I need to add to add to the 'web' configuration to make the web-console work? If there is a document somewhere that tells how to add/remove services (and the interdependencies) that would help also. Thanks, Bob. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260150#4260150 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260150 From do-not-reply at jboss.com Tue Oct 13 14:08:23 2009 From: do-not-reply at jboss.com (Kobie) Date: Tue, 13 Oct 2009 14:08:23 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Password Masking in JBoss 5 xml configuration files Message-ID: <15246909.1255457303158.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Does anyone know how i can mask/hide the username and password in my datasource xml configuration file in Jboss 5.0.1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260152#4260152 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260152 From do-not-reply at jboss.com Tue Oct 13 15:38:52 2009 From: do-not-reply at jboss.com (bwalker55) Date: Tue, 13 Oct 2009 15:38:52 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Web Configuration with all admin tools Message-ID: <12387622.1255462732568.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Well, it appears as if this question is moot. When adding the Admin Console to the 'web' configuration, there is nothing to manage, so perhaps I'm going down the wrong path by starting with 'web' and building up. I've also started with 'default' and attempted to take away services, but haven't been successful with that either. Perhaps the question is more along the lines of: 'Where can I find information about configurations and services.' I would like to develop a configuration that is lighter than 'default', I only need a web servlet container, but with some adminstration tools. Thanks, Bob. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260164#4260164 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260164 From do-not-reply at jboss.com Tue Oct 13 15:53:37 2009 From: do-not-reply at jboss.com (nsanz) Date: Tue, 13 Oct 2009 15:53:37 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - apache2 + jboss5 + ubuntu Message-ID: <10971632.1255463617983.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I configure apache to serve to jboss trough ajp, the configuration was: [jk.conf] | # Where to find workers.properties | JkWorkersFile /etc/libapache2-mod-jk/workers.properties | | # Where to put jk logs | JkLogFile /var/log/apache2/mod_jk.log | | # Set the jk log level [debug/error/info] | JkLogLevel error | JkShmFile /var/log/apache2/jk-runtime-status | | # Select the log format | JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " | | # JkOptions indicate to send SSL KEY SIZE, | JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories | | # JkRequestLogFormat set the request format | JkRequestLogFormat "%w %V %T" | | # Send servlet for context / jsp-examples to worker named worker1 | #JkMount /jsp-examples ajp13_worker | | # Send JSPs for context /jsp-examples/* to worker named worker1 | #JkMount /jsp-examples/* ajp13_worker | #EJB-war | #JkMount /EJB-war ajp13_worker | #JkMount /EJB-war/* ajp13_worker | #JkMount /* ajp13_worker | #JkMount /*-war/ ajp13_worker | #JkAutoAlias /home/nsanz/Apps/jboss-5.1.0.GA/server/default/deploy/ | JkAutoAlias /usr/local/jboss/server/default/deploy/ | JkMount /EJB-war/* ajp13_worker | | | JkMount status | Order deny,allow | Allow from all | | [workers.properties] | ps=/ | worker.list=ajp13_worker | worker.ajp13_worker.port=8009 | worker.ajp13_worker.host=128.0.0.1 | worker.ajp13_worker.type=ajp13 | worker.ajp13_worker.lbfactor=1 | worker.loadbalancer.type=lb | worker.loadbalancer.balance_workers=ajp13_worker | [jbossweb.sar/server.xml] | | | the problem was wen I trie to enter http://serverip/EJB-war apache responde that the page is unavailable View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260167#4260167 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260167 From do-not-reply at jboss.com Tue Oct 13 16:19:28 2009 From: do-not-reply at jboss.com (gavinlam) Date: Tue, 13 Oct 2009 16:19:28 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: HelloWorld Tutorial Does Not Work Message-ID: <24526074.1255465168679.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm using the latest developer build View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260171#4260171 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260171 From do-not-reply at jboss.com Tue Oct 13 16:24:15 2009 From: do-not-reply at jboss.com (nsanz) Date: Tue, 13 Oct 2009 16:24:15 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: apache2 + jboss5 + ubuntu Message-ID: <15720567.1255465455440.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> finally works, first in workers properties the address is bad, must change from 128.0.0.1 to 127.0.0.1 (or localhost) Second: the JkMount must be in a virtual host. I put JkMount commands into my virtual host and comment from jk.conf and all work fine View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260172#4260172 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260172 From do-not-reply at jboss.com Tue Oct 13 16:59:19 2009 From: do-not-reply at jboss.com (drcallaway) Date: Tue, 13 Oct 2009 16:59:19 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Serialization problem using JDBC cache loader and MySQL Message-ID: <28488651.1255467559553.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yep. You nailed it. I discovered that I had an old version of the WAR file still in JBoss's deploy directory. Somehow JBoss was inserting the newer file into JBC but using the older class when pulling it out. I removed the old WAR file and everything seems to be working fine. Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260175#4260175 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260175 From do-not-reply at jboss.com Tue Oct 13 17:46:11 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 13 Oct 2009 17:46:11 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Question and remark about mail-templates Message-ID: <28564894.1255470371291.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> use e.g. | in your jbpm.cfg.xml instead of embedding the templates View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260180#4260180 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260180 From do-not-reply at jboss.com Tue Oct 13 19:17:05 2009 From: do-not-reply at jboss.com (john.hagewood@gmail.com) Date: Tue, 13 Oct 2009 19:17:05 -0400 (EDT) Subject: [jboss-user] [MQ] - Re: JMS error with SQLServer Message-ID: <22684967.1255475825984.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am having this same problem, intermittently, in JBOSS 4.2.3.GA, running on Windows 2003 Server, MS SQL Server 2005: org.jboss.mq.SpyJMSException: Could not store message: 3682 msg=3669 hard NOT_STORED PERSISTENT queue=QUEUE.VPSEmailQueue priority=4 lateClone=false hashCode=23743259; - nested throwable: (com.microsoft.sqlserver.jdbc.SQLServerException: Cannot insert duplicate key row in object 'dbo.JMS_MESSAGES' with unique index 'JMS_MESSAGES_IDX'.) at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:1133) at org.jboss.mq.server.PersistentQueue.addMessage(PersistentQueue.java:58) at org.jboss.mq.server.JMSQueue.addMessage(JMSQueue.java:180) at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:439) at org.jboss.mq.server.JMSDestinationManager.addMessage(JMSDestinationManager.java:422) at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:112) at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:114) at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:419) at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:398) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:761) at java.lang.Thread.run(Thread.java:619) Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: Cannot insert duplicate key row in object 'dbo.JMS_MESSAGES' with unique index 'JMS_MESSAGES_IDX'. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source) at com.microsoft.sqlserver.jdbc.IOBuffer.processPackets(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.getPrepExecResponse(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.doExecutePreparedStatement(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement$PreparedStatementExecutionRequest.executeStatement(Unknown Source) at com.microsoft.sqlserver.jdbc.CancelableRequest.execute(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeRequest(Unknown Source) at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.executeUpdate(Unknown Source) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:365) at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:1172) at org.jboss.mq.pm.jdbc2.PersistenceManager.add(PersistenceManager.java:1118) ... 10 more We have had to turn on JMS queuing of our outbound emails until a resolution can be found. We are dropping notification emails on the floor due to this JMS issue! Please help!? Thanks John Hagewood Manager of Software Development View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260186#4260186 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260186 From do-not-reply at jboss.com Tue Oct 13 19:51:30 2009 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 13 Oct 2009 19:51:30 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Memory monitoring in JBoss Message-ID: <18888076.1255477890129.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Runtime.getRuntime().freeMemory() View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260190#4260190 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260190 From do-not-reply at jboss.com Tue Oct 13 19:56:28 2009 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 13 Oct 2009 19:56:28 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Freeware Jboss Monitor Message-ID: <19495364.1255478188717.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Perhaps this will do: http://www.jboss.org/jopr View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260192#4260192 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260192 From do-not-reply at jboss.com Tue Oct 13 20:13:34 2009 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 13 Oct 2009 20:13:34 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Password Masking in JBoss 5 xml configuration files Message-ID: <21772577.1255479214573.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Please do not ask the same question in multiple forums. http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260193 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260194#4260194 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260194 From do-not-reply at jboss.com Tue Oct 13 20:16:51 2009 From: do-not-reply at jboss.com (mmello) Date: Tue, 13 Oct 2009 20:16:51 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - webserviceref annotation does not instantiate service object Message-ID: <28140255.1255479411980.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I am using: JBossAS5.1.0 on Windows Server 2003 JBossWS Metro 3.2.0 I have created a web service client that can be created and used with this code: Ap009MService service = new Ap009MService(); However, it cannot be created with this code: @WebServiceRef(wsdlLocation = "http://hostname.com:8080/ServicesPool/Ap009MService?wsdl") private Ap009MService service; I am not getting any errors in the code (except an NPE when I try to access methods of the null service object). I cannot find a reason for this documented anywhere. Does anyone know the best way to cause JBossWS(metro or cxf) to instantiate a web service reference automatically? Will this @WebServiceRef annotation work at all under JBossAS-5.1.0+JBossWSMetro-3.2.0? Thanks for any help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260195#4260195 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260195 From do-not-reply at jboss.com Tue Oct 13 20:19:29 2009 From: do-not-reply at jboss.com (drcallaway) Date: Tue, 13 Oct 2009 20:19:29 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Asynchronous database access performance Message-ID: <12979289.1255479569076.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have configured JBoss Cache to asynchronously write to a MySQL database. I'm using this "write-behind" configuration in order to improve performance by not blocking the client while writing to the database. However, it seems that there is still a performance hit. For example, I tested writing an object to the JBoss Cache without any persistence. This only took about 1ms. In contrast, when I configured the cache to use MySQL asynchronously, the operation took about 30ms. My cache config file looks like this: | | | | | cache.jdbc.table.name=jbosscache | cache.jdbc.table.create=true | cache.jdbc.table.drop=false | cache.jdbc.table.primarykey=jbosscache_pk | cache.jdbc.fqn.column=fqn | cache.jdbc.fqn.type=VARCHAR(255) | cache.jdbc.node.column=node | cache.jdbc.parent.column=parent | cache.jdbc.driver=com.mysql.jdbc.Driver | cache.jdbc.url=jdbc:mysql://${interview.db.host:localhost}:${interview.db.port:3306}/${interview.db.name:mydatabase} | cache.jdbc.user=${interview.db.username:root} | cache.jdbc.password=${interview.db.password:} | cache.jdbc.node.type=LONGBLOB | | | | Why does it take so much longer to write to a cache that asynchronously writes to a database? Shouldn't this call return immediately while running the database update in a separate thread? Is it caused by the overhead required to create and run the new thread? Thanks! Dustin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260196#4260196 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260196 From do-not-reply at jboss.com Tue Oct 13 20:20:16 2009 From: do-not-reply at jboss.com (born_free_77) Date: Tue, 13 Oct 2009 20:20:16 -0400 (EDT) Subject: [jboss-user] [JCA] - Oracle Failover connection url Message-ID: <31549800.1255479616010.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am trying to connect to Oracle 11g RAC using -ds file with | | I am having problem with connection url | (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxx)(PORT=1521))(CONNE | CT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=xxxx)))| | (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=xxxxx)(PORT=1521))(CONNE | CT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=xxxxx))) | When I start jboss it does not connect, throws error - unable to connection using urls. Any idea what I am missing, Does any one has sample ds files? Born View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260197#4260197 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260197 From do-not-reply at jboss.com Tue Oct 13 20:23:31 2009 From: do-not-reply at jboss.com (born_free_77) Date: Tue, 13 Oct 2009 20:23:31 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Oracle Failover connection url Message-ID: <1801946.1255479811877.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I do have | URL | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260198#4260198 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260198 From do-not-reply at jboss.com Tue Oct 13 20:32:16 2009 From: do-not-reply at jboss.com (born_free_77) Date: Tue, 13 Oct 2009 20:32:16 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Oracle Failover connection url Message-ID: <11037058.1255480336971.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Just want to add that I do have url-delimiter correctly defined in ds file View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260199#4260199 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260199 From do-not-reply at jboss.com Tue Oct 13 21:45:02 2009 From: do-not-reply at jboss.com (born_free_77) Date: Tue, 13 Oct 2009 21:45:02 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Oracle Failover connection url Message-ID: <26239045.1255484702742.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I was able to start the jboss up and running and I was able to navigate the app also. Now if I bring down the node 1 of oracle rac the failover to next node (as mentioned in connection url) does not happens and jboss throws lots of exception. Now I bring the node 1 backup again and app seems to work fine. Looks like fail over is not working. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260205#4260205 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260205 From do-not-reply at jboss.com Tue Oct 13 23:38:30 2009 From: do-not-reply at jboss.com (gbansal80) Date: Tue, 13 Oct 2009 23:38:30 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - User: null is NOT authenticated Message-ID: <19185244.1255491510839.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We are currently using JBoss v4.2.3.ga and have upgraded JBoss messaging to v 1.4.4 and JBoss remoting to v2.2.3. JMS messages are sent & received without any exceptions for initial 3-4 days. After that we are observing exception messages javax.jms.JMSSecurityException: User null is NOT authenticated , whenever we are trying to create the connection. We have seen that there is no deadlock on JBoss AS and other DB operations are working normally. We are using the following security domain for JMS guest java:/DefaultDS SELECT PASSWD FROM JBM_USER WHERE USER_ID=? SELECT ROLE_ID, 'Roles' FROM JBM_ROLE WHERE USER_ID=? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260207#4260207 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260207 From do-not-reply at jboss.com Wed Oct 14 01:25:47 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 14 Oct 2009 01:25:47 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Web Configuration with all admin tools Message-ID: <32300332.1255497947372.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I would go with your latter approach of trimming down the "default" configuration. Here's a guide for AS-4.x http://www.jboss.org/community/wiki/JBoss4xSlimming but probably would similarly apply to AS-5 (with changes the file names/locations). Even though there is a wiki around this specifically for AS-5 http://www.jboss.org/community/wiki/JBoss5xTuningSlimming, it is not as complete as the AS-4 version. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260212#4260212 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260212 From do-not-reply at jboss.com Wed Oct 14 01:38:56 2009 From: do-not-reply at jboss.com (ttarhan) Date: Wed, 14 Oct 2009 01:38:56 -0400 (EDT) Subject: [jboss-user] [Security] - User identity and login questions Message-ID: <14817156.1255498736655.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have a three-part question: 1) Is there a way to propogate an identity other than the username that was specified during login? For example, using the DatabaseServerLoginModule, I want to authenticate the user with a username/password but return the user's id, and not username, when ejbContext.getCallerPrincipal() or httpRequest.getUserPrincipal() is called. 2) Even better, I want to make a custom login module which returns a User object (probably an entity which was loaded from the database). However, even if I wrap that User object up nicely in a Principal subclass in my login module, the EJB-layer never gets that object. Instead, the EJB-layer always gets a SimplePrincipal when getCallerPrincipal is called. 3) I want to be able to trigger a login programmatically, as described in WebAuthentication. However, I need to do this without knowing the password. Imagine a customer service interface where a customer service agent can login to the application as an end-user. They would click a "login-as" button and we should be able to programmatically log them in as a user, without ever knowing the user's password (the customer service agent is already authenticated himself). You could also have this same scenario with "forgot password" which uses an alternate login mechanism to authenticate the user and then programatically logs them in. Thanks, Tolga View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260213#4260213 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260213 From do-not-reply at jboss.com Wed Oct 14 02:27:06 2009 From: do-not-reply at jboss.com (homes) Date: Wed, 14 Oct 2009 02:27:06 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: org.hibernate.MappingException: Named query not known: f Message-ID: <3848282.1255501626505.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have another question: What are the difference between ReprositorySession and DBSession? When I implement a new FindProcessInstanceById command and use the ReprositorySession class instead of DBSession, the whole command works fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260218#4260218 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260218 From do-not-reply at jboss.com Wed Oct 14 02:31:33 2009 From: do-not-reply at jboss.com (shekharpyne) Date: Wed, 14 Oct 2009 02:31:33 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Web service call or javax.xml.bind.JAXBException Message-ID: <18674112.1255501893802.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have kind of problem..Will you plz help... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260219#4260219 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260219 From do-not-reply at jboss.com Wed Oct 14 02:49:39 2009 From: do-not-reply at jboss.com (jkoops) Date: Wed, 14 Oct 2009 02:49:39 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: [METRO] com.sun.xml.ws.api.pipe.TubelineAssemblerFactory Message-ID: <27482652.1255502979826.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you, Richard, this pointed me in the right direction: My TubelineAssemblerFactory was not used because my jar was after jbossws-metro-wsit-rt.jar in the classpath order. This jar also defines a custom TubelineAssemblerFactory and Metro silently uses the first one. I did not patch the RuntimeModelDeploymentAspect, since it just returns null, causing Metro to search itself. I deleted the META-INF/services entry in the jbossws-metro-wsit-rt.jar and adapted my custom TubelineAssemblerFactory to imitate the WSIT-one Now I crash into https://jira.jboss.org/jira/browse/JBWS-2301, https://jaxb.dev.java.net/issues/show_bug.cgi?id=564 Thank you again, Jan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260222#4260222 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260222 From do-not-reply at jboss.com Wed Oct 14 03:30:55 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 14 Oct 2009 03:30:55 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Question and remark about mail-templates Message-ID: <15922711.1255505455943.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> So http://docs.jboss.org/jbpm/v4/devguide/html_single/#mailtemplates is not up to date? In the jbpm.mail.templates.xml I directly start with the tag or do I need to embedd the template into and ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260227#4260227 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260227 From do-not-reply at jboss.com Wed Oct 14 03:34:00 2009 From: do-not-reply at jboss.com (roelof) Date: Wed, 14 Oct 2009 03:34:00 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: IllegalStateException: Cannot find counter with name Message-ID: <6244180.1255505640321.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> i did a bit more investigation into the problem: 1. the jbm_postoffice table contain the correct information 2. the ServerPeer on each node return the correct counters for the subscriber connected to that node. it does not return the counters for the subscribers on the other node. after a node restart or topic stop/start the problem goes away. 3. i added an additional trace in MessageCounterManager::registerMessageCounter. the counter is added to the HashMap. 4. the problem is not resolved by having the subscribers disconnect and re-connect to the other node in the cluster. from the look of things the problem seems to indicate a synchronization problem, i.e. the registering of counters is not propagated correctly in the cluster? is there existing functionality to perform that synchronization? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260228#4260228 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260228 From do-not-reply at jboss.com Wed Oct 14 03:35:41 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 14 Oct 2009 03:35:41 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Question and remark about mail-templates Message-ID: <17293721.1255505741752.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The main problem stays the same. Where to put the configuration file? I always assumed install/generated/cfg/jbpm.cfg.xml would be used in the tomcat demo setup. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260229#4260229 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260229 From do-not-reply at jboss.com Wed Oct 14 03:58:44 2009 From: do-not-reply at jboss.com (PoonamAgarwal) Date: Wed, 14 Oct 2009 03:58:44 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Slow consumer is blocking producer Message-ID: <3368727.1255507124695.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am using Jboss 4.2.0 and JBoss Messaging 1.4.4. I am facing a performance issue. I am using 1 publisher and 1 subscriber to a Topic. I am trying to post 36000 messages to the topic from the producer. The subscriber(consumer) takes each message and does some processing. But, what I have observed is that the publisher is slow in posting messages on the topic. If I comment out the processing code on the consumer(MessageListener) , just print the received message, then I see the postToTopic becomes fast. I was of the view that Jboss Messaging is asynchronous. but, the above observation shows that a consumer is blocking producer which is like a synchronous call. I have tried to make Slow Consumer true and also increasing the pre-fetchsize but, nothing seems to make it faster. My framework performance is kinda disturbed bcoz of this behaviour. Can somebody help me to solve this problem please? -Poonam. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260232#4260232 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260232 From do-not-reply at jboss.com Wed Oct 14 04:03:59 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 14 Oct 2009 04:03:59 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Question and remark about mail-templates Message-ID: <25610039.1255507439453.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Okay, the configuration file seems to reside in jbpm.cfg.jar in the lib-Folder of the Tomcat-installation? This is not documented somewhere, is it? :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260234#4260234 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260234 From do-not-reply at jboss.com Wed Oct 14 04:35:37 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 14 Oct 2009 04:35:37 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Question and remark about mail-templates Message-ID: <10654997.1255509337758.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> How to define mail templates in the configuration for the Tomcat demo setup: 1. Grab jbpm.cfg.jar which was created during the run of ant demo.setup.tomcat. [list=test] * TEST * TEST2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260237#4260237 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260237 From do-not-reply at jboss.com Wed Oct 14 04:37:28 2009 From: do-not-reply at jboss.com (ralle) Date: Wed, 14 Oct 2009 04:37:28 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Problems with different permissions for Local- and Remote-In Message-ID: <20265670.1255509448360.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It seems, that's JBoss (Version 4.2.3) cannot handle different permissions for the local and the remote interface of an Ejb-Method. Here is my example. SbExampleBean Local * SbExampleBean Remote * ---- ExampleDomain SbExampleBean With this configuration JBoss permits remote access to the Bean, but i want local access only to the bean. Is this a bug or is there something wrong with the configuration? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260239#4260239 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260239 From do-not-reply at jboss.com Wed Oct 14 04:40:12 2009 From: do-not-reply at jboss.com (derget) Date: Wed, 14 Oct 2009 04:40:12 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - JBossTools & JMX Poller - Server failed to start Message-ID: <24983881.1255509612314.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi! I'm using the following combination: Win32 Java 1.6 U16 Eclipse Galileo 3.5 SR1 JBoss Tools 3.1.0.M3 JBoss 3.2.7 When starting the 'default' configuration everything is fine, but any other config fails. I've got the following error: "Server JBoss 3.2 Runtime Server failed to start. An exception stack trace is not available." After searching the filesystem for any clues or hints what's going wrong, I found a logfile in the metadir of my workspace @ ".metadata\.plugins\org.jboss.ide.eclipse.as.core\JBoss_3.2_Runtime_Server\log" with the following content: !ENTRY org.jboss.ide.eclipse.as.core 4 16842752 2009-10-14 10:19:48.580 !MESSAGE Failure in Poll Thread !STACK 0 org.jboss.ide.eclipse.as.core.server.IServerStatePoller$PollingException: java.lang.Boolean cannot be cast to java.lang.String at org.jboss.ide.eclipse.as.core.extensions.polling.JMXPoller$PollerRunnable.handleException(JMXPoller.java:166) at org.jboss.ide.eclipse.as.core.extensions.polling.JMXPoller$PollerRunnable.run(JMXPoller.java:106) at java.lang.Thread.run(Thread.java:619) After that I switch the Server Polling method from "JMX Poller" to "Timeout Poller" and the server starts, but the plugin never reached the state "Started" - it remains in the the state "Starting". In the default config the JMX Poller works as expected. Can someone help me? Thx in advance Derget View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260240#4260240 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260240 From do-not-reply at jboss.com Wed Oct 14 04:46:36 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 14 Oct 2009 04:46:36 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Question and remark about mail-templates Message-ID: <28204604.1255509996106.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry for the mess. By accident I pushed Submit and not preview. Editing posts is really a feature I would highly appreciate. Okay, how to define mail templates in the configuration for the Tomcat demo setup: 1. Grab the jbpm.cfg.jar which was created during the run of ant demo.setup.tomcat. It's in the lib-Folder of the Tomcat installation. 2. Put it in an empty directory and unjar it by using the command: | jar -xfv jbpm.cfg.jar | 3. Create a file named jbpm.mail.templates.xml 4. Create your template or templates in the following form inside this file: | | | | .. | | | | 5. Add the following line in the jbpm.cfg.xml: | | 6. Create a new version of jbpm.cfg.jar by using the command: | jar -cfmv jbpm.cfg.jar *.* ./META-INF/MANIFEST.MF | 7. Replace the jbpm.cfg in your Tomcat lib-Folder with the newly created one. Don't forget to restart Tomcat. Is there a better way to specify additional configuration settings before the jbpm.cfg.jar is created by the ant task? In build.xml you can set the property mail.smtp.host but not the from-address for example. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260242#4260242 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260242 From do-not-reply at jboss.com Wed Oct 14 05:28:07 2009 From: do-not-reply at jboss.com (dleerob) Date: Wed, 14 Oct 2009 05:28:07 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Jbpm/MySQL not working on linux, but fine on Windows Message-ID: <28574787.1255512487307.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have Jbpm 3.2.6 running on a Windows 2008 server, with Tomcat 5.0.28 and MySQL 5.0.27 as the DB running on local windows machine. It works perfectly. As soon as I use MySQL 5.0.67 on a separate linux server (SLES11), and use that as my db/datasource with the exact same data/permissions, I get exception saying that tables cannot be found. Basically, it says no tables exist, even when I can see that they do. Tomcat shows me the following exception: WARN JbpmJobExecutor at 10.11.5.61:1 org.hibernate.util.JDBCExceptionReporter - SQL Error: 1146, SQLState: 42S02 | ERROR JbpmJobExecutor at 10.11.5.61:1 org.hibernate.util.JDBCExceptionReporter - Table 'jbpm3.JBPM_JOB' doesn't exist | ERROR JbpmJobExecutor at 10.11.5.61:1 org.jbpm.job.executor.JobExecutorThread - exception in job executor thread. waiting 5000 milliseconds | org.jbpm.JbpmException: could not get first acquirable job | at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:59) | at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:115) | at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:58) | Caused by: org.hibernate.exception.SQLGrammarException: could not execute query | at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67) | at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) | at org.hibernate.loader.Loader.doList(Loader.java:2223) | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104) | at org.hibernate.loader.Loader.list(Loader.java:2099) | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378) | at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338) | at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172) | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121) | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79) | at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811) | at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:52) | ... 2 more | Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table 'jbpm3.JBPM_JOB' doesn't exist | at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870) | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573) | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665) | at com.mysql.jdbc.Connection.execSQL(Connection.java:3124) | at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1149) | at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1262) | at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92) | at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186) | at org.hibernate.loader.Loader.getResultSet(Loader.java:1787) | at org.hibernate.loader.Loader.doQuery(Loader.java:674) | at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236) | at org.hibernate.loader.Loader.doList(Loader.java:2220) | ... 11 more And it's not just 'jbpm3.JBPM_JOB' that apparently doesn't exist, it happens everywhere jbpm tries to access the db. Does anyone know why JBPM 3.2.6 is not working on MySQL 5.0.67 when its running on a linux operating system? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260249#4260249 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260249 From do-not-reply at jboss.com Wed Oct 14 05:31:00 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 14 Oct 2009 05:31:00 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Sending e-mails with mail tasks Message-ID: <20211378.1255512660492.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I can't send e-mails with mail tasks. In the unit tests it worked but on my Tomcat server I am getting this: | Caused by: javax.mail.NoSuchProviderException: smtp | at javax.mail.Session.getService(Session.java:794) | at javax.mail.Session.getTransport(Session.java:718) | at javax.mail.Session.getTransport(Session.java:661) | at javax.mail.Session.getTransport(Session.java:641) | at javax.mail.Session.getTransport(Session.java:696) | at org.jbpm.pvm.internal.email.impl.MailSessionImpl.send(MailSessionImpl | .java:48) | I use the same configuration as for the unit test and I already checked that the SMTP-server is reachable from the box with Tomcat. I tried raising the loglevel but regarding this exception I don't see more ever with a higher level. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260250#4260250 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260250 From do-not-reply at jboss.com Wed Oct 14 06:03:47 2009 From: do-not-reply at jboss.com (vickyk) Date: Wed, 14 Oct 2009 06:03:47 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Oracle Failover connection url Message-ID: <19029537.1255514627541.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "born_free_77" wrote : | Any idea what I am missing, Does any one has sample ds files? | Check this http://anonsvn.jboss.org/repos/jbossas/branches/JBPAPP_4_2/testsuite/src/resources/jca/ha/test-ha-ds.xml http://anonsvn.jboss.org/repos/jbossas/branches/JBPAPP_4_2/testsuite/src/resources/jca/ha/test-ha-xa-ds.xml Also using oracle RAC and configuring ha-datasource should be done exclusively, I have not seen people combining it but it looks possible. Anyway the right connection-url for oracle-RAC should be like this jdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=on)(address=(protocol=tcp)(host=xxxxhost1)(port=1521))(address=(protocol=tcp)(host=xxxxhost2)(port=1521)))(connect_data=(service_name=xxxxsid)(failover_mode=(type=select)(method=basic)))) You can find more details here http://www.jboss.org/community/wiki/SetupAOracleDataSource View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260254#4260254 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260254 From do-not-reply at jboss.com Wed Oct 14 06:54:12 2009 From: do-not-reply at jboss.com (mwx.dennis) Date: Wed, 14 Oct 2009 06:54:12 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Create Stateful Session Bean programmatically? Message-ID: <11250272.1255517652488.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I need to conditionally create a Stateful Session Bean instance. Therefore I cannot use an @EJB annotation - I'm looking for a way to do it programmatically. Ideally, I'd like to say MySfsbRemote newInstance = ???.create(MySfsbRemote.class); How can I do this? I guess I cannot use new MySfsb()? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260260#4260260 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260260 From do-not-reply at jboss.com Wed Oct 14 06:55:11 2009 From: do-not-reply at jboss.com (mikhailov_kg) Date: Wed, 14 Oct 2009 06:55:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: java.lang.NoClassDefFoundError when accessing my EJBs Message-ID: <23271785.1255517711215.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Try setting -Dsun.lang.ClassLoader.allowArraySyntax=true see http://bugs.sun.com/view_bug.do?bug_id=6434149 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260261#4260261 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260261 From do-not-reply at jboss.com Wed Oct 14 07:09:58 2009 From: do-not-reply at jboss.com (mikhailov_kg) Date: Wed, 14 Oct 2009 07:09:58 -0400 (EDT) Subject: [jboss-user] [EJB] - Re: Exception when running with JDK 1.6 Mustang Message-ID: <11801611.1255518598405.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> This is classloader issue in jdk6 Try setting -Dsun.lang.ClassLoader.allowArraySyntax=true see http://bugs.sun.com/view_bug.do?bug_id=6434149 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260264#4260264 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260264 From do-not-reply at jboss.com Wed Oct 14 07:19:44 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Wed, 14 Oct 2009 07:19:44 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Problems with different permissions for Local- and Remot Message-ID: <11826624.1255519184332.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, please post the full snippet of your "method-permission" section. Wrap the xml snippet in "[ code ]"-Tags (see advanced editor for forum posts. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260266#4260266 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260266 From do-not-reply at jboss.com Wed Oct 14 07:54:20 2009 From: do-not-reply at jboss.com (luuzz) Date: Wed, 14 Oct 2009 07:54:20 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Performance problem - UIL2 vs. JBoss Remoting? Message-ID: <6067270.1255521260106.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Any Answer please ?? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260276#4260276 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260276 From do-not-reply at jboss.com Wed Oct 14 07:56:26 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Wed, 14 Oct 2009 07:56:26 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Create Stateful Session Bean programmatically? Message-ID: <28195206.1255521386642.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, why not performing a JNDI lookup? InitialContext initialContext = new InitialContext(); | Object objLookup = initialContext.lookup ("earName/BeanName/remote"); | MySfsbRemote newInstanc= (MySfsbRemote)objLookup; If you use an application client, you will have to configure JNDI through "jndi.properties", but I hope that this gives you a basic idea. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260278#4260278 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260278 From do-not-reply at jboss.com Wed Oct 14 07:58:28 2009 From: do-not-reply at jboss.com (Fuchs) Date: Wed, 14 Oct 2009 07:58:28 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Jboss Portal 2.7.2 and EJB3 Message-ID: <13503436.1255521508736.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I like to know, how to run EJB3 on the JBoss-Portal-2.7.2-bundle. I tried to do it with the instructions of EJB3-Download. | 1. Download EJB 3.0 RC4 - PFD. | 2. Unzip this file. | 3. Copy ejb3.deployer from the lib/ directory of the distribution to | jboss-4.0.x/server/all/deploy | 4. Copy ejb3-clustered-sfsbcache-service.xml from the lib/ directory | of the distribution to jboss-4.0.x/server/all/deploy | 5. Copy ejb3-entity-cache-service.xml from the lib/ directory | of the distribution to jboss-4.0.x/server/all/deploy | 6. Copy ejb3-interceptors-aop.xml from the lib/ directory | of the distribution to jboss-4.0.x/server/all/deploy | 7. Copy jboss-aop-jdk50.deployer from the lib/ directory | of the distribution to jboss-4.0.x/server/all/deploy | 8. Copy jboss-remoting.jar from the lib/ directory | of the distribution to jboss-4.0.x/server/all/lib | 9. Copy jboss-serialization.jar from the lib/ directory | of the distribution to jboss-4.0.x/server/all/lib | 10. Copy jboss-j2ee.jar from the lib/ directory of the distribution | to jboss-4.0.x/server/all/lib | 11. Remove ejb3-persistence.jar from jboss-4.0.x/server/all/lib | 12. Remove hibernate3.jar from jboss-4.0.x/server/all/lib | 13. Remove hibernate-annotations.jar from jboss-4.0.x/server/all/lib | 14. Remove hibernate-entitymanager.jar from jboss-4.0.x/server/all/lib | 15. Remove jboss-aop.deployer/ from jboss-4.0.x/server/all/deploy | 16. Start jboss up with the all configuration run.sh -c all | | If you do not want to run with the all configuration, the skip the steps of copying the ejb3-clustered-sfsbcache-service.xml and the ejb3-entity-cache-service.xml | But with a bad result. The most exceptions comes because the service is not installed. One is shown here: | ObjectName: jboss.ejb3:service=EJB3Deployer | State: NOTYETINSTALLED | Depends On Me: | jboss.ws:service=DeployerInterceptorEJB3 | Any Help will be welcome! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260279#4260279 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260279 From do-not-reply at jboss.com Wed Oct 14 08:01:03 2009 From: do-not-reply at jboss.com (born_free_77) Date: Wed, 14 Oct 2009 08:01:03 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Oracle Failover connection url Message-ID: <1835507.1255521663353.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hey Vickyk, Thanks for the response. I am using the same xml files and I did see the test-ha-ds.xml files. Initially I was using like this | jdbc:oracle:thin at xxxxx:1521 at sid|jdbc:oracle:thin at xxxxx:1521 at sid | if I use | jdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=on)(address=(protocol=tcp)(h | ost=xxxxhost1)(port=1521))(address=(protocol=tcp)(host=xxxxhost2)(port=1521)))(connect_data=(service | _name=xxxxsid)(failover_mode=(type=select)(method=basic)))) | then jboss complains that url-delimiter is not povided. I did use the same url when using but this still does not gives me failover. Whats the difference between and ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260280#4260280 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260280 From do-not-reply at jboss.com Wed Oct 14 08:07:38 2009 From: do-not-reply at jboss.com (praenti) Date: Wed, 14 Oct 2009 08:07:38 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <12743322.1255522058647.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> ok. WebAuthentication is working. I had to create the jboss-web.xml and added there the security-domain. Now my Login module is running. But the original error is still present. Using a Servlet which does WebAuthentication. The error: | 13:59:50,370 INFO [SpiiderLoginModule] LdapLoginModule, dsJndiName=cancardviewe | rDS | 13:59:50,370 INFO [SpiiderLoginModule] rolesQuery=SELECT u.userid, r."role" FRO | M "security".application_user u, "security".application_role r, "security".user_ | role ur WHERE u.userid = ? AND u.userid = ur.user_id AND ur.role_id = r."role" | 13:59:50,370 INFO [SpiiderLoginModule] defaultRole=RegularUser | 13:59:50,370 INFO [SpiiderLoginModule] trying dn: uid=extern.michael.obster, ou | =xxx,ou=People,ou=Access | 13:59:50,370 INFO [SpiiderLoginModule] Logging into LDAP server, env={java.nami | ng.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, dsJndiName=cancardviewerDS, | rolesQuery=SELECT u.userid, r."role" FROM "security".application_user u, "secur | ity".application_role r, "security".user_role ur WHERE u.userid = ? AND u.userid | = ur.user_id AND ur.role_id = r."role", java.naming.security.principal=uid=exte | rn.michael.obster, ou=xxx,ou=People,ou=Access, jboss.security.security_domai | n=cancardDomain, java.naming.provider.url=ldap://xxxxxxx, java.namin | g.security.authentication=simple, java.naming.security.credentials=***, principa | l.dn.groups=ou=xxxxxx | ,ou=People,ou=Access:ou=External,ou=People,ou=Access} | 13:59:50,401 INFO [SpiiderLoginModule] Failed to log into LDAP server. [LDAP: e | rror code 32 - No Such Object] | 13:59:50,401 INFO [SpiiderLoginModule] trying dn: uid=extern.michael.obster, ou | =External,ou=People,ou=Access | 13:59:50,401 INFO [SpiiderLoginModule] Logging into LDAP server, env={java.nami | ng.factory.initial=com.sun.jndi.ldap.LdapCtxFactory, dsJndiName=cancardviewerDS, | rolesQuery=SELECT u.userid, r."role" FROM "security".application_user u, "secur | ity".application_role r, "security".user_role ur WHERE u.userid = ? AND u.userid | = ur.user_id AND ur.role_id = r."role", java.naming.security.principal=uid=exte | rn.michael.obster, ou=External,ou=People,ou=Access, jboss.security.security_doma | in=cancardDomain, java.naming.provider.url=ldap://xxxxxxxx, java.nami | ng.security.authentication=simple, java.naming.security.credentials=***, princip | al.dn.groups=ou=xxxxxx | ,ou=People,ou=Access:ou=External,ou=People,ou=Access} | 13:59:50,417 INFO [SpiiderLoginModule] Logged into LDAP server, javax.naming.ld | ap.InitialLdapContext at 1a21699 | 13:59:50,480 INFO [SpiiderLoginModule] getRoleSets using rolesQuery: SELECT u.u | serid, r."role" FROM "security".application_user u, "security".application_role | r, "security".user_role ur WHERE u.userid = ? AND u.userid = ur.user_id AND ur.r | ole_id = r."role", gid: 99A44E672EA8C49B | 13:59:50,511 DEBUG [SpiiderLoginModule] Principal: AdminUser | 13:59:50,542 INFO [LoginServlet] Login sucessfull | 13:59:51,011 ERROR [[LoginServlet]] Servlet.service() for servlet LoginServlet t | hrew exception | javax.ejb.EJBAccessException: Caller unauthorized | at org.jboss.ejb3.security.RoleBasedAuthorizationInterceptorv2.invoke(Ro | leBasedAuthorizationInterceptorv2.java:199) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3Au | thenticationInterceptorv2.java:186) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterce | ptor.java:41) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContaine | rShutdownInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invo | ke(CurrentInvocationInterceptor.java:67) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessCo | ntainer.java:421) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invokeLocal(IsLocalInterce | ptor.java:85) | at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor. | java:72) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation. | java:102) | at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:62) | at $Proxy344.invoke(Unknown Source) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandl | erBase.invoke(SessionProxyInvocationHandlerBase.java:207) | at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandl | erBase.invoke(SessionProxyInvocationHandlerBase.java:164) | at $Proxy343.getAllRoles(Unknown Source) | at vwg.audi.cancard.webservlet.LoginServlet.serveRequest(LoginServlet.ja | va:61) | at vwg.audi.cancard.webservlet.LoginServlet.doGet(LoginServlet.java:29) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi | lter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV | alve.java:235) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV | alve.java:191) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit | yAssociationValve.java:190) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv | e.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.proce | ss(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invok | e(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j | ava:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j | ava:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC | onnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal | ve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav | a:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java | :829) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce | ss(Http11Protocol.java:598) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44 | 7) | at java.lang.Thread.run(Thread.java:619) | The used servlet LoginServlet: | package vwg.audi.cancard.webservlet; | | import java.io.IOException; | | import javax.ejb.EJBAccessException; | import javax.servlet.ServletException; | import javax.servlet.http.HttpServlet; | import javax.servlet.http.HttpServletRequest; | import javax.servlet.http.HttpServletResponse; | | import org.apache.log4j.Logger; | import org.jboss.web.tomcat.security.login.WebAuthentication; | | public class LoginServlet extends HttpServlet | { | private Logger log = Logger.getLogger(LoginServlet.class); | | /** | * | */ | private static final long serialVersionUID = -5539909157863711284L; | | /** | * Process the HTTP Get request | */ | public void doGet(HttpServletRequest request, HttpServletResponse response) | throws ServletException, IOException | { | serveRequest(request, response); | } | | /** | * Process the HTTP Post request | */ | public void doPost(HttpServletRequest request, HttpServletResponse response) | throws ServletException, IOException | { | serveRequest(request, response); | } // doPost | | /** | * In dieser Methode findet die eigentliche Verarbeitung des | * HTTPServletRequests statt. Sie wird von den beiden public Methoden doPost | * und doGet aufgerufen. | */ | public void serveRequest(HttpServletRequest request, | HttpServletResponse response) throws ServletException, IOException | { | String username = "extern.michael.obster"; | String pass = "myPassword"; | WebAuthentication webAuthentication = new WebAuthentication(); | | if (webAuthentication.login(username, pass)) { | log.info("Login sucessfull"); | } | else { | log.info("Login failed"); | } | | try { | ServiceLocator.getInstance().getUserService().getAllRoles(); | } catch (ServiceLocatorException e) { | e.printStackTrace(); | } | | webAuthentication.logout(); | | | } | | | | } | Any idea what the problem is? Best regards, Michael View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260283#4260283 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260283 From do-not-reply at jboss.com Wed Oct 14 08:11:57 2009 From: do-not-reply at jboss.com (ralle) Date: Wed, 14 Oct 2009 08:11:57 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Problems with different permissions for Local- and Remot Message-ID: <2596426.1255522317356.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> That's an extract from the XML-Descriptor: | | | | SbExampleBean | Komponente.SbExampleBeanLocal | Komponente.SbExampleBeanRemote | Komponente.SbExampleBean | | | | | | | SbExampleBean | Local | * | | | | | | SbExampleBean | Remote | * | | | | When a local method is called, an EJBAccessException occurs. I recognized in a JBoss-Trace, that a "NOBODY"-Role is required for the principal in this case. That's not what I'm expected. Thanks Ralf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260284#4260284 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260284 From do-not-reply at jboss.com Wed Oct 14 08:18:43 2009 From: do-not-reply at jboss.com (smith.gerry@gmail.com) Date: Wed, 14 Oct 2009 08:18:43 -0400 (EDT) Subject: [jboss-user] [EJB] - CMR Collections and transaction demarcation Message-ID: <2716003.1255522723140.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am using JBoss 4.2.1, EJB 2.1. I have a session bean which uses a finder to get a collection of entities and creates a list of data transfer objects. The entities have CMR Collections that need to be accessed. I am trying to make this work without a transaction, and I'm using XDoclet, so I've used @ejb.transaction type="NotSupported" for the session bean, and @ejb.transaction type="Supports" for the entity beans - the one with finder and also the ones in the CMR Collections. I'm getting this exception: java.lang.IllegalStateException: A CMR collection may only be used within the transction in which it was created Does this mean that you have to be in a transaction when you access a CMR transaction, or am I doing something wrong ? (The session bean is called by another session bean which has the default 'required' transaction type, in case that makes a difference). Would this happen in Jboss 5 as well ? Many thanks, Gerry View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260286#4260286 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260286 From do-not-reply at jboss.com Wed Oct 14 08:19:45 2009 From: do-not-reply at jboss.com (mwx.dennis) Date: Wed, 14 Oct 2009 08:19:45 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Create Stateful Session Bean programmatically? Message-ID: <15962252.1255522785705.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yeah, cool. I had actually hoped to get it by type (in order to have a typesafe, refactoring-friendly lookup like with @EJB injection) but it's definitely a good solution. Thanks very much! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260287#4260287 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260287 From do-not-reply at jboss.com Wed Oct 14 08:31:19 2009 From: do-not-reply at jboss.com (Rashem) Date: Wed, 14 Oct 2009 08:31:19 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm-bpel-1.1.1 test hello error Message-ID: <9120189.1255523479653.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Can you please share the changes you did to run the hello example correctly? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260293#4260293 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260293 From do-not-reply at jboss.com Wed Oct 14 09:19:08 2009 From: do-not-reply at jboss.com (Christy) Date: Wed, 14 Oct 2009 09:19:08 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Web service call or javax.xml.bind.JAXBException Message-ID: <24243034.1255526348992.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have the same problem. Help please View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260298#4260298 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260298 From do-not-reply at jboss.com Wed Oct 14 09:21:00 2009 From: do-not-reply at jboss.com (vickyk) Date: Wed, 14 Oct 2009 09:21:00 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Oracle Failover connection url Message-ID: <25474675.1255526460892.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "born_free_77" wrote : | if I use | | | jdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=on)(address=(protocol=tcp)(h | | ost=xxxxhost1)(port=1521))(address=(protocol=tcp)(host=xxxxhost2)(port=1521)))(connect_data=(service | | _name=xxxxsid)(failover_mode=(type=select)(method=basic)))) | | | then jboss complains that url-delimiter is not povided. I did use the same url when using but this still does not gives me failover. | You have not defined the delimiter and if you using this in ha datasource type configuration things will not move as the configuration is wrong. Just use non ha datasource and with this url, that is the way to go and it seems to be working for you. anonymous wrote : | Whats the difference between and ? | Read this http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch7.chapt.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260300#4260300 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260300 From do-not-reply at jboss.com Wed Oct 14 09:25:54 2009 From: do-not-reply at jboss.com (born_free_77) Date: Wed, 14 Oct 2009 09:25:54 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Oracle Failover connection url Message-ID: <6888275.1255526754583.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Let me try this again | jdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=on)(address=(protocol=tcp)(h | | ost=xxxxhost1)(port=1521))(address=(protocol=tcp)(host=xxxxhost2)(port=1521)))(connect_data=(service | | _name=xxxxsid)(failover_mode=(type=select)(method=basic)))) | Also if I want to use HA config what would be the url I did try this in HA | jdbc:oracle:thin:@db1:1521:db1|jdbc:oracle:thin:@db2:1521:db2 | and it worked for me View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260304#4260304 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260304 From do-not-reply at jboss.com Wed Oct 14 09:54:20 2009 From: do-not-reply at jboss.com (CarlosEduardoDantas) Date: Wed, 14 Oct 2009 09:54:20 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: JBOSS-5.1.0.GA web service client doesn't work ( runtime Message-ID: <26915367.1255528460330.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> i have the same problem.. any idea? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260314#4260314 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260314 From do-not-reply at jboss.com Wed Oct 14 10:13:34 2009 From: do-not-reply at jboss.com (jdlut) Date: Wed, 14 Oct 2009 10:13:34 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Is creating a new process project with eclipse an option und Message-ID: <1651128.1255529614356.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm new to jBPM. I've downloaded and installed jBPM4.1 and following the excellent user documentation. Many of the tutorials for jBPM such as http://www.mastertheboss.com/en/jboss-jbpm/51-jbpm-tutorial-part-1.html mention creating a new Process Project. However, that option isn't available for jBPM 4.1 unless I'm missed a step in the installation? The only option I have under jBPM is jBPM 4 Process Definition. Since the Process Project does not exist, I guess that I need to manually add the files that are required to create a war file to deploy to a Tomcat server? If this isn't correct, please let me know. I'm running the following software versions: Eclipse IDE for Java Developers - Galileo Java 1.6 Ubuntu I've also run the Eclipse J2EE version that's installed with the install script but it also didn't have the Process Project option. BTW, the ant scripts are extremely helpful! Jade View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260322#4260322 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260322 From do-not-reply at jboss.com Wed Oct 14 10:25:47 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 14 Oct 2009 10:25:47 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Is creating a new process project with eclipse an option Message-ID: <10424950.1255530347663.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You are right. There isn't a process project anymore. However an ant-task to deploy the process definition is supplied. There should also be an ant script around which also creates the jar with the java classes used in the process definition. Deploying is not really comfortable right now. AFAIK making deployment easier and more convient is work in progress. I personally don't like the fact that the process definition is deployed directly to the database. It's inconvient where the database server is normally not accessible directly from the developer workstation. What was actually the reason to drop the process project? IMHO it would be convient to have a project again whose standard behaviour is creating a *.bar with the process definition, the process image and the implementation classes and the option to deploy it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260323#4260323 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260323 From do-not-reply at jboss.com Wed Oct 14 10:42:55 2009 From: do-not-reply at jboss.com (CarlosEduardoDantas) Date: Wed, 14 Oct 2009 10:42:55 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: JBOSS-5.1.0.GA web service client doesn't work ( runtime Message-ID: <2465129.1255531375682.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> this link https://jira.jboss.org/jira/browse/JBWS-2649 says "The problem is simply that you can't mix the jbossws saaj implementation and the Sun's one. Please follow the installation instructions for using JDK6 (putting jbossws libraries in endorsed lib dir) and this exception should not happen." but in JBoss 5.1.0 GA for JDK 6 has already native-saaj links on endorsed lib dir View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260327#4260327 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260327 From do-not-reply at jboss.com Wed Oct 14 11:04:20 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Wed, 14 Oct 2009 11:04:20 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Problems with different permissions for Local- and Remot Message-ID: <18132027.1255532660042.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, to my understanding, the user has to be authenticated even when accessing unsecured methods, because you specifiy a security domain in "jboss.xml". I found a rather old thread, where someone tried to achieve the same as you do: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3960447, but through annotations. Maybe you find helpful information. And maybe the limits of this threads are no longer present. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260331#4260331 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260331 From do-not-reply at jboss.com Wed Oct 14 11:22:01 2009 From: do-not-reply at jboss.com (flavia.rainone@jboss.com) Date: Wed, 14 Oct 2009 11:22:01 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Getting to a ClassInfo's ClassLoader Message-ID: <25575877.1255533721196.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ales, Currently, whenever I need to get to the ClassLoader of a ClassInfo object, I use geType().getClassLoader(). The point is that getType is deprecated. Is there any other way of getting the ClassInfo's classloader without going through getType()? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260334#4260334 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260334 From do-not-reply at jboss.com Wed Oct 14 11:26:38 2009 From: do-not-reply at jboss.com (jdlut) Date: Wed, 14 Oct 2009 11:26:38 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Is creating a new process project with eclipse an option Message-ID: <11417834.1255533998764.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you Sebastian for letting me know that process project really doesn't exist for jBPM 4. I agree that it would be convenient to have a standard process project. I'll use the ant tasks instead. Jade View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260335#4260335 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260335 From do-not-reply at jboss.com Wed Oct 14 11:40:27 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Wed, 14 Oct 2009 11:40:27 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <17642661.1255534827443.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Michael, I am sorry, but I don't have further ideas. Might be a problem of the config, or might be a JBoss problem. Your console log contained only output of your Spiider login module and the servlet, but no output of the JBoss security layer. If you did not do so already: activate this logging (sticky post "FAQ" in this forum, question 4). Maybe this provides more information. Try to create a very simple sample app (just the web client, the EJB and the login module) which reproduces the issue. Then I might take a look at it. Well, the LDAP login won't be reproducable at my site, but maybe the problem also occurs with some other login module. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260338#4260338 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260338 From do-not-reply at jboss.com Wed Oct 14 11:43:40 2009 From: do-not-reply at jboss.com (alesj) Date: Wed, 14 Oct 2009 11:43:40 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Re: Getting to a ClassInfo's ClassLoader Message-ID: <25798794.1255535020305.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> How do we use it elsewhere/before? Looking at the Javassist usage, it seems we need to change it a bit. | public Class getType() | { | if(clazz == null) | clazz = JavassistUtil.ctClassToClass(ctClass); | | return clazz; | } | This first delegates the loading to JavassistUtil.class.getClassLoader() and only then to CtClass::toClass. Meaning we wouldn't use our new Classpool notion first, only after it would fail via first try. Perhaps new getClassLoader method on TypeInfo? btw: don't forget to check for security or add permission blocks on who can use it View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260339#4260339 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260339 From do-not-reply at jboss.com Wed Oct 14 11:46:57 2009 From: do-not-reply at jboss.com (jbosscacheuser1) Date: Wed, 14 Oct 2009 11:46:57 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - bulkUpdate - could not release cache lock Message-ID: <6178614.1255535217937.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, We are using Hibernate-3.3.2 and JBossCache-3.1.0. We are running into issues on bulk update, the operation runs longer time trying, to acquire locks on the nodes. The issue happens only in Websphere 6.1 and now issues with the bulk update in JBoss. 1. The hibernate session is flushed on the transaction synchronization ( Flushing Hibernate Session on transaction synchronization) 2. Acquiring write locks on all nodes (commit is issued, prepare phase is entered which locks all the nodes in the workspace and validates that all changes can be applied to the cache itself). 3. Acquired write locks on nodes. Validating nodes completed (example: Validating 74 nodes). 4. If nodes are validated then a commit is invoked - this applies the changes and unlocks all the locks acquired in the prepare. (I guess this is where we are running into issues, the locks are not freed up on successful validation. ) 5. RemoveNodeCommand is Issued. (This happens in a separate transaction; created new GTX: GlobalTransaction:<10.10.21.72:33898>:6849) 6. Acquiring lock failure from item 5 above with below message (failure acquiring lock: fqn=/fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY caller=GlobalTransaction:<10.10.21.72:33898>:6849, lock=write owner=GlobalTransaction:<10.10.21.72:33898>:6847) 8. There are several tries to acquire locks on several nodes above on the RemoveNodeCommad for at least, 10 minutes 9. Original transaction started is commited (calling aftercompletion for GlobalTransaction:<10.10.21.72:33898>:6847 Running commit phase. One phase? False Running commit for GlobalTransaction:<10.10.21.72:33898>:6847 Commiting successfully validated changes for GlobalTransaction GlobalTransaction:<10.10.21.72:33898>:6847 10.The write locks are released (after the transaction complete) finally. Below are the logs. DEBUG 1179976 [WebContainer : 2] (org.hibernate.SQL) 2009-10-08 09:52:29,775 - delete from BILL_OF_WORK where BILL_OF_WORK_ID=? DEBUG 1180035 [WebContainer : 2] (org.springframework.orm.hibernate3.HibernateTemplate) 2009-10-08 09:52:29,834 - Not closing pre-bound Hibernate Session after HibernateTemplate DEBUG 1180038 [WebContainer : 2] (org.springframework.orm.hibernate3.SessionFactoryUtils) 2009-10-08 09:52:29,837 - Flushing Hibernate Session on transaction synchronization TRACE 1180044 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,843 - Running beforeCompletion on gtx GlobalTransaction:<10.10.21.72:33898>:6847 DEBUG 1180045 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticLockingInterceptor) 2009-10-08 09:52:29,844 - Locking nodes in transaction workspace for GlobalTransaction GlobalTransaction:<10.10.21.72:33898>:6847 (org.jboss.cache.lock.IdentityLock) 2009-10-08 09:52:29,853 - acquiring WL: fqn=/fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY, caller=GlobalTransaction:<10.10.21.72:33898>:6847, lock= TRACE 1180054 [WebContainer : 2] (org.jboss.cache.lock.IdentityLock) 2009-10-08 09:52:29,853 - acquired WL: fqn=/fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY, caller=GlobalTransaction:<10.10.21.72:33898>:6847, lock=write owner=GlobalTransaction:<10.10.21.72:33898>:6847 TRACE 1180054 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticLockingInterceptor) 2009-10-08 09:52:29,853 - Acquired lock on node /fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY TRACE 1180053 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticLockingInterceptor) 2009-10-08 09:52:29,852 - Acquired lock on node / DEBUG 1180064 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticValidatorInterceptor) 2009-10-08 09:52:29,863 - Validating 74 nodes. (org.jboss.cache.interceptors.OptimisticValidatorInterceptor) 2009-10-08 09:52:29,864 - Node [/fleetcycle/domain/billing/invoicing/InvoiceStatus] doesn't need validating as it isn't dirty TRACE 1180067 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticValidatorInterceptor) 2009-10-08 09:52:29,866 - Validating version for node [/fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY] TRACE 1180067 [WebContainer : 2] (org.jboss.cache.DataContainerImpl) 2009-10-08 09:52:29,866 - peek /fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY, includeDeletedNodes:true, includeInvalidNodes:true DEBUG 1180068 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticValidatorInterceptor) 2009-10-08 09:52:29,867 - Successfully validated nodes TRACE 1180068 [WebContainer : 2] (org.jboss.cache.interceptors.CallInterceptor) 2009-10-08 09:52:29,867 - Suppressing invocation of method handleOptimisticPrepareCommand. TRACE 1180068 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,867 - Setting up transactional context. TRACE 1180068 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,867 - Setting tx as null and gtx as null TRACE 1180068 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,867 - Running beforeCompletion on gtx GlobalTransaction:<10.10.21.72:33898>:6848 TRACE 1180068 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,867 - Setting up transactional context. TRACE 1180068 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,867 - Setting tx as com.ibm.ws.Transaction.JTA.TransactionImpl at 45bb45bb#tid=7417 and gtx as GlobalTransaction:<10.10.21.72:33898>:6848 TRACE 1180068 [WebContainer : 2] (org.jboss.cache.factories.ComponentRegistry) 2009-10-08 09:52:29,867 - Testing if invocations are allowed. TRACE 1180068 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,867 - Setting up transactional context. TRACE 1180068 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,867 - Setting tx as com.ibm.ws.Transaction.JTA.TransactionImpl at 45bb45bb#tid=7417 and gtx as GlobalTransaction:<10.10.21.72:33898>:6848 TRACE 1180068 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,867 - No modifications in this tx. Skipping beforeCompletion() TRACE 1180070 [WebContainer : 2] (org.jboss.cache.factories.ComponentRegistry) 2009-10-08 09:52:29,869 - Testing if invocations are allowed. TRACE 1180071 [WebContainer : 2] (org.jboss.cache.interceptors.InvocationContextInterceptor) 2009-10-08 09:52:29,870 - Invoked with command RemoveNodeCommand{fqn=/fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY, dataVersion=null, globalTransaction=null, skipSendingNodeEvents=false, parentFqn=null, targetNode=null} and InvocationContext [InvocationContext{transaction=null, globalTransaction=null, transactionContext=null, optionOverrides=Option{failSilently=false, cacheModeLocal=false, dataVersion=org.hibernate.cache.jbc2.util.NonLockingDataVersion at 230b230b, suppressLocking=false, lockAcquisitionTimeout=-1, forceDataGravitation=false, skipDataGravitation=false, forceAsynchronous=false, forceSynchronous=false, suppressPersistence=false, suppressEventNotification=false}, originLocal=true, bypassUnmarshalling=false}] TRACE 1180071 [WebContainer : 2] (org.jboss.cache.interceptors.InvocationContextInterceptor) 2009-10-08 09:52:29,870 - Setting up transactional context. TRACE 1180071 [WebContainer : 2] (org.jboss.cache.interceptors.InvocationContextInterceptor) 2009-10-08 09:52:29,870 - Setting tx as null and gtx as null TRACE 1180071 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,870 - Creating transaction for thread Thread[WebContainer : 2,5,main] TRACE 1180071 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,870 - local transaction exists - registering global tx if not present for Thread[WebContainer : 2,5,main] TRACE 1180071 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,870 - Associated gtx in txTable is null TRACE 1180071 [WebContainer : 2] (org.jboss.cache.transaction.TransactionTable) 2009-10-08 09:52:29,870 - created new GTX: GlobalTransaction:<10.10.21.72:33898>:6849, local TX=com.ibm.ws.Transaction.JTA.TransactionImpl at 617e617e#tid=7418 TRACE 1180071 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,870 - Registering sync handler for tx com.ibm.ws.Transaction.JTA.TransactionImpl at 617e617e#tid=7418, gtx GlobalTransaction:<10.10.21.72:33898>:6849 TRACE 1180071 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:29,870 - registering for TX completion: SynchronizationHandler(TxInterceptor.LocalSynchronizationHandler(gtx=GlobalTransaction:<10.10.21.72:33898>:6849, tx=com.ibm.ws.Transaction.JTA.TransactionImpl at 1635672446)) TRACE 1180071 [WebContainer : 2] (org.jboss.cache.DataContainerImpl) 2009-10-08 09:52:29,870 - peek /fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY, includeDeletedNodes:true, includeInvalidNodes:true TRACE 1180072 [WebContainer : 2] (org.jboss.cache.lock.IdentityLock) 2009-10-08 09:52:29,871 - acquiring RL: fqn=/fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY, caller=GlobalTransaction:<10.10.21.72:33898>:6849, lock=write owner=GlobalTransaction:<10.10.21.72:33898>:6847 TRACE 1195074 [WebContainer : 2] (org.jboss.cache.lock.IdentityLock) 2009-10-08 09:52:44,873 - read lock for /fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY could not be acquired by GlobalTransaction:<10.10.21.72:33898>:6849 after 15000 ms. Locks: Read lock owners: [] Write lock owner: GlobalTransaction:<10.10.21.72:33898>:6847 , lock info: write owner=GlobalTransaction:<10.10.21.72:33898>:6847 (activeReaders=0, activeWriter=Thread[WebContainer : 2,5,main], waitingReaders=0, waitingWriters=0, waitingUpgrader=0) TRACE 1195075 [WebContainer : 2] (org.jboss.cache.lock.IdentityLock) 2009-10-08 09:52:44,874 - failure acquiring lock: fqn=/fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY, caller=GlobalTransaction:<10.10.21.72:33898>:6849, lock=write owner=GlobalTransaction:<10.10.21.72:33898>:6847 (activeReaders=0, activeWriter=Thread[WebContainer : 2,5,main], waitingReaders=0, waitingWriters=0, waitingUpgrader=0) WARN 1195075 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 09:52:44,874 - Rolling back, exception encountered org.jboss.cache.lock.TimeoutException: failure acquiring lock: fqn=/fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY, caller=GlobalTransaction:<10.10.21.72:33898>:6849, lock=write owner=GlobalTransaction:<10.10.21.72:33898>:6847 (activeReaders=0, activeWriter=Thread[WebContainer : 2,5,main], waitingReaders=0, waitingWriters=0, waitingUpgrader=0) at org.jboss.cache.lock.IdentityLock.acquire(IdentityLock.java:534) at org.jboss.cache.lock.NodeBasedLockManager.acquireLock(NodeBasedLockManager.java:87) at org.jboss.cache.lock.NodeBasedLockManager.lock(NodeBasedLockManager.java:117) at org.jboss.cache.interceptors.OptimisticInterceptor.lockAndCreateWorkspaceNode(OptimisticInterceptor.java:134) at org.jboss.cache.interceptors.OptimisticNodeInterceptor.fetchWorkspaceNode(OptimisticNodeInterceptor.java:583) at org.jboss.cache.interceptors.OptimisticNodeInterceptor.visitRemoveNodeCommand(OptimisticNodeInterceptor.java:103) at org.jboss.cache.commands.write.RemoveNodeCommand.acceptVisitor(RemoveNodeCommand.java:125) at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) at org.jboss.cache.interceptors.EvictionInterceptor.visitRemoveNodeCommand(EvictionInterceptor.java:223) at org.jboss.cache.commands.write.RemoveNodeCommand.acceptVisitor(RemoveNodeCommand.java:125) at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131) at org.jboss.cache.commands.AbstractVisitor.visitRemoveNodeCommand(AbstractVisitor.java:75) at org.jboss.cache.commands.write.RemoveNodeCommand.acceptVisitor(RemoveNodeCommand.java:125) at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131) at org.jboss.cache.commands.AbstractVisitor.visitRemoveNodeCommand(AbstractVisitor.java:75) at org.jboss.cache.commands.write.RemoveNodeCommand.acceptVisitor(RemoveNodeCommand.java:125) at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131) at org.jboss.cache.commands.AbstractVisitor.visitRemoveNodeCommand(AbstractVisitor.java:75) at org.jboss.cache.commands.write.RemoveNodeCommand.acceptVisitor(RemoveNodeCommand.java:125) at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) at org.jboss.cache.interceptors.InvalidationInterceptor.handleWriteMethod(InvalidationInterceptor.java:241) at org.jboss.cache.interceptors.InvalidationInterceptor.visitRemoveNodeCommand(InvalidationInterceptor.java:125) at org.jboss.cache.commands.write.RemoveNodeCommand.acceptVisitor(RemoveNodeCommand.java:125) at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131) at org.jboss.cache.commands.AbstractVisitor.visitRemoveNodeCommand(AbstractVisitor.java:75) at org.jboss.cache.commands.write.RemoveNodeCommand.acceptVisitor(RemoveNodeCommand.java:125) at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) at org.jboss.cache.interceptors.TxInterceptor.attachGtxAndPassUpChain(TxInterceptor.java:301) at org.jboss.cache.interceptors.OptimisticTxInterceptor.handleDefault(OptimisticTxInterceptor.java:83) at org.jboss.cache.commands.AbstractVisitor.visitRemoveNodeCommand(AbstractVisitor.java:75) at org.jboss.cache.commands.write.RemoveNodeCommand.acceptVisitor(RemoveNodeCommand.java:125) at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) at org.jboss.cache.interceptors.base.CommandInterceptor.handleDefault(CommandInterceptor.java:131) at org.jboss.cache.commands.AbstractVisitor.visitRemoveNodeCommand(AbstractVisitor.java:75) at org.jboss.cache.commands.write.RemoveNodeCommand.acceptVisitor(RemoveNodeCommand.java:125) at org.jboss.cache.interceptors.base.CommandInterceptor.invokeNextInterceptor(CommandInterceptor.java:116) at org.jboss.cache.interceptors.InvocationContextInterceptor.handleAll(InvocationContextInterceptor.java:178) at org.jboss.cache.interceptors.InvocationContextInterceptor.visitRemoveNodeCommand(InvocationContextInterceptor.java:88) at org.jboss.cache.commands.write.RemoveNodeCommand.acceptVisitor(RemoveNodeCommand.java:125) at org.jboss.cache.interceptors.InterceptorChain.invoke(InterceptorChain.java:287) at org.jboss.cache.invocation.CacheInvocationDelegate.removeNode(CacheInvocationDelegate.java:478) at org.hibernate.cache.jbc2.util.CacheHelper.removeAll(CacheHelper.java:378) at org.hibernate.cache.jbc2.access.OptimisticTransactionalAccessDelegate.evictOrRemoveAll(OptimisticTransactionalAccessDelegate.java:172) at org.hibernate.cache.jbc2.access.OptimisticTransactionalAccessDelegate.evictAll(OptimisticTransactionalAccessDelegate.java:80) at org.hibernate.cache.jbc2.entity.TransactionalAccess.evictAll(TransactionalAccess.java:102) at org.hibernate.impl.SessionFactoryImpl.evictEntity(SessionFactoryImpl.java:918) at org.hibernate.action.BulkOperationCleanupAction.evictEntityRegions(BulkOperationCleanupAction.java:153) at org.hibernate.action.BulkOperationCleanupAction.afterTransactionCompletion(BulkOperationCleanupAction.java:132) at org.hibernate.engine.ActionQueue.afterTransactionCompletion(ActionQueue.java:198) at org.hibernate.impl.SessionImpl.afterTransactionCompletion(SessionImpl.java:452) at org.hibernate.jdbc.JDBCContext.afterTransactionCompletion(JDBCContext.java:252) at org.hibernate.transaction.CacheSynchronization.afterCompletion(CacheSynchronization.java:117) at com.ibm.ws.Transaction.JTA.RegisteredSyncs.distributeAfter(RegisteredSyncs.java:424) at com.ibm.ws.Transaction.JTA.TransactionImpl.distributeAfter(TransactionImpl.java:3885) at com.ibm.ws.Transaction.JTA.TransactionImpl.postCompletion(TransactionImpl.java:3864) at com.ibm.ws.Transaction.JTA.TransactionImpl.commitXAResources(TransactionImpl.java:2521) at com.ibm.ws.Transaction.JTA.TransactionImpl.stage1CommitProcessing(TransactionImpl.java:1647) at com.ibm.ws.Transaction.JTA.TransactionImpl.processCommit(TransactionImpl.java:1607) at com.ibm.ws.Transaction.JTA.TransactionImpl.commit(TransactionImpl.java:1542) at com.ibm.ws.Transaction.JTA.TranManagerImpl.commit(TranManagerImpl.java:240) at com.ibm.ws.Transaction.JTA.TranManagerSet.commit(TranManagerSet.java:164) at com.ibm.ws.Transaction.JTA.UserTransactionImpl.commit(UserTransactionImpl.java:292) at org.springframework.transaction.jta.JtaTransactionManager.doCommit(JtaTransactionManager.java:842) at org.springframework.transaction.support.AbstractPlatformTransactionManager.processCommit(AbstractPlatformTransactionManager.java:662) at org.springframework.transaction.support.AbstractPlatformTransactionManager.commit(AbstractPlatformTransactionManager.java:632) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:139) at fleetcycle.services.framework.execution.interceptors.TransactionInterceptor.doInTransactionTemplate(TransactionInterceptor.java:114) at fleetcycle.services.framework.execution.interceptors.TransactionInterceptor.invoke(TransactionInterceptor.java:86) at sun.reflect.GeneratedMethodAccessor1147.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) at fleetcycle.model.framework.persistence.TransactionRetryInterceptor.invoke(TransactionRetryInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy191.invoke(Unknown Source) at fleetcycle.services.framework.execution.interceptors.SecurityInterceptor.invoke(SecurityInterceptor.java:29) at fleetcycle.services.framework.execution.ExecutionEntryTask.doTask(ExecutionEntryTask.java:98) at fleetcycle.services.framework.execution.ExecutionEntry.executeWorkflow(ExecutionEntry.java:105) at fleetcycle.services.framework.execution.ExecutionEntryWorkflowImpl.invokeWorkflow(ExecutionEntryWorkflowImpl.java:89) at sun.reflect.GeneratedMethodAccessor1146.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) at org.springframework.orm.hibernate3.HibernateInterceptor.invoke(HibernateInterceptor.java:104) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy192.invokeWorkflow(Unknown Source) at fleetcycle.services.framework.execution.ServiceExecutor$2.doInCacheBlock(ServiceExecutor.java:225) at fleetcycle.services.framework.execution.cache.CacheTemplate.invoke(CacheTemplate.java:93) at fleetcycle.services.framework.execution.ServiceExecutor.process(ServiceExecutor.java:230) at fleetcycle.services.framework.execution.ServiceExecutor.access$000(ServiceExecutor.java:33) at fleetcycle.services.framework.execution.ServiceExecutor$1.doInWorkflowContext(ServiceExecutor.java:102) at fleetcycle.services.framework.execution.WorkflowContextTemplate.execute(WorkflowContextTemplate.java:26) at fleetcycle.services.framework.execution.ServiceExecutor.execute(ServiceExecutor.java:99) at sun.reflect.GeneratedMethodAccessor1281.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:139) at fleetcycle.services.framework.audit.intercept.ApplicationExceptionAuditingInterceptor.invoke(ApplicationExceptionAuditingInterceptor.java:34) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy193.execute(Unknown Source) at fleetcycle.ui.framework.actions.AbstractFleetCycleAction.callExecutionEntry(AbstractFleetCycleAction.java:245) at fleetcycle.ui.framework.actions.ServiceExecutorAction.execute(ServiceExecutorAction.java:169) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at fleetcycle.ui.framework.actions.FleetCycleRequestProcessor.process(FleetCycleRequestProcessor.java:109) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1068) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1009) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145) at fleetcycle.util.common.UserDetailsFilter.doFilterInternal(UserDetailsFilter.java:44) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:265) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) at org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at fleetcycle.ui.framework.security.AbstractAuthenticationFilter.doFilterInternal(AbstractAuthenticationFilter.java:144) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:229) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.ui.logout.LogoutFilter.doFilter(LogoutFilter.java:106) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:286) at org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:275) at org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:149) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) at fleetcycle.ui.framework.actions.SessionFilter$1.doInWorkflowContext(SessionFilter.java:106) at fleetcycle.services.framework.execution.WorkflowContextTemplate.execute(WorkflowContextTemplate.java:26) at fleetcycle.ui.framework.actions.SessionFilter.doFilterInternal(SessionFilter.java:111) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:98) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:771) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:539) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3357) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:115) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:263) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture$1.run(AsyncChannelFuture.java:205) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473) Caused by: org.jboss.cache.lock.TimeoutException: read lock for /fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY could not be acquired by GlobalTransaction:<10.10.21.72:33898>:6849 after 15000 ms. Locks: Read lock owners: [] Write lock owner: GlobalTransaction:<10.10.21.72:33898>:6847 , lock info: write owner=GlobalTransaction:<10.10.21.72:33898>:6847 (activeReaders=0, activeWriter=Thread[WebContainer : 2,5,main], waitingReaders=0, waitingWriters=0, waitingUpgrader=0) at org.jboss.cache.lock.IdentityLock.acquireReadLock0(IdentityLock.java:332) at org.jboss.cache.lock.IdentityLock.acquireReadLock(IdentityLock.java:276) at org.jboss.cache.lock.IdentityLock.acquire(IdentityLock.java:499) ... 178 more TRACE 1782515 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 10:02:32,314 - Setting up transactional context. TRACE 1782515 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 10:02:32,314 - Setting tx as com.ibm.ws.Transaction.JTA.TransactionImpl at 45bb45bb#tid=7417 and gtx as GlobalTransaction:<10.10.21.72:33898>:6847 TRACE 1782515 [WebContainer : 2] (org.jboss.cache.factories.ComponentRegistry) 2009-10-08 10:02:32,314 - Testing if invocations are allowed. TRACE 1782515 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 10:02:32,314 - calling aftercompletion for GlobalTransaction:<10.10.21.72:33898>:6847 TRACE 1782515 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 10:02:32,314 - Running commit phase. One phase? false TRACE 1782516 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 10:02:32,315 - Running commit for GlobalTransaction:<10.10.21.72:33898>:6847 DEBUG 1782516 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticValidatorInterceptor) 2009-10-08 10:02:32,315 - Commiting successfully validated changes for GlobalTransaction GlobalTransaction:<10.10.21.72:33898>:6847 TRACE 1782528 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticValidatorInterceptor) 2009-10-08 10:02:32,327 - Applying children deltas to parent node /fleetcycle/domain/billing/invoicing/InvoiceStatus TRACE 1782528 [WebContainer : 2] (org.jboss.cache.VersionedNode) 2009-10-08 10:02:32,327 - Marking node /fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY as invalid TRACE 1782534 [WebContainer : 2] (org.jboss.cache.VersionedNode) 2009-10-08 10:02:32,333 - Marking node /fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY as invalid TRACE 1782534 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticValidatorInterceptor) 2009-10-08 10:02:32,333 - Versioning is explicit; not attempting an increment. TRACE 1782534 [WebContainer : 2] (org.jboss.cache.interceptors.OptimisticValidatorInterceptor) 2009-10-08 10:02:32,333 - Setting version of node /fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY from org.hibernate.cache.jbc2.util.NonLockingDataVersion at 230b230b to org.hibernate.cache.jbc2.util.NonLockingDataVersion at 230b230b TRACE 1782536 [WebContainer : 2] (org.jboss.cache.lock.NodeBasedLockManager) 2009-10-08 10:02:32,335 - releasing lock for /fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY (write owner=GlobalTransaction:<10.10.21.72:33898>:6847), owner GlobalTransaction:<10.10.21.72:33898>:6847 TRACE 1782540 [WebContainer : 2] (org.jboss.cache.lock.NodeBasedLockManager) 2009-10-08 10:02:32,339 - releasing lock for /fleetcycle/domain/billing/invoicing/InvoiceStatus (read owners=[GlobalTransaction:<10.10.21.72:33898>:6847]), owner GlobalTransaction:<10.10.21.72:33898>:6847 TRACE 1782704 [Multiplexer-1] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 10:02:32,503 - Setting up transactional context. TRACE 1782704 [Multiplexer-1] (org.jboss.cache.interceptors.OptimisticTxInterceptor) 2009-10-08 10:02:32,503 - Setting tx as null and gtx as null TRACE 1782704 [Multiplexer-1] (org.jboss.cache.interceptors.InvocationContextInterceptor) 2009-10-08 10:02:32,503 - Resetting invocation-scope options TRACE 1782704 [Multiplexer-1] (org.jboss.cache.commands.legacy.write.VersionedInvalidateCommand) 2009-10-08 10:02:32,503 - Invalidating fqn:/fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY TRACE 1782704 [Multiplexer-1] (org.jboss.cache.VersionedNode) 2009-10-08 10:02:32,503 - Marking node /fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY as invalid TRACE 1782704 [Multiplexer-1] (org.jboss.cache.interceptors.InvocationContextInterceptor) 2009-10-08 10:02:32,503 - Resetting invocation-scope options TRACE 1782704 [Multiplexer-1] (org.jboss.cache.marshall.CommandAwareRpcDispatcher) 2009-10-08 10:02:32,503 - Command : ReplicateCommand{cmds=OptimisticInvalidateCommand{dataVersion=org.hibernate.cache.jbc2.util.NonLockingDataVersion at 42014201 ,fqn=/fleetcycle/domain/billing/invoicing/InvoiceStatus/ENTITY}} executed, result is: null TRACE 1782704 [Multiplexer-1] (org.jboss.cache.marshall.CacheMarshaller300) 2009-10-08 10:02:32,503 - Marshalling object null TRACE 1782704 [Multiplexer-1] (org.jboss.cache.marshall.CacheMarshaller300) 2009-10-08 10:02:32,503 - Done serializing object: null TRACE 1782705 [OOB-1,udp-legacy-fleetcycle,10.10.21.72:33898] (org.jboss.cache.marshall.CacheMarshaller300) 2009-10-08 10:02:32,504 - Unmarshalled object null TRACE 1782705 [WebContainer : 2] (org.jboss.cache.marshall.CommandAwareRpcDispatcher) 2009-10-08 10:02:32,504 - responses: [sender=10.10.21.72:33896, retval=null, received=true, suspected=false] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260342#4260342 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260342 From do-not-reply at jboss.com Wed Oct 14 11:51:01 2009 From: do-not-reply at jboss.com (jbosscacheuser1) Date: Wed, 14 Oct 2009 11:51:01 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: bulkUpdate - could not release cache lock Message-ID: <25108877.1255535461753.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi I am new to jBPM and learning it. Can anyone please explain me how to maintain different versions of process defnitions in jBPM4. Also please let me know where can i get the documentation on jBPM4. Please suggest.. Thanks in advance for your valuable reply.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260353#4260353 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260353 From do-not-reply at jboss.com Wed Oct 14 13:03:57 2009 From: do-not-reply at jboss.com (ironosity) Date: Wed, 14 Oct 2009 13:03:57 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Can't undeploy without restarting jboss. Message-ID: <17311875.1255539837830.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> First a little background. I'm running 5.0.1. I have multiple EARs deployed on a single instance. Because this is a test environment it is important that each engineer be able to deploy/undeploy without restarting the server so as not to interfere with other's work. I need to be able to undeploy from an ant script on a remote machine. From what I've read that should be fine since undeploying JBoss is as simple as deleting the directory (EAR or WAR in this case). The problem is that the directory can't be deleted since windows complains that a file is "open" or "in use." After looking into it the file that is in use is located at JBOSS_HOME\server\default\deploy\app.ear\app.war\WEB-INF\lib\app.jar. It makes sense to me that this file is in use since it contains all the class files for our web application. So how do you undeploy from jboss while it's running such that this directory (app.ear) can be replaced (deleted/created again)? I tried undeploying through JMX console and it still states this file is in use. Any ideas? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260362#4260362 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260362 From do-not-reply at jboss.com Wed Oct 14 13:13:02 2009 From: do-not-reply at jboss.com (RonanKER) Date: Wed, 14 Oct 2009 13:13:02 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Problems with indexes in jbpm.history.hbm.xml Message-ID: <14274780.1255540382147.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, I hadn't seen the bug when i installed my app on SQL Server but I'm now installing it with Oracle and I discover it... so In my SQL Server Database the 4 double-index exist so it takes lots of more space... so in next update script for my clients i'll delete useless indexes... And for my install under Oracle i'll correct the initial script not to try to create thoses useless indexes... just to say that in oracle when we use in the script : "WHENEVER SQLERROR EXIT SQL.SQLCODE ROLLBACK" then it's a blocking bug... (i'm on oracle 10g and launching initial and migration scripts with sqlplus command) as an index can easily be re-created, the migration can just consist in delete the 4x2=8 index with "if exist" or equivalent and then create the 4 good ones... I would just want to know, what will be the names of the good ones ? those with "_DET_" or those with "_DETAIL_" ? thanks :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260363#4260363 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260363 From do-not-reply at jboss.com Wed Oct 14 13:16:03 2009 From: do-not-reply at jboss.com (mlohbihler) Date: Wed, 14 Oct 2009 13:16:03 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Cache locking problem Message-ID: <10289556.1255540563827.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I can't seem to find any post about this, so i'm sure i'm doing something wrong. If anyone can tell me what, it would be greatly appreciated. Even with REPEATABLE_READ and writeSkewCheck="true" i can easily determine that data versioning isn't working. I'm using 3.2.1GA with the following configuration (copied from the samples with only locking values changed): | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the test code: public static void main(String[] args) throws Exception { | CacheFactory factory = new DefaultCacheFactory(); | Cache cache = factory.createCache("conf/cache.xml"); | | Node root = cache.getRoot(); | Fqn test1Fqn = Fqn.fromElements("test", "test-1"); | Node test1Counts = root.addChild(test1Fqn); | | for (int i=0; i<10000; i++) | updateCount(test1Counts, "key1"); | | boolean run = true; | while (run) { | System.out.println("Members: "+ cache.getMembers().size()); | System.out.println("Sum: "+ test1Counts.get("key1")); | Thread.sleep(4000); | } | | cache.stop(); | cache.destroy(); | } | | private static void updateCount(Node map, String key) { | while (true) { | try { | Integer count = map.get(key); | if (count == null) | count = 0; | count++; | while (true) { | try { | map.put(key, count); | break; | } | catch (TimeoutException e) { | System.out.println(e.getMessage()); | } | catch (SuspectException e) { | System.out.println(e.getMessage()); | } | } | break; | } | catch (DataVersioningException e) { | // Retry | System.out.println(e.getMessage()); | } | } | | System.out.println("Updated map: "+ map.getData()); | } | I run two instances on the same machine and set a breakpoint at the "map.get" method. I step past the get in both instances, and then let the first instance run. Then i step in the second instance, expecting the map.put to fail, but it doesn't. I know the cluster works because the get will read the latest value put by either instance. The funny thing is that, when i remove the breakpoint and let both instances run, i will occasionally get a DataVersioningException, which suggests that i did something right, but not enough. Typically, in the end the total in the counter will be around 15K, when it should be exactly 20K. Can anyone help me out? Kind regards, m@ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260364#4260364 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260364 From do-not-reply at jboss.com Wed Oct 14 13:16:22 2009 From: do-not-reply at jboss.com (dgolovin) Date: Wed, 14 Oct 2009 13:16:22 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: JBossTools & JMX Poller - Server failed to start Message-ID: <11788198.1255540582898.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Make a double click on server in server view to open Server Configuration and change Startup Poller from JMX to Timeout. I've opened JIRA issue for your post https://jira.jboss.org/jira/browse/JBIDE-5024 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260365#4260365 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260365 From do-not-reply at jboss.com Wed Oct 14 13:22:03 2009 From: do-not-reply at jboss.com (kcbabo) Date: Wed, 14 Oct 2009 13:22:03 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - multiple EJB WS deployments with shared context root Message-ID: <33154438.1255540923995.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is $subject possible with JBoss WS? Trying to help a client port their application off of GlassFish/Metro. They have ~50 EJB WS archives that are deployed as EJB jars. Each jar contains a web service definition with a shared context root, e.g. ejb1.jar : endpoint-uri = /foobar/service1 ejb2.jar : endpoint-uri = /foobar/service2 I can see a way to achieve this via the port-component/port-component-uri element in jboss.xml, but when I attempt to deploy Tomcat pukes because of the duplicate context root. Any ideas on how to address this? thanks, keith View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260367#4260367 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260367 From do-not-reply at jboss.com Wed Oct 14 13:31:02 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 14 Oct 2009 13:31:02 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Process Definition - Versioning (jBPM4) Message-ID: <23115764.1255541462326.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> the documentation: http://www.jboss.org/jbossjbpm/jbpm_documentation/ how to ask questions: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158610 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260369#4260369 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260369 From do-not-reply at jboss.com Wed Oct 14 13:35:57 2009 From: do-not-reply at jboss.com (darmour) Date: Wed, 14 Oct 2009 13:35:57 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Running JBoss Cache independent of Java application? Message-ID: <10718242.1255541757159.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi We are working on an old Java application (non-container based) that is now loading 100s of MB of data into hashtables and running out of memory. One thing we need to do is move this data out of the JVM but have it accessible to it. When running JBoss Cache ??? can it be used in a way that it runs in it???s own memory space independent of the Java application JVM? How is it accessed if it can run in it???s own memory space? Thanks in advance. David Armour Wisconsin Department of Transportation View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260370#4260370 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260370 From do-not-reply at jboss.com Wed Oct 14 13:42:10 2009 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Wed, 14 Oct 2009 13:42:10 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - JBossOSGi 1.0.0.Beta4 Released (14-Oct-2009) Message-ID: <21530641.1255542130143.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am happy to announce the release of JBossOSGi-1.0.0.Beta4. http://jbossosgi.blogspot.com/2009/10/jbossosgi-100beta4-released_14.html The release comes with improvements in the following areas * Initial release of our native JBossMC based OSGi Framework. * Added support for OSGi WebApps using WebApp Extender * Improved support for the HttpService. For details please have a look at the latest version of our User Guide. Here are the change log details Feature Request * [JBOSGI-110] - Support WAR deployments in the OSGi runtime * [JBOSGI-127] - Provide build and hudson support for MC facade * [JBOSGI-128] - Add Framework launch API Task * [JBOSGI-80] - Add support for Framework Launching (RFC-132) * [JBOSGI-132] - Release JBoss MC Framework 1.0.0.Alpha1 * [JBOSGI-134] - Add support for BundleContext.getDataFile() * [JBOSGI-142] - Investigate classloading space * [JBOSGI-148] - Autostart bundles when deployed in JBossAS * [JBOSGI-156] - Setup r4v42 core TCK * [JBOSGI-159] - Fire events asynchronously * [JBOSGI-160] - Use Pax Web instead of Apache Http-Service * [JBOSGI-164] - Update Blueprint to 1.0.0.Alpha2 * [JBOSGI-165] - Update to jboss-osgi-common-1.0.2 * [JBOSGI-166] - Update to jboss-osgi-common-core-2.2.13.GA * [JBOSGI-167] - Update to jboss-osgi-husky-1.0.1 * [JBOSGI-168] - Update to jboss-osgi-jmx-1.0.1 * [JBOSGI-169] - Update to jboss-osgi-jndi-1.0.1 * [JBOSGI-170] - Update to jboss-osgi-microcontainer-1.0.2 * [JBOSGI-171] - Update to Eclipse Equinox-3.5 * [JBOSGI-172] - Update to Apache Felix-2.0.0 * [JBOSGI-173] - Update to jboss-osgi-spi-1.0.2 * [JBOSGI-174] - Update to jboss-osgi-webconsole-1.0.1 * [JBOSGI-175] - Update to osgi core/compendium R4v42 * [JBOSGI-176] - Release JBoss OSGi 1.0.0.Beta4 * [JBOSGI-133] - Pass all example tests with MC Framework Bug * [JBOSGI-78] - ResourceNotFoundException too verbose * [JBOSGI-130] - Bundle is still in state INSTALLED after bundle.start() * [JBOSGI-135] - Cannot handle package being imported and exported by the same bundle * [JBOSGI-136] - Cannot resolve dependency against unstarted bundle * [JBOSGI-140] - Invalid delivery of framework events * [JBOSGI-144] - Framework does not handle ServiceFactory provided services properly * [JBOSGI-151] - Cannot resolve circular dependencies * [JBOSGI-155] - OutOfMemoryError on repeated install/unstall bundle * [JBOSGI-158] - Framework itself must be a bundle * [JBOSGI-161] - Cannot use commons-logging * [JBOSGI-162] - Cannot load classes from Bundle-ClassPath * [JBOSGI-163] - Husky invocation before async extender processing Enjoy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260371#4260371 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260371 From do-not-reply at jboss.com Wed Oct 14 13:44:08 2009 From: do-not-reply at jboss.com (jorgemoralespou_2) Date: Wed, 14 Oct 2009 13:44:08 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Bug in connection validation code Message-ID: <6615098.1255542248136.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> As reported by bortx we have seen this issue with our RA. We havent tried this kind of functionality with any of the JBoss` shipped RAs. We have modified the sources for Jboss AS connector, from the sources in 4.2.3 tag, and now the problem is fixed for our RA. One might think that the problem is in our RA, but looking at the code, it seems that it might affect any RA. We haven't had time to validate with JDBC for example, but it is very clear that the problem is there. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260372#4260372 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260372 From do-not-reply at jboss.com Wed Oct 14 14:15:07 2009 From: do-not-reply at jboss.com (flavia.rainone@jboss.com) Date: Wed, 14 Oct 2009 14:15:07 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Re: Getting to a ClassInfo's ClassLoader Message-ID: <6626734.1255544107936.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "alesj" wrote : How do we use it elsewhere/before? Before I added those getType.getClassLoader() calls, the null classloader was being used for loading and creating ctClasses instead. I don't think that classloader is retrieved elsewhere,apart from BasicClassAdapter.getClassLoader(), that also invokes getType() to get to the ClassLoader. "alesj" wrote : Looking at the Javassist Reflect usage, it seems we need to change it a bit. | | | | public Class getType() | | { | | if(clazz == null) | | clazz = JavassistUtil.ctClassToClass(ctClass); | | | | return clazz; | | } | | | | This first delegates the loading to JavassistUtil.class.getClassLoader() and only then to CtClass::toClass. | Meaning we wouldn't use our new Classpool notion first, only after it would fail via first try. Don't you mean that, if the ModifiableClassInfo is modified, it delegates the loading to CtClass::toClass first, and only then to the JavassistUtil.class.getClassLoader()? IMO, this is correct, given that CtClass.toClass() uses the ClassPool and the ClassLoader associated with the ClassPool in order to load the class. Still, the JavassistUtil class contains a few bugs, because it is not using the correct classpool on the remaining methods. "alesj" wrote : | Perhaps new getClassLoader method on TypeInfo? I think that that is the ideal. The getType method has the collateral effect that the MutableClassinfo can no longer be edited after it has been loaded. The correct way of retrieving the class loader would be: ctClass.getClassPool().getClassLoader This could be easily done if we added a getClassLoader() method to TypeInfo. "alesj" wrote : btw: don't forget to check for security or add permission blocks on who can use it Ok! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260375#4260375 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260375 From do-not-reply at jboss.com Wed Oct 14 14:30:15 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Wed, 14 Oct 2009 14:30:15 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Buddy replication - initial state transfer after node re Message-ID: <22728789.1255545015266.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks, we'll just hold off on moving to buddy replication until the 3.3 release. Total replication works well for us at this point. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260376#4260376 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260376 From do-not-reply at jboss.com Wed Oct 14 15:46:34 2009 From: do-not-reply at jboss.com (bhimawan) Date: Wed, 14 Oct 2009 15:46:34 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Asynchronous POJO service Message-ID: <11281275.1255549594954.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> So EJB3 clients can create an async proxy. Can we do the same thing with the clients of a POJO service? Is POJO service clustered? Thanks Budyanto View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260396#4260396 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260396 From do-not-reply at jboss.com Wed Oct 14 15:47:50 2009 From: do-not-reply at jboss.com (alesj) Date: Wed, 14 Oct 2009 15:47:50 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Re: Getting to a ClassInfo's ClassLoader Message-ID: <30033464.1255549670188.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "flavia.rainone at jboss.com" wrote : | Don't you mean that, if the ModifiableClassInfo is modified, it delegates the loading to CtClass::toClass first, and only then to the JavassistUtil.class.getClassLoader()? | IMO, this is correct, given that CtClass.toClass() uses the ClassPool and the ClassLoader associated with the ClassPool in order to load the class. | Still, the JavassistUtil class contains a few bugs, because it is not using the correct classpool on the remaining methods. | If modified, we just try if we can still load it. | if(ct.isModified()) | { | try | { | ct.toClass(); | } | catch (CannotCompileException e) | { | throw new org.jboss.reflect.spi.CannotCompileException(e.toString()); | } | } | And yes, JavassistUtil definitely needs fixing. "flavia.rainone at jboss.com" wrote : | "alesj" wrote : | | Perhaps new getClassLoader method on TypeInfo? | | I think that that is the ideal. The getType method has the collateral effect that the MutableClassinfo can no longer be edited after it has been loaded. The correct way of retrieving the class loader would be: | ctClass.getClassPool().getClassLoader | This could be easily done if we added a getClassLoader() method to TypeInfo. OK, this looks reasonable, as to delay class creation as long as we can. Like I said, just make sure - perhaps it's already part of javassist code - that there is security enforcement. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260397#4260397 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260397 From do-not-reply at jboss.com Wed Oct 14 20:06:55 2009 From: do-not-reply at jboss.com (SDF1) Date: Wed, 14 Oct 2009 20:06:55 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Source code for ShoppingCart and ShoppingCatalog portlet Message-ID: <2939199.1255565215304.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have problem with deploying portlet into JBoss Portal. When I put portlet.war into folder: jboss/server/default/deploy, I get this message on console: 00:23:30,642 ERROR [LifeCycle] Cannot start object org.jboss.portal.portlet.container.PortletInitializationException: The portlet ShoppingCatalog_Portlet threw a runtime exception during init | at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.start(PortletContainerImpl.java:288) | at org.jboss.portal.portlet.impl.container.PortletContainerLifeCycle.invokeStart(PortletContainerLifeCycle.java:76) | at org.jboss.portal.portlet.impl.container.LifeCycle.managedStart(LifeCycle.java:92) | at org.jboss.portal.portlet.impl.container.PortletApplicationLifeCycle.startDependents(PortletApplicationLifeCycle.java:351) | at org.jboss.portal.portlet.impl.container.LifeCycle.managedStart(LifeCycle.java:128) | at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:226) | at org.jboss.portal.core.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:94) | at org.jboss.portal.server.deployment.jboss.DeploymentContext.start(DeploymentContext.java:99) | etc... Does anyone from these lines can tell me why not to deploy portlet? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260414#4260414 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260414 From do-not-reply at jboss.com Wed Oct 14 20:12:58 2009 From: do-not-reply at jboss.com (Josh86) Date: Wed, 14 Oct 2009 20:12:58 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Getting variables from child executions after joining Message-ID: <27964264.1255565578177.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, is it possible to get variables, which are created in a child execution context, after joining these child executions, e.g. for merging the values of these variables? After joining the child executions, the getExecutions() method of the root execution object returns an empty list, so that i cannot get the prevoius child executions and therefore there is no chance to obtain the variables. Thanks, Josh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260415#4260415 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260415 From do-not-reply at jboss.com Thu Oct 15 00:32:25 2009 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 15 Oct 2009 00:32:25 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Can't undeploy without restarting jboss. Message-ID: <28275844.1255581145546.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yes, file locking has been a problem on Windows even in earlier versions of JBoss. My understanding was that it was fixed in AS-5 with the introduction of VFS, but it's still present. So coming back to your issue - i guess instead of deploying as an exploded folder, you can probably deploy it as archived deployment so that the archive is then extracted into a temp folder by the server and the file-in-use issue will probably be solved. However this has its own disadvantages because, you can't do dynamic changes to files like .jsp without redeploying the application. I remember that in 5.1.0 version of AS, even exploded deployments were temped (i.e. copied over to temp folder). Could you try 5.1.0 and see if that solves the issue? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260425#4260425 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260425 From do-not-reply at jboss.com Thu Oct 15 00:33:02 2009 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 15 Oct 2009 00:33:02 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Asynchronous POJO service Message-ID: <1139084.1255581182461.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Which POJO service are you referring to? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260426#4260426 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260426 From do-not-reply at jboss.com Thu Oct 15 00:43:58 2009 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 15 Oct 2009 00:43:58 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jbossweb-tomcat.sar upgrade to Tomcat 5.5.28 Message-ID: <20302542.1255581838210.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You might want to ask this question in the Tomcat Integration forum http://www.jboss.org/index.html?module=bb&op=viewforum&f=50 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260427#4260427 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260427 From do-not-reply at jboss.com Thu Oct 15 01:40:03 2009 From: do-not-reply at jboss.com (crazyworld) Date: Thu, 15 Oct 2009 01:40:03 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - History information is not retried in sequence in JBPM 3.2. Message-ID: <8186339.1255585203677.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am using JBPM 3.2.x Here when i fetch the log information using public Map findLogsByProcessInstance(long processInstanceId) {...} method i am able to retrieve the ProcessLogs but the List of Proces Logs doesnt maintains proper sequnce as the logs are created in Database. In documentation its given anonymous wrote : The map will associate a List of ProcessLogs with every Token in the process instance. The list will contain the ProcessLogs in the same ordered as they were created. Refer http://docs.jboss.org/jbpm/v3/userguide/logging.html Is this a Bug!. Also jbpmConfiguration.createJbpmContext().getLoggingSession().findLogsByProcessInstance(processInstanceId); It takes around one minute to fetch the log for first time !! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260431#4260431 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260431 From do-not-reply at jboss.com Thu Oct 15 01:44:03 2009 From: do-not-reply at jboss.com (crazyworld) Date: Thu, 15 Oct 2009 01:44:03 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: History information is not retried in sequence in JBPM Message-ID: <30716220.1255585443368.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Moderator can u please change a typo retried to retrieved in the subject line View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260432#4260432 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260432 From do-not-reply at jboss.com Thu Oct 15 02:36:43 2009 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 15 Oct 2009 02:36:43 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - JBossAS support with Beta4 Message-ID: <21065484.1255588603107.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Falk asks: anonymous wrote : Is it right that JBoss 5.1 is no longer supported with Beta4? The matrix of supported containers, frameworks and jdks is documented here http://jbmuc.dyndns.org/jboss-osgi/userguide/html/ChapGettingStarted.html#SecHudson View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260435#4260435 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260435 From do-not-reply at jboss.com Thu Oct 15 03:09:42 2009 From: do-not-reply at jboss.com (technocrat.bharani) Date: Thu, 15 Oct 2009 03:09:42 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - domain specific config files Message-ID: <31586082.1255590582494.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I wanted to have domain specific configuration files (eg. properties file). I planned to have an AppConfig folder under the domain. How can i add this folder to the domain's classpath? I dont want to have the configuration files under the /bin folder. pls suggest asap. thanks in advance, Barani View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260440#4260440 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260440 From do-not-reply at jboss.com Thu Oct 15 04:00:24 2009 From: do-not-reply at jboss.com (p4w3l) Date: Thu, 15 Oct 2009 04:00:24 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jBPM 4.1 ( TaskForm example through console ) ... Message-ID: <23721872.1255593624352.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> go to install folder and: ant install.example.identities.into.tomcat ... if you go with tomcat review build.xml for other targets to populate db and for other environments View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260446#4260446 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260446 From do-not-reply at jboss.com Thu Oct 15 05:00:40 2009 From: do-not-reply at jboss.com (dmjones500) Date: Thu, 15 Oct 2009 05:00:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Address already in use, despite following FAQ. Message-ID: <25645492.1255597240840.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, I'm really struggling to figure out why I occasionally cannot start JBOSS due to port 1098 being in use. I've followed the http://www.jboss.org/community/wiki/DebugBindException and have done a fair amount of Googling, but to no avail. I have done the following: * used netstat, TCPView and FPort to try and identify the process using the port. Unfortunately it does not show anything listening on 1098; | * used the ReservedPorts registry value to attempt to reserve ports 1024-49151. I'm at a loss. Most people who encounter this problem seem to use netstat and discover the culprit instantly. I would be incredibly grateful for any suggestions anyone has. Thanks in advance, Duncan Jones View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260469#4260469 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260469 From do-not-reply at jboss.com Thu Oct 15 05:01:24 2009 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 15 Oct 2009 05:01:24 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - JBossOSGi vs. Pax-Runner/Pax-Exam Message-ID: <12719744.1255597284661.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Kevin sais: anonymous wrote : | Congrats on the release, I am looking forward to playing with it. | | Can you explain the benefits of our own integration over something like the pax-runner/pax-exam framework? I have been using those for OSGi work and am very happy with it, what functionality do you provide above and beyond theirs? | | Do you plan on supporting Knoplerfish? | pax-runner/pax-exam is probably not much different to jboss osgi runtime/husky as long as you use the felix or equinox, in an embedded scenario. The main objective of JBoss OSGi however is to bring OSGi functionality to the JBoss Application server. That JBoss OSGi has its own standalone runtime and can be bootstrapped embedded in you application is a by-product if you like. With Beta4 you also get the first Alpha release of our own OSGi Framework implementation that is based on the JBoss Microcontainer. Q: Why would we want to write our own OSGi Framework, if there are good open source alternatives out there? A: Because eventually we want to bring added value to our customers that they can leverage the OSGi technology and at the same time talk to existing services that are deployed on JBoss. We would like to access OSGi services from EJB3, MCBeans, MBeans, WebBeans, and vica versa. This type of cross-component model integration would not be possible if we deployed a 3rd party framework like Felix or Equinox into JBoss. For details on the various runtime model see: http://jbossosgi.blogspot.com/2009/06/jboss-osgi-runtime-as-integration.html Because JBoss integration is at the heart of everything I do, I needed to find a way to write a plain JUnit4 test case and run that against multiple OSGi Frameworks in embedded mode as well as integrated in JBoss. So what I actually do in Hudson is: #1 build the installer #2 auto execute the installer with a choice of container/framework #3 run the test suite against that installation using a given jdk I that way I can be sure that every functionality I ship and advertise actually runs in JBoss. Pax-Exam does not support the notion of remote OSGi Framework AFAIK. If you'd like to read more on Husky, have a look at http://jbossosgi.blogspot.com/2009/10/osgi-unit-testing.html Here is the set of requirements that I had # The solution MUST support plain JUnit4 POJO test cases # There SHOULD be no requirement to extend a specific test base class # There MUST be no requirement on a specific test runner # There SHOULD be a minimum test framework leakage into the test case # The test framework MUST support embedded and remote OSGi Runtimes with no change required to the test # The same test case MUST be executable from outside as well as from within the OSGi Framework # There SHOULD be a pluggable communication layer from the test runner to the OSGi Framework # The test framework MUST NOT depend on OSGi Framework specific features # There MUST be no automated creation of test bundles required by the test framework View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260471#4260471 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260471 From do-not-reply at jboss.com Thu Oct 15 05:04:09 2009 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Thu, 15 Oct 2009 05:04:09 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - Support for Knoplerfish Message-ID: <19711090.1255597449146.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We dropped support for Knopflerfish in 1.0.0.Beta4 in favour of our native MC based Framework. If there is demand, it could easily be resurrect that from Beta3, probably as a community effort. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260472#4260472 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260472 From do-not-reply at jboss.com Thu Oct 15 05:12:31 2009 From: do-not-reply at jboss.com (urandom) Date: Thu, 15 Oct 2009 05:12:31 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - jbossws - DOM vs SAX Message-ID: <28196924.1255597951773.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have just had OutOfMemoryError on the jboss-ws 2.0.3 GA. When I was watching the coredump file I saw the jboss-ws use the class org.apache.xerces.dom.DeferredDocumentImpl to build response and needed over 100MB memory to handled 23MB response. Can I configure jboss-ws to using sax parser? If not why dom was chosen. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260475#4260475 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260475 From do-not-reply at jboss.com Thu Oct 15 05:17:38 2009 From: do-not-reply at jboss.com (stmod) Date: Thu, 15 Oct 2009 05:17:38 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - JBPM and JBPM-BPEL version Message-ID: <9984566.1255598258647.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello to all, I have a JBOSS 4.2.2GA up and running. A part I have not directly deployed and that is totally out of my control, uses this two jar for jbpm (put in jboss/server/default/lib) jbpm-3.1.2.jar jbpm-identity-3.1.2.jar The db used is Hypersonic. I would like to add to Jboss a Jbpm-bpel (I tried both jbpm-bpel 1.1GA and jbpm-bpel 1.1.1), but when i tried to install it following the instructions I got several errors realted to jbpm context probably due to conflicts in JBPM version. With jbpm-bpel 1.1.1 I have exceptions as soon as i try to deploy the jbpm-bpel.ear With jbpm-bpel 1.1GA I do not have any exception when i deploy the ear, but I got exceptions when I try to use any of the link on the jbpm-bpel console. I cannot change the jar already used in the Jboss, so my question is which version of Jbpm-bpel I have to use for not changing JBPM jars? thanks in advance stmod View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260477#4260477 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260477 From do-not-reply at jboss.com Thu Oct 15 05:21:50 2009 From: do-not-reply at jboss.com (dmjones500) Date: Thu, 15 Oct 2009 05:21:50 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Address already in use, despite following FAQ. Message-ID: <822057.1255598510119.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have also tried Microsoft's Process Explorer and manually checked the Tcp/Ip tab for each process. Nothing claims to be using 1098. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260479#4260479 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260479 From do-not-reply at jboss.com Thu Oct 15 05:38:16 2009 From: do-not-reply at jboss.com (Fuchs) Date: Thu, 15 Oct 2009 05:38:16 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - EJB3 and JBoss Portal 2.7.2 Bundle Message-ID: <25900765.1255599496467.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello! I am using JBoss Portal 2.7.2 bundle with JBoss 4.2.3 and I have to import EJB3 into it, to get the EJB Timer-Service. I found this installation guide for JBoss 4.X: | 1. Download EJB 3.0 RC4 - PFD. | 2. Unzip this file. | 3. Copy ejb3.deployer from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy | 4. Copy ejb3-clustered-sfsbcache-service.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy | 5. Copy ejb3-entity-cache-service.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy | 6. Copy ejb3-interceptors-aop.xml from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy | 7. Copy jboss-aop-jdk50.deployer from the lib/ directory of the distribution to jboss-4.0.x/server/all/deploy | 8. Copy jboss-remoting.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib | 9. Copy jboss-serialization.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib | 10. Copy jboss-j2ee.jar from the lib/ directory of the distribution to jboss-4.0.x/server/all/lib | 11. Remove ejb3-persistence.jar from jboss-4.0.x/server/all/lib | 12. Remove hibernate3.jar from jboss-4.0.x/server/all/lib | 13. Remove hibernate-annotations.jar from jboss-4.0.x/server/all/lib | 14. Remove hibernate-entitymanager.jar from jboss-4.0.x/server/all/lib | 15. Remove jboss-aop.deployer/ from jboss-4.0.x/server/all/deploy | 16. Start jboss up with the all configuration run.sh -c all | | If you do not want to run with the all configuration, the skip the steps of copying the ejb3-clustered-sfsbcache-service.xml and the ejb3-entity-cache-service.xml | But it is not the correct way for JBoss Portal or do I have to do additional things? The Console displayed exceptions and the Timer-Service did not run. Here is a small abstract of these exceptions: | *** DEPLOYMENTS IN ERROR: | WSSecurityHandlerEJB3 -> java.lang.NoClassDefFoundError: org/jboss/ejb3/Ejb3ModuleMBean | WSDeployerHook_JAXWS_EJB3 -> java.lang.NoClassDefFoundError: org/jboss/ejb3/EJBContainer | WSApplicationMetaDataAdapterEJB3 -> java.lang.NoClassDefFoundError: org/jboss/ejb3/EJBContainer | | *** DEPLOYMENTS MISSING DEPENDENCIES: | WSContainerMetaDataDeploymentAspect -> WSContainerMetaDataAdapter{Configured:Instantiated} | WSContainerMetaDataAdapter -> WSApplicationMetaDataAdapterEJB3{Configured:**ERROR**}, WSWebMetaDataAdapter{Configured:Installed}, WSApplicationMetaDat | aAdapterEJB21{Configured:Installed} | WSNativeDeploymentAspectInstallerPreJSE -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPreJSE{Configured | :Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{Start:Instantiated} | WSWebAppGeneratorDeploymentAspect -> WSSecurityHandlerEJB21{Configured:Installed}, WSSecurityHandlerEJB3{Configured:**ERROR**} | WSDeploymentAspectInstallerPostJSE -> WSDeploymentAspectManagerPostJSE{Configured:Installed}, WSEndpointLifecycleDeploymentAspect{Configured:Installed | }, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSDeploymentAspectInstallerPreJSE{Create:Instantiated}, WSDeploymentAspectInstallerPreJSE{St | art:Instantiated} | WSNativeDeploymentAspectInstallerEJB -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Confi | gured:Installed}, WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEndpointRecordProcessorDeploymentAspect{Configured:Installed} | , WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpointInvoke | rDeploymentAspect{Configured:Installed}, WSNativeRMDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured:Installe | d}, WSJAXBIntroDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerEJB{Configured:Installed}, WSDeploymentAspectInstallerEJB{Create:Insta | ntiated}, WSDeploymentAspectInstallerEJB{Start:Instantiated} | WSDeploymentAspectInstallerEJB -> WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed}, W | SEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointLifecycleDeploymentAspect{C | onfigured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistr | yDeploymentAspect{Configured:Installed}, WSRuntimeLoaderDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}, WS | WebAppDeploymentAspect{Configured:Installed}, WSWebAppGeneratorDeploymentAspect{Configured:Instantiated}, WSDeploymentAspectManagerEJB{Configured:Inst | alled} | WSDeploymentAspectInstallerEndpointAPI -> WSDeploymentAspectManagerEndpointAPI{Configured:Installed}, WSEndpointAPIDeploymentAspect{Configured:Install | ed}, WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointLifecycleDeploymentAs | pect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointR | egistryDeploymentAspect{Configured:Installed}, WSWebAppDeploymentAspect{Configured:Installed}, WSWebAppGeneratorDeploymentAspect{Configured:Instantiat | ed} | WSNativeDeploymentAspectInstallerEndpointAPI -> WSNativeContextPropertiesDeploymentAspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspe | ct{Configured:Installed}, WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEndpointRecordProcessorDeploymentAspect{Configured:In | stalled}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSNativeServiceEndpoi | ntInvokerDeploymentAspect{Configured:Installed}, WSNativeRMDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeploymentAspect{Configured: | Installed}, WSJAXBIntroDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerEndpointAPI{Configured:Installed}, WSDeploymentAspectInstaller | EndpointAPI{Create:Instantiated}, WSDeploymentAspectInstallerEndpointAPI{Start:Instantiated} | WSNativeDeploymentAspectInstallerPostJSE -> WSNativeEndpointHandlerDeploymentAspect{Configured:Installed}, WSNativeEndpointRecordProcessorDeploymentAs | pect{Configured:Installed}, WSNativeEventingDeploymentAspect{Configured:Installed}, WSNativePublishContractDeploymentAspect{Configured:Installed}, WSN | ativeServiceEndpointInvokerDeploymentAspect{Configured:Installed}, WSNativeRMDeploymentAspect{Configured:Installed}, WSNativeUnifiedMetaDataDeployment | Aspect{Configured:Installed}, WSNativeEagerInitializeDeploymentAspect{Configured:Installed}, WSJAXBIntroDeploymentAspect{Configured:Installed}, WSDepl | oymentAspectManagerPostJSE{Configured:Installed}, WSDeploymentAspectInstallerPostJSE{Create:Configured}, WSDeploymentAspectInstallerPostJSE{Start:Conf | igured} | WSDeploymentAspectInstallerPreJSE -> WSContainerMetaDataDeploymentAspect{Configured:Instantiated}, WSContextRootDeploymentAspect{Configured:Installed} | , WSEndpointAddressDeploymentAspect{Configured:Installed}, WSEndpointHandlerDeploymentAspect{Configured:Installed}, WSEndpointMetricsDeploymentAspect{ | Configured:Installed}, WSEndpointNameDeploymentAspect{Configured:Installed}, WSEndpointRegistryDeploymentAspect{Configured:Installed}, WSModifyWebMeta | DataDeploymentAspect{Configured:Installed}, WSURLPatternDeploymentAspect{Configured:Installed}, WSDeploymentAspectManagerPreJSE{Configured:Installed} | ) | | ObjectName: portal:service=PortletInvoker,type=Federating | State: NOTYETINSTALLED | Depends On Me: | portal:service=Management,type=PortletDiscoveryManagement,name=Default | | ObjectName: jboss.ejb3:service=EJB3Deployer | State: NOTYETINSTALLED | Depends On Me: | jboss.ws:service=DeployerInterceptorEJB3 | | ObjectName: portal:urlFactory=Delegating | State: NOTYETINSTALLED | Depends On Me: | portal:urlFactory=Configurator | portal:urlFactory=CMSObject | portal:urlFactory=IdentityUI | | ObjectName: portal:service=InstanceContainerContext | State: NOTYETINSTALLED | Depends On Me: | portal.management:service=Management,type=Portal,name=Default | | ObjectName: portal:service=Module,type=IdentityServiceController | State: NOTYETINSTALLED | Depends On Me: | portal:service=AuthorizationProvider,type=cms | portal:service=Interceptor,type=Cms,name=ACL | portal:service=ApprovePublish,type=Workflow | portal:service=IdentityUIConfigurationService,type=IdentityUI | portal:service=IdentityUserManagementService,type=IdentityUI | portal.management:service=Management,type=Identity,name=Default | | ObjectName: portal:service=InterceptorStackFactory,type=Instance | State: NOTYETINSTALLED | Depends On Me: | portal:service=InterceptorRegistration,type=Portlet,name=PortletContainerManagement | Each assistance would be welcome, please. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260482#4260482 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260482 From do-not-reply at jboss.com Thu Oct 15 06:31:46 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 15 Oct 2009 06:31:46 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jBPM4 - .bar deployment to embedded jBPM Message-ID: <5220302.1255602706063.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> A really more comfortable way does not exist. But AFAIK the ant script supplied with the distro produces a *.bar-file which includes the process definition, the process image and form templates while classes are put in an extra .jar. Afterwards the .bar-file is deployed via the ant task and the .jar is copied to the right location. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260494#4260494 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260494 From do-not-reply at jboss.com Thu Oct 15 06:35:05 2009 From: do-not-reply at jboss.com (tim.clarke) Date: Thu, 15 Oct 2009 06:35:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - jboss 5.1.0/railo 3.1.1 context problem? Message-ID: <27378517.1255602905982.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Getting a message "Document base /usr/local/jboss-5.1.0.GA/server/ default/deploy/railo/WEB-INF/web.xml does not exist or is not a readable directory" whenever I place my railo files in my jboss deploy folder. Any ideas please? Details below. details: On Fedora 11 I've deployed jboss successfully in /usr/local/jboss - it starts without errors and presents the management page on :8080. That's great; easy and quick. Simply dropping the railo.war file into "(jbossroot)/server/default/ deploy/" yields "Failed to create a new SAX parser" - I cured that by exploding the .war and removing the conflicting jars. I am now trying to deploy by copying the tree forming the exploded railo war contents to "(jbossroot)/server/default/deploy/railo/". All files/folders in the jboss folder tree and railo folder tree are owned jboss:jboss with rights 664/775. Pertinent stuff (I think?) from railo/ WEB-INF/web.xml file is: Railo CFMLServlet CFML runtime Engine railo.loader.servlet.CFMLServlet configuration /WEB-INF/railo/ Configuraton directory ... But I've been struggling to work out what that all means. The error message "Document base ... does not exist or is not a readable directory" isn't helping me - I haven't set a document base parameter? Help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260495#4260495 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260495 From do-not-reply at jboss.com Thu Oct 15 06:39:57 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 15 Oct 2009 06:39:57 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM and JBPM-BPEL version Message-ID: <2418693.1255603197621.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have no experience with jBPM-BPEL so I cannot help you but there are some BPEL users around I think. So let's wait what they have to say about it. However, have you taken a look at Riftsaw? AFAIK the active development of jBPM-BPEL stopped and Riftsaw is the BPEL 2.0 project at JBoss. Just in case you didn't know you might want to consider using Riftsaw. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260497#4260497 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260497 From do-not-reply at jboss.com Thu Oct 15 07:21:17 2009 From: do-not-reply at jboss.com (maluvel) Date: Thu, 15 Oct 2009 07:21:17 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - can normal jboss server produce WSRP Message-ID: <11540332.1255605677490.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi everyone, I am working in a project concerning about WSRP. The scenario is that I generate wsrp in jboss portal and oracle weblogic portal will receive it as a remote portlet. I wonder if I can produce remote portlet using jboss server implementing some WSRP plugins, without jboss portal. As in Oracle we have similar thing, web app running on oracle weblogic server can provide WSRP. Thank all. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260508#4260508 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260508 From samk at twinix.com Fri Oct 9 07:23:08 2009 From: samk at twinix.com (samk at twinix.com) Date: Fri, 9 Oct 2009 06:23:08 -0500 (CDT) Subject: [jboss-user] Starting error.. Message-ID: <23153722.11255087388541.JavaMail.SYSTEM@larkin> See Thread at: http://www.techienuggets.com/Detail?tx=46021 Posted on behalf of a User I'm getting this exception too. I couldn't get fully what to do and how to resolve it.. im actually newbi so ya... plz can u help me? m using 8080 port thn y conflict in 1099? and I checked this link i can see " http://www.jboss.org/community/wiki/UsingJBossBehindAFirewall " but i didnt quitly get what to do? please can anyone help me asap? In Response To: Hi I am new to Jboss application server. When i started the server, I got the following error. could any one pls check this error? Thanks Bhanu lakshmi. =============================================================================== JBoss Bootstrap Environment JBOSS_HOME: D:\jboss-4.2.3.GA JAVA: C:\jdk1.5.0_12\bin\java JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 CLASSPATH: C:\jdk1.5.0_12\lib\tools.jar;D:\jboss-4.2.3.GA\bin\run.jar =============================================================================== 16:08:47,916 INFO [Server] Starting JBoss (MX MicroKernel)... 16:08:47,994 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag= JBoss_4_2_3_GA date=200807181439) 16:08:47,994 INFO [Server] Home Dir: D:\jboss-4.2.3.GA 16:08:47,994 INFO [Server] Home URL: file:/D:/jboss-4.2.3.GA/ 16:08:47,994 INFO [Server] Patch URL: null 16:08:47,994 INFO [Server] Server Name: default 16:08:48,010 INFO [Server] Server Home Dir: D:\jboss-4.2.3.GA\server\default 16:08:48,010 INFO [Server] Server Home URL: file:/D:/jboss-4.2.3.GA/server/defa ult/ 16:08:48,010 INFO [Server] Server Log Dir: D:\jboss-4.2.3.GA\server\default\log 16:08:48,010 INFO [Server] Server Temp Dir: D:\jboss-4.2.3.GA\server\default\tm p 16:08:48,010 INFO [Server] Root Deployment Filename: jboss-service.xml 16:08:52,776 INFO [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc. 16:08:52,791 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_12-b04 ,Sun Microsystems Inc. 16:08:52,791 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86 16:08:55,010 INFO [Server] Core system initialized =============================================================================== JBoss Bootstrap Environment JBOSS_HOME: D:\jboss-4.2.3.GA JAVA: C:\jdk1.5.0_12\bin\java JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 CLASSPATH: C:\jdk1.5.0_12\lib\tools.jar;D:\jboss-4.2.3.GA\bin\run.jar =============================================================================== 16:08:47,916 INFO [Server] Starting JBoss (MX MicroKernel)... 16:08:47,994 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag= JBoss_4_2_3_GA date=200807181439) 16:08:47,994 INFO [Server] Home Dir: D:\jboss-4.2.3.GA 16:08:47,994 INFO [Server] Home URL: file:/D:/jboss-4.2.3.GA/ 16:08:47,994 INFO [Server] Patch URL: null 16:08:47,994 INFO [Server] Server Name: default 16:08:48,010 INFO [Server] Server Home Dir: D:\jboss-4.2.3.GA\server\default 16:08:48,010 INFO [Server] Server Home URL: file:/D:/jboss-4.2.3.GA/server/defa ult/ 16:08:48,010 INFO [Server] Server Log Dir: D:\jboss-4.2.3.GA\server\default\log 16:08:48,010 INFO [Server] Server Temp Dir: D:\jboss-4.2.3.GA\server\default\tm p 16:08:48,010 INFO [Server] Root Deployment Filename: jboss-service.xml 16:08:52,776 INFO [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc. 16:08:52,791 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_12-b04 ,Sun Microsystems Inc. 16:08:52,791 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86 16:08:55,010 INFO [Server] Core system initialized 16:08:47,916 INFO [Server] Starting JBoss (MX MicroKernel)... 16:08:47,994 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag= JBoss_4_2_3_GA date=200807181439) 16:08:47,994 INFO [Server] Home Dir: D:\jboss-4.2.3.GA 16:08:47,994 INFO [Server] Home URL: file:/D:/jboss-4.2.3.GA/ 16:08:47,994 INFO [Server] Patch URL: null 16:08:47,994 INFO [Server] Server Name: default 16:08:48,010 INFO [Server] Server Home Dir: D:\jboss-4.2.3.GA\server\default 16:08:48,010 INFO [Server] Server Home URL: file:/D:/jboss-4.2.3.GA/server/defa ult/ 16:08:48,010 INFO [Server] Server Log Dir: D:\jboss-4.2.3.GA\server\default\log 16:08:48,010 INFO [Server] Server Temp Dir: D:\jboss-4.2.3.GA\server\default\tm p 16:08:48,010 INFO [Server] Root Deployment Filename: jboss-service.xml 16:08:52,776 INFO [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc. 16:08:52,791 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_12-b04 ,Sun Microsystems Inc. 16:08:52,791 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86 16:08:55,010 INFO [Server] Core system initialized 16:09:13,449 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083 / 16:09:15,027 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour ce:jboss-log4j.xml 16:09:23,246 ERROR [Naming] Could not start on port 1099 java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) at java.net.ServerSocket.bind(ServerSocket.java:319) at java.net.ServerSocket.(ServerSocket.java:185) at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketF actory.java:169) at org.jnp.server.Main.initBootstrapListener(Main.java:371) at org.jnp.server.Main.start(Main.java:321) at org.jboss.naming.NamingService.startService(NamingService.java:284) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at org.jboss.system.ServiceController.start(ServiceController.java:435) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:508) at java.lang.Thread.run(Thread.java:595) 16:09:24,199 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 16:09:24,199 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 16:09:25,496 INFO [TransactionManagerService] Starting recovery manager 16:09:25,777 INFO [TransactionManagerService] Recovery manager started 16:09:25,777 INFO [TransactionManagerService] Binding TransactionManager JNDI R eference 16:10:04,482 INFO [EJB3Deployer] Starting java:comp multiplexer java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy41.addDeployer(Unknown Source) at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:517) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:142) at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor .java:97) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at org.jboss.system.ServiceController.start(ServiceController.java:435) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen tScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS canner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A bstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:508) at java.lang.Thread.run(Thread.java:595) 16:10:53,469 ERROR [BaseModelMBean] Exception invoking method init javax.management.RuntimeErrorException: Error invoking method addChild at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j ava:307) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1 64) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.apache.catalina.core.StandardContext.init(StandardContext.java:53 12) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j ava:296) at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1 64) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(Tom catDeployer.java:301) at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeplo yer.java:104) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy42.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:46 6) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:142) at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor .java:97) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy43.start(Unknown Source) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:368) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy41.addDeployer(Unknown Source) at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:517) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS upport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB eanSupport.java:245) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:142) at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor .java:97) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl ler.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at org.jboss.system.ServiceController.start(ServiceController.java:435) at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.Re at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase .java:790) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77 0) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j ava:296) ... 121 more 16:13:08,740 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo at 644c0835 { url=file:/D:/jboss-4.2.3.GA/serve r/default/deploy/jboss-web.deployer/ROOT.war/ } deployer: MBeanProxyExt[jboss.web:service=WebServer] status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja vax.management.RuntimeOperationsException: Exception invoking method init) state: FAILED watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer/ROOT.w ar/WEB-INF/web.xml altDD: null lastDeployed: 1217241640437 lastModified: 1217224056500 mbeans: org.jboss.deployment.DeploymentInfo at 3bc7b808 { url=file:/D:/jboss-4.2.3.GA/serve r/default/deploy/http-invoker.sar/invoker.war/ } deployer: MBeanProxyExt[jboss.web:service=WebServer] status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja vax.management.RuntimeOperationsException: Exception invoking method init) state: FAILED watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/http-invoker.sar/invoker. war/WEB-INF/web.xml altDD: null lastDeployed: 1217241648703 lastModified: 1217224057109 mbeans: org.jboss.deployment.DeploymentInfo at a423505a { url=file:/D:/jboss-4.2.3.GA/serve r/default/deploy/jbossws.sar/jbossws.beans/ } deployer: org.jboss.kernel.deployment.jboss.JBossBeanDeployer at dfe303 status: null state: INITIALIZED watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/jbossws.beans /META-INF/jboss-beans.xml altDD: null lastDeployed: 1217241611232 lastModified: 1217224055609 mbeans: org.jboss.deployment.DeploymentInfo at 707de9c8 { url=file:/D:/jboss-4.2.3.GA/serve r/default/deploy/jbossws.sar/FastInfoset.jar } deployer: org.jboss.deployment.JARDeployer at 1d10a5c status: null state: INITIALIZED watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/FastInfoset.j ar altDD: null lastDeployed: 1217241611873 lastModified: 1217241611295 mbeans: org.jboss.deployment.DeploymentInfo at 36d8730e { url=file:/D:/jboss-4.2.3.GA/serve r/default/deploy/jbossws.sar/jaxb-api.jar } deployer: null status: null state: CONSTRUCTED watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/jaxb-api.jar altDD: null lastDeployed: 1217241612248 lastModified: 1217241612029 mbeans: org.jboss.deployment.DeploymentInfo at 1d25ca33 { url=file:/D:/jboss-4.2.3.GA/serve r/default/deploy/jbossws.sar/ } deployer: org.jboss.deployment.SARDeployer at 18941f7 status: null state: INITIALIZED watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/META-INF/jbos s-service.xml altDD: null lastDeployed: 1217241612248 lastModified: 1217224055671 mbeans: org.jboss.deployment.DeploymentInfo at 336ccc28 { url=file:/D:/jboss-4.2.3.GA/serve r/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ } deployer: MBeanProxyExt[jboss.web:service=WebServer] status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja vax.management.RuntimeOperationsException: Exception invoking method init) state: FAILED watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jms/jbossmq-httpil.sar/jb ossmq-httpil.war/WEB-INF/web.xml altDD: null lastDeployed: 1217241699252 lastModified: 1217224054921 mbeans: org.jboss.deployment.DeploymentInfo at 84bfab03 { url=file:/D:/jboss-4.2.3.GA/serve r/default/deploy/jmx-console.war/ } deployer: MBeanProxyExt[jboss.web:service=WebServer] status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja vax.management.RuntimeOperationsException: Exception invoking method init) state: FAILED watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jmx-console.war/WEB-INF/w eb.xml altDD: null lastDeployed: 1217241786959 lastModified: 1217224054515 mbeans: --- MBeans waiting for other MBeans --- ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: FAILED Reason: org.jboss.deployment.DeploymentException: Error while checking if tabl e aleady exists HILOSEQUENCES; - nested throwable: (org.jboss.util.NestedSQLExce ption: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.res ource.connectionmanager.TxConnectionManager$TxConnectionEventListener at b80017[sta te=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection at 14c7cd handles=0 lastUse=1217241764505 permit=false trackByTx=false mcp=org.jboss.reso urce.connectionmanager.JBossManagedConnectionPool$PoolBySubject at 497536 context=o rg.jboss.resource.connectionmanager.InternalManagedConnectionPool at ae2d66 xaResou rce=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource at 126 965a txSync=null]; - nested throwable: (java.lang.reflect.UndeclaredThrowableExc eption); - nested throwable: (org.jboss.resource.JBossResourceException: Uncheck ed throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connecti onmanager.TxConnectionManager$TxConnectionEventListener at b80017[state=NORMAL mc=o rg.jboss.resource.adapter.jdbc.local.LocalManagedConnection at 14c7cd handles=0 las tUse=1217241764505 permit=false trackByTx=false mcp=org.jboss.resource.connectio nmanager.JBossManagedConnectionPool$PoolBySubject at 497536 context=org.jboss.resou rce.connectionmanager.InternalManagedConnectionPool at ae2d66 xaResource=org.jboss. resource.connectionmanager.TxConnectionManager$LocalXAResource at 126965a txSync=nu ll]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException))) I Depend On: jboss:service=TransactionManager jboss.jca:service=DataSourceBinding,name=DefaultDS ObjectName: jboss.web.deployment:war=ROOT.war,id=1682704437 State: FAILED Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste d throwable: (javax.management.RuntimeOperationsException: Exception invoking me thod init) ObjectName: jboss.web.deployment:war=invoker.war,id=1002944520 State: FAILED Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste d throwable: (javax.management.RuntimeOperationsException: Exception invoking me thod init) ObjectName: jboss.web.deployment:war=jbossmq-httpil.war,id=862768168 State: FAILED Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste d throwable: (javax.management.RuntimeOperationsException: Exception invoking me thod init) ObjectName: jboss.web.deployment:war=web-console.war,id=-796065885 State: FAILED Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste d throwable: (javax.management.RuntimeOperationsException: Exception invoking me thod init) I Depend On: jboss.admin:service=PluginManager ObjectName: jboss.mq:service=PersistenceManager State: FAILED Reason: org.jboss.mq.SpyJMSException: Could not resolve uncommited transaction s. Message recovery may not be accurate; - nested throwable: (org.jboss.util.Ne stedSQLException: Unchecked throwable in ManagedConnection.getConnection() cl=or g.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener @b80017[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnec tion at 14c7cd handles=0 lastUse=1217241778302 permit=true trackByTx=true mcp=org.j boss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject at 497536 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool at ae2d6 6 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXARes ource at 126965a txSync=TxSync10410271{tx=TransactionImple < ac, BasicAction: -53ee 0c99:825:488da1dd:d status: ActionStatus.RUNNING > wasTrackByTx=true enlisted=tr ue}]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - ne sted throwable: (org.jboss.resource.JBossResourceException: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connectionmanager.TxC onnectionManager$TxConnectionEventListener at b80017[state=NORMAL mc=org.jboss.reso urce.adapter.jdbc.local.LocalManagedConnection at 14c7cd handles=0 lastUse=12172417 78302 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossM anagedConnectionPool$PoolBySubject at 497536 context=org.jboss.resource.connectionm anager.InternalManagedConnectionPool at ae2d66 xaResource=org.jboss.resource.connec tionmanager.TxConnectionManager$LocalXAResource at 126965a txSync=TxSync10410271{tx =TransactionImple < ac, BasicAction: -53ee0c99:825:488da1dd:d status: ActionStat us.RUNNING > wasTrackByTx=true enlisted=true}]; - nested throwable: (java.lang.r eflect.UndeclaredThrowableException))) I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager ObjectName: jboss.web.deployment:war=jmx-console.war,id=-2067813629 State: FAILED Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste d throwable: (javax.management.RuntimeOperationsException: Exception invoking me thod init) --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- ObjectName: jboss.web.deployment:war=web-console.war,id=-796065885 State: FAILED Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste d throwable: (javax.management.RuntimeOperationsException: Exception invoking me thod init) I Depend On: jboss.admin:service=PluginManager ObjectName: jboss.web.deployment:war=invoker.war,id=1002944520 State: FAILED Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste d throwable: (javax.management.RuntimeOperationsException: Exception invoking me thod init) ObjectName: jboss.web.deployment:war=jbossmq-httpil.war,id=862768168 State: FAILED Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste d throwable: (javax.management.RuntimeOperationsException: Exception invoking me thod init) ObjectName: jboss.web.deployment:war=ROOT.war,id=1682704437 State: FAILED Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste d throwable: (javax.management.RuntimeOperationsException: Exception invoking me thod init) ObjectName: jboss.mq:service=PersistenceManager State: FAILED Reason: org.jboss.mq.SpyJMSException: Could not resolve uncommited transaction s. Message recovery may not be accurate; - nested throwable: (org.jboss.util.Ne stedSQLException: Unchecked throwable in ManagedConnection.getConnection() cl=or g.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener @b80017[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnec tion at 14c7cd handles=0 lastUse=1217241778302 permit=true trackByTx=true mcp=org.j boss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject at 497536 context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool at ae2d6 6 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXARes ource at 126965a txSync=TxSync10410271{tx=TransactionImple < ac, BasicAction: -53ee 0c99:825:488da1dd:d status: ActionStatus.RUNNING > wasTrackByTx=true enlisted=tr ue}]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - ne sted throwable: (org.jboss.resource.JBossResourceException: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connectionmanager.TxC onnectionManager$TxConnectionEventListener at b80017[state=NORMAL mc=org.jboss.reso urce.adapter.jdbc.local.LocalManagedConnection at 14c7cd handles=0 lastUse=12172417 78302 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossM anagedConnectionPool$PoolBySubject at 497536 context=org.jboss.resource.connectionm anager.InternalManagedConnectionPool at ae2d66 xaResource=org.jboss.resource.connec tionmanager.TxConnectionManager$LocalXAResource at 126965a txSync=TxSync10410271{tx =TransactionImple < ac, BasicAction: -53ee0c99:825:488da1dd:d status: ActionStat us.RUNNING > wasTrackByTx=true enlisted=true}]; - nested throwable: (java.lang.r eflect.UndeclaredThrowableException))) I Depend On: jboss.jca:service=DataSourceBinding,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo State: FAILED Reason: org.jboss.deployment.DeploymentException: Error while checking if tabl e aleady exists HILOSEQUENCES; - nested throwable: (org.jboss.util.NestedSQLExce ption: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.res ource.connectionmanager.TxConnectionManager$TxConnectionEventListener at b80017[sta te=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection at 14c7cd handles=0 lastUse=1217241764505 permit=false trackByTx=false mcp=org.jboss.reso urce.connectionmanager.JBossManagedConnectionPool$PoolBySubject at 497536 context=o rg.jboss.resource.connectionmanager.InternalManagedConnectionPool at ae2d66 xaResou rce=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource at 126 965a txSync=null]; - nested throwable: (java.lang.reflect.UndeclaredThrowableExc eption); - nested throwable: (org.jboss.resource.JBossResourceException: Uncheck ed throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connecti onmanager.TxConnectionManager$TxConnectionEventListener at b80017[state=NORMAL mc=o rg.jboss.resource.adapter.jdbc.local.LocalManagedConnection at 14c7cd handles=0 las tUse=1217241764505 permit=false trackByTx=false mcp=org.jboss.resource.connectio nmanager.JBossManagedConnectionPool$PoolBySubject at 497536 context=org.jboss.resou rce.connectionmanager.InternalManagedConnectionPool at ae2d66 xaResource=org.jboss. resource.connectionmanager.TxConnectionManager$LocalXAResource at 126965a txSync=nu ll]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException))) I Depend On: jboss:service=TransactionManager jboss.jca:service=DataSourceBinding,name=DefaultDS ObjectName: jboss.web.deployment:war=jmx-console.war,id=-2067813629 State: FAILED Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste d throwable: (javax.management.RuntimeOperationsException: Exception invoking me thod init) 16:13:21,882 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8 090 16:13:22,444 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 16:13:22,491 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBos s_4_2_3_GA date=200807181439)] Started in 4m:34s:481ms From do-not-reply at jboss.com Thu Oct 15 09:35:53 2009 From: do-not-reply at jboss.com (bhimawan) Date: Thu, 15 Oct 2009 09:35:53 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Asynchronous POJO service Message-ID: <21941588.1255613753537.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Anything annotated with @Service. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260536#4260536 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260536 From do-not-reply at jboss.com Thu Oct 15 10:48:07 2009 From: do-not-reply at jboss.com (makarandk502) Date: Thu, 15 Oct 2009 10:48:07 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - jbpm 4.1 - Taskform ( Task Variable ) Message-ID: <32232588.1255618087650.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Can anybody guide me in this ? I have attached following taskform ftl to some task in simple process start - task - end After running this process through jbpm console, I found that Task Variable 'interests' is set as single value even after selecting multiple values from form. e.g If I select Arts, Politics , Task Variable should have value as "Arts, Politics" but in this case, value is taken as Politics. My requirement is that I have a form with multiselect options. If I select more than a value, task variable should have both values. This can be accessed later on in java logic using array. | | | |
| | | | | |
| | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260565#4260565 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260565 From do-not-reply at jboss.com Thu Oct 15 11:03:36 2009 From: do-not-reply at jboss.com (ironosity) Date: Thu, 15 Oct 2009 11:03:36 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Can't undeploy without restarting jboss. Message-ID: <25363993.1255619016077.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> jaikiran, I tried both of your suggestions. Switching to 5.1 may not be an option anyways but I tried anyways. I still get the file lock. As for deploying the EAR still archived (not exploded)...well...it solves the issue. At least I can drop it into the deploy folder and jboss deploys it. But it deploys with an error, [STDOUT] [ERROR] [15 Oct 2009 07:55:40,853] [HDScanner] [MessageFactory ] Could not load message directory: messages. Then I can hit the home page login screen. but when I actually try to log in I get the following error. | 07:52:47,039 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception | java.lang.NullPointerException | at com.paladindata.framework.db.hibernate.HibernateUtil.getTypeClass(HibernateUtil.java:438) | at com.paladindata.framework.db.hibernate.QueryBuilder.addField(QueryBuilder.java:864) | at com.paladindata.framework.db.hibernate.QueryBuilder.createQuery(QueryBuilder.java:325) | at com.paladindata.framework.db.hibernate.HibernateObjectDaoImpl.fetchArray(HibernateObjectDaoImpl.java:338) | at com.paladindata.framework.model.AbstractService.getPropertyList(AbstractService.java:178) | at com.paladindata.asm.model.user.UserService.login(UserService.java:528) | at com.paladindata.asm.web.FormAuthenticationFilter.processLogin(FormAuthenticationFilter.java:442) | at com.paladindata.asm.web.FormAuthenticationFilter.doFilter(FormAuthenticationFilter.java:311) | 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:235) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:595) | I understand this is in my code but what I don't understand is why I'm getting this error when I try to deploy an archived EAR but not an Exploded EAR. Any ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260574#4260574 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260574 From do-not-reply at jboss.com Thu Oct 15 12:28:09 2009 From: do-not-reply at jboss.com (ironosity) Date: Thu, 15 Oct 2009 12:28:09 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Can't undeploy without restarting jboss. Message-ID: <21081965.1255624089046.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ignore that last post...it's a personal issue. ;) Has to do with paths and such that we use in our project and prevents our code from being deployed as archived EARs. Oh well. Unless there's a way around this stupid file locking problem in windows...I suppose there's always linux. :^) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260589#4260589 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260589 From do-not-reply at jboss.com Thu Oct 15 12:39:08 2009 From: do-not-reply at jboss.com (keung1028) Date: Thu, 15 Oct 2009 12:39:08 -0400 (EDT) Subject: [jboss-user] [EJB] - EJB 2.X CMP with difference datasource Message-ID: <20158968.1255624748468.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm using JBoss 4.0.5GA. And I have two war file A.war & B.war. Both are using a same CMP Entity Bean but I want to save data in difference DB. How can I use two differnece datasource in jbosscmp.xml config file? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260591#4260591 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260591 From gorky at freenet.carleton.ca Thu Oct 15 12:52:28 2009 From: gorky at freenet.carleton.ca (Stephen Davidson) Date: Thu, 15 Oct 2009 11:52:28 -0500 Subject: [jboss-user] Starting error.. In-Reply-To: <23153722.11255087388541.JavaMail.SYSTEM@larkin> References: <23153722.11255087388541.JavaMail.SYSTEM@larkin> Message-ID: <4AD7534C.9090908@freenet.carleton.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Sam. Just a heads up, but this mailing list seems to be obsolete. Specifically, it does not appear that anyone from JBoss is monitoring it anymore (several lead engineers do not/did not know it exists). And very few of the JBoss User Community is here any more as well. Instead, everyone seems to be on the JBoss Forums now. With that said, I have hit this particular issue on a few occasions, and can offer you a few hints. Basically, something else is running a server process on port 1099, which JBoss (and several other App Servers!) need for JNDI processes. This is used for "Internal Only", so under most conditions should NOT be available to the outside world. Two main items on this port include Proxy objects for JBoss MBeans such as the JBoss Transaction Manager (and other rather important Managers for your container) as well as EJB Handles (Hibernate, anybody?). At this point, I should point out that you can only have one server process listening on a given port at a time. A server process can listen on multiple ports, but a port can only be owned by one process. Its up to the OS to enforce that, and in general, especially including MS & *n*x OSes, they do. On *n*x systems, you can run "netstat" to see what processes are using given ports. This command is also available if you have Cygwin installed on MS. Otherwise, I am not sure what MS tools are available to tell you what ports are in use by what software. In the past, I have had issues with the following programs grabbing 1099: Thunderbird Firefox Evolution Outlook Oracle (9 and/or 10, I don't remember now!) In the case of these particular applications (EXCEPTION: ORACLE!), shutting them down, starting JBoss, and then starting them back up has resolved the issue (at least, until the next system boot, anyways). In the case of Oracle, sometimes a Web Process would be started by default with the DB (mostly for its Help Documentation, so far as I was ever able to tell). Going into Oracle Manager and disabling that function resolved the issue with Oracle. As to which, if any, of the above is the actual issue is why you need to have something which tells you what software owns what port. Good luck! Regards, Steve samk at twinix.com wrote: > See Thread at: http://www.techienuggets.com/Detail?tx=46021 Posted on behalf of a User > > I'm getting this exception too. I couldn't get fully what to do and how to resolve it.. im actually newbi so ya... > plz can u help me? m using 8080 port thn y conflict in 1099? and I checked this link i can see " http://www.jboss.org/community/wiki/UsingJBossBehindAFirewall " but i didnt quitly get what to do? please can anyone help me asap? > > In Response To: > > Hi I am new to Jboss application server. When i started the server, I got the following error. could any one pls check this error? > > Thanks > Bhanu lakshmi. > > > =============================================================================== > > JBoss Bootstrap Environment > > JBOSS_HOME: D:\jboss-4.2.3.GA > > JAVA: C:\jdk1.5.0_12\bin\java > > JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli > ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 > > CLASSPATH: C:\jdk1.5.0_12\lib\tools.jar;D:\jboss-4.2.3.GA\bin\run.jar > > =============================================================================== > > 16:08:47,916 INFO [Server] Starting JBoss (MX MicroKernel)... > 16:08:47,994 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag= > JBoss_4_2_3_GA date=200807181439) > 16:08:47,994 INFO [Server] Home Dir: D:\jboss-4.2.3.GA > 16:08:47,994 INFO [Server] Home URL: file:/D:/jboss-4.2.3.GA/ > 16:08:47,994 INFO [Server] Patch URL: null > 16:08:47,994 INFO [Server] Server Name: default > 16:08:48,010 INFO [Server] Server Home Dir: D:\jboss-4.2.3.GA\server\default > 16:08:48,010 INFO [Server] Server Home URL: file:/D:/jboss-4.2.3.GA/server/defa > ult/ > 16:08:48,010 INFO [Server] Server Log Dir: D:\jboss-4.2.3.GA\server\default\log > > 16:08:48,010 INFO [Server] Server Temp Dir: D:\jboss-4.2.3.GA\server\default\tm > p > 16:08:48,010 INFO [Server] Root Deployment Filename: jboss-service.xml > 16:08:52,776 INFO [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc. > 16:08:52,791 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_12-b04 > ,Sun Microsystems Inc. > 16:08:52,791 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86 > 16:08:55,010 INFO [Server] Core system initialized > > > > > > > =============================================================================== > > JBoss Bootstrap Environment > > JBOSS_HOME: D:\jboss-4.2.3.GA > > JAVA: C:\jdk1.5.0_12\bin\java > > JAVA_OPTS: -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.cli > ent.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 > > CLASSPATH: C:\jdk1.5.0_12\lib\tools.jar;D:\jboss-4.2.3.GA\bin\run.jar > > =============================================================================== > > 16:08:47,916 INFO [Server] Starting JBoss (MX MicroKernel)... > 16:08:47,994 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag= > JBoss_4_2_3_GA date=200807181439) > 16:08:47,994 INFO [Server] Home Dir: D:\jboss-4.2.3.GA > 16:08:47,994 INFO [Server] Home URL: file:/D:/jboss-4.2.3.GA/ > 16:08:47,994 INFO [Server] Patch URL: null > 16:08:47,994 INFO [Server] Server Name: default > 16:08:48,010 INFO [Server] Server Home Dir: D:\jboss-4.2.3.GA\server\default > 16:08:48,010 INFO [Server] Server Home URL: file:/D:/jboss-4.2.3.GA/server/defa > ult/ > 16:08:48,010 INFO [Server] Server Log Dir: D:\jboss-4.2.3.GA\server\default\log > > 16:08:48,010 INFO [Server] Server Temp Dir: D:\jboss-4.2.3.GA\server\default\tm > p > 16:08:48,010 INFO [Server] Root Deployment Filename: jboss-service.xml > 16:08:52,776 INFO [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc. > 16:08:52,791 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_12-b04 > ,Sun Microsystems Inc. > 16:08:52,791 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86 > 16:08:55,010 INFO [Server] Core system initialized > > > > 16:08:47,916 INFO [Server] Starting JBoss (MX MicroKernel)... > 16:08:47,994 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag= > JBoss_4_2_3_GA date=200807181439) > 16:08:47,994 INFO [Server] Home Dir: D:\jboss-4.2.3.GA > 16:08:47,994 INFO [Server] Home URL: file:/D:/jboss-4.2.3.GA/ > 16:08:47,994 INFO [Server] Patch URL: null > 16:08:47,994 INFO [Server] Server Name: default > 16:08:48,010 INFO [Server] Server Home Dir: D:\jboss-4.2.3.GA\server\default > 16:08:48,010 INFO [Server] Server Home URL: file:/D:/jboss-4.2.3.GA/server/defa > ult/ > 16:08:48,010 INFO [Server] Server Log Dir: D:\jboss-4.2.3.GA\server\default\log > > 16:08:48,010 INFO [Server] Server Temp Dir: D:\jboss-4.2.3.GA\server\default\tm > p > 16:08:48,010 INFO [Server] Root Deployment Filename: jboss-service.xml > 16:08:52,776 INFO [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc. > 16:08:52,791 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0_12-b04 > ,Sun Microsystems Inc. > 16:08:52,791 INFO [ServerInfo] OS-System: Windows 2000 5.0,x86 > 16:08:55,010 INFO [Server] Core system initialized > 16:09:13,449 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083 > / > 16:09:15,027 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resour > ce:jboss-log4j.xml > 16:09:23,246 ERROR [Naming] Could not start on port 1099 > java.net.BindException: Address already in use: JVM_Bind > at java.net.PlainSocketImpl.socketBind(Native Method) > at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:359) > at java.net.ServerSocket.bind(ServerSocket.java:319) > at java.net.ServerSocket.(ServerSocket.java:185) > at javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketF > actory.java:169) > at org.jnp.server.Main.initBootstrapListener(Main.java:371) > at org.jnp.server.Main.start(Main.java:321) > at org.jboss.naming.NamingService.startService(NamingService.java:284) > at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS > upport.java:289) > at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB > eanSupport.java:245) > at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept > or.java:133) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM > BeanOperationInterceptor.java:142) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl > ler.java:978) > at $Proxy0.start(Unknown Source) > at org.jboss.system.ServiceController.start(ServiceController.java:417) > at org.jboss.system.ServiceController.start(ServiceController.java:435) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > at $Proxy4.start(Unknown Source) > at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304) > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept > or.java:133) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM > BeanOperationInterceptor.java:142) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > at $Proxy5.deploy(Unknown Source) > at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) > at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) > at org.jboss.Main.boot(Main.java:200) > at org.jboss.Main$1.run(Main.java:508) > at java.lang.Thread.run(Thread.java:595) > 16:09:24,199 INFO [TransactionManagerService] JBossTS Transaction Service (JTA > version) - JBoss Inc. > 16:09:24,199 INFO [TransactionManagerService] Setting up property manager MBean > and JMX layer > 16:09:25,496 INFO [TransactionManagerService] Starting recovery manager > 16:09:25,777 INFO [TransactionManagerService] Recovery manager started > 16:09:25,777 INFO [TransactionManagerService] Binding TransactionManager JNDI R > eference > 16:10:04,482 INFO [EJB3Deployer] Starting java:comp multiplexer > > > > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > at $Proxy41.addDeployer(Unknown Source) > at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:517) > > at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS > upport.java:289) > at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB > eanSupport.java:245) > at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept > or.java:133) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM > BeanOperationInterceptor.java:142) > at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor > .java:97) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl > ler.java:978) > at $Proxy0.start(Unknown Source) > at org.jboss.system.ServiceController.start(ServiceController.java:417) > at org.jboss.system.ServiceController.start(ServiceController.java:435) > at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > at $Proxy4.start(Unknown Source) > at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304) > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept > or.java:133) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM > BeanOperationInterceptor.java:142) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > at $Proxy9.deploy(Unknown Source) > at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymen > tScanner.java:421) > at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS > canner.java:634) > at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread. > doScan(AbstractDeploymentScanner.java:263) > at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A > bstractDeploymentScanner.java:336) > at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS > upport.java:289) > at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB > eanSupport.java:245) > at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl > ler.java:978) > at $Proxy0.start(Unknown Source) > at org.jboss.system.ServiceController.start(ServiceController.java:417) > at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > at $Proxy4.start(Unknown Source) > at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304) > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept > or.java:133) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM > BeanOperationInterceptor.java:142) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > at $Proxy5.deploy(Unknown Source) > at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) > at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) > at org.jboss.Main.boot(Main.java:200) > at org.jboss.Main$1.run(Main.java:508) > at java.lang.Thread.run(Thread.java:595) > 16:10:53,469 ERROR [BaseModelMBean] Exception invoking method init > javax.management.RuntimeErrorException: Error invoking method addChild > at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j > ava:307) > at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1 > 64) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.apache.catalina.core.StandardContext.init(StandardContext.java:53 > 12) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j > ava:296) > at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:1 > 64) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(Tom > catDeployer.java:301) > at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeplo > yer.java:104) > at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) > > at org.jboss.web.WebModule.startModule(WebModule.java:83) > at org.jboss.web.WebModule.startService(WebModule.java:61) > at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS > upport.java:289) > at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB > eanSupport.java:245) > at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl > ler.java:978) > at $Proxy0.start(Unknown Source) > at org.jboss.system.ServiceController.start(ServiceController.java:417) > at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > at $Proxy42.start(Unknown Source) > at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:46 > 6) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept > or.java:133) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM > BeanOperationInterceptor.java:142) > at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor > .java:97) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > at $Proxy43.start(Unknown Source) > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) > at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:368) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept > or.java:133) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM > BeanOperationInterceptor.java:142) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > at $Proxy41.addDeployer(Unknown Source) > at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:517) > > at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS > upport.java:289) > at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB > eanSupport.java:245) > at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept > or.java:133) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM > BeanOperationInterceptor.java:142) > at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor > .java:97) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceControl > ler.java:978) > at $Proxy0.start(Unknown Source) > at org.jboss.system.ServiceController.start(ServiceController.java:417) > at org.jboss.system.ServiceController.start(ServiceController.java:435) > at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch > er.java:155) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) > at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. > java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) > at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) > at $Proxy4.start(Unknown Source) > at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304) > at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.jboss.mx.interceptor.Re > > > > > > > at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase > .java:790) > at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:77 > 0) > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > sorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:585) > at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.j > ava:296) > ... 121 more > 16:13:08,740 ERROR [URLDeploymentScanner] Incomplete Deployment listing: > > --- Incompletely deployed packages --- > org.jboss.deployment.DeploymentInfo at 644c0835 { url=file:/D:/jboss-4.2.3.GA/serve > r/default/deploy/jboss-web.deployer/ROOT.war/ } > deployer: MBeanProxyExt[jboss.web:service=WebServer] > status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja > vax.management.RuntimeOperationsException: Exception invoking method init) > state: FAILED > watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer/ROOT.w > ar/WEB-INF/web.xml > altDD: null > lastDeployed: 1217241640437 > lastModified: 1217224056500 > mbeans: > > org.jboss.deployment.DeploymentInfo at 3bc7b808 { url=file:/D:/jboss-4.2.3.GA/serve > r/default/deploy/http-invoker.sar/invoker.war/ } > deployer: MBeanProxyExt[jboss.web:service=WebServer] > status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja > vax.management.RuntimeOperationsException: Exception invoking method init) > state: FAILED > watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/http-invoker.sar/invoker. > war/WEB-INF/web.xml > altDD: null > lastDeployed: 1217241648703 > lastModified: 1217224057109 > mbeans: > > org.jboss.deployment.DeploymentInfo at a423505a { url=file:/D:/jboss-4.2.3.GA/serve > r/default/deploy/jbossws.sar/jbossws.beans/ } > deployer: org.jboss.kernel.deployment.jboss.JBossBeanDeployer at dfe303 > status: null > state: INITIALIZED > watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/jbossws.beans > /META-INF/jboss-beans.xml > altDD: null > lastDeployed: 1217241611232 > lastModified: 1217224055609 > mbeans: > > org.jboss.deployment.DeploymentInfo at 707de9c8 { url=file:/D:/jboss-4.2.3.GA/serve > r/default/deploy/jbossws.sar/FastInfoset.jar } > deployer: org.jboss.deployment.JARDeployer at 1d10a5c > status: null > state: INITIALIZED > watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/FastInfoset.j > ar > altDD: null > lastDeployed: 1217241611873 > lastModified: 1217241611295 > mbeans: > > org.jboss.deployment.DeploymentInfo at 36d8730e { url=file:/D:/jboss-4.2.3.GA/serve > r/default/deploy/jbossws.sar/jaxb-api.jar } > deployer: null > status: null > state: CONSTRUCTED > watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/jaxb-api.jar > altDD: null > lastDeployed: 1217241612248 > lastModified: 1217241612029 > mbeans: > > org.jboss.deployment.DeploymentInfo at 1d25ca33 { url=file:/D:/jboss-4.2.3.GA/serve > r/default/deploy/jbossws.sar/ } > deployer: org.jboss.deployment.SARDeployer at 18941f7 > status: null > state: INITIALIZED > watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jbossws.sar/META-INF/jbos > s-service.xml > altDD: null > lastDeployed: 1217241612248 > lastModified: 1217224055671 > mbeans: > > org.jboss.deployment.DeploymentInfo at 336ccc28 { url=file:/D:/jboss-4.2.3.GA/serve > r/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ } > deployer: MBeanProxyExt[jboss.web:service=WebServer] > status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja > vax.management.RuntimeOperationsException: Exception invoking method init) > state: FAILED > watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jms/jbossmq-httpil.sar/jb > ossmq-httpil.war/WEB-INF/web.xml > altDD: null > lastDeployed: 1217241699252 > lastModified: 1217224054921 > mbeans: > > org.jboss.deployment.DeploymentInfo at 84bfab03 { url=file:/D:/jboss-4.2.3.GA/serve > r/default/deploy/jmx-console.war/ } > deployer: MBeanProxyExt[jboss.web:service=WebServer] > status: Deployment FAILED reason: Error during deploy; - nested throwable: (ja > vax.management.RuntimeOperationsException: Exception invoking method init) > state: FAILED > watch: file:/D:/jboss-4.2.3.GA/server/default/deploy/jmx-console.war/WEB-INF/w > eb.xml > altDD: null > lastDeployed: 1217241786959 > lastModified: 1217224054515 > mbeans: > > --- MBeans waiting for other MBeans --- > ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo > State: FAILED > Reason: org.jboss.deployment.DeploymentException: Error while checking if tabl > e aleady exists HILOSEQUENCES; - nested throwable: (org.jboss.util.NestedSQLExce > ption: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.res > ource.connectionmanager.TxConnectionManager$TxConnectionEventListener at b80017[sta > te=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection at 14c7cd > handles=0 lastUse=1217241764505 permit=false trackByTx=false mcp=org.jboss.reso > urce.connectionmanager.JBossManagedConnectionPool$PoolBySubject at 497536 context=o > rg.jboss.resource.connectionmanager.InternalManagedConnectionPool at ae2d66 xaResou > rce=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource at 126 > 965a txSync=null]; - nested throwable: (java.lang.reflect.UndeclaredThrowableExc > eption); - nested throwable: (org.jboss.resource.JBossResourceException: Uncheck > ed throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connecti > onmanager.TxConnectionManager$TxConnectionEventListener at b80017[state=NORMAL mc=o > rg.jboss.resource.adapter.jdbc.local.LocalManagedConnection at 14c7cd handles=0 las > tUse=1217241764505 permit=false trackByTx=false mcp=org.jboss.resource.connectio > nmanager.JBossManagedConnectionPool$PoolBySubject at 497536 context=org.jboss.resou > rce.connectionmanager.InternalManagedConnectionPool at ae2d66 xaResource=org.jboss. > resource.connectionmanager.TxConnectionManager$LocalXAResource at 126965a txSync=nu > ll]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException))) > I Depend On: > jboss:service=TransactionManager > jboss.jca:service=DataSourceBinding,name=DefaultDS > > ObjectName: jboss.web.deployment:war=ROOT.war,id=1682704437 > State: FAILED > Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste > d throwable: (javax.management.RuntimeOperationsException: Exception invoking me > thod init) > > ObjectName: jboss.web.deployment:war=invoker.war,id=1002944520 > State: FAILED > Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste > d throwable: (javax.management.RuntimeOperationsException: Exception invoking me > thod init) > > ObjectName: jboss.web.deployment:war=jbossmq-httpil.war,id=862768168 > State: FAILED > Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste > d throwable: (javax.management.RuntimeOperationsException: Exception invoking me > thod init) > > ObjectName: jboss.web.deployment:war=web-console.war,id=-796065885 > State: FAILED > Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste > d throwable: (javax.management.RuntimeOperationsException: Exception invoking me > thod init) > I Depend On: > jboss.admin:service=PluginManager > > ObjectName: jboss.mq:service=PersistenceManager > State: FAILED > Reason: org.jboss.mq.SpyJMSException: Could not resolve uncommited transaction > s. Message recovery may not be accurate; - nested throwable: (org.jboss.util.Ne > stedSQLException: Unchecked throwable in ManagedConnection.getConnection() cl=or > g.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener > @b80017[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnec > tion at 14c7cd handles=0 lastUse=1217241778302 permit=true trackByTx=true mcp=org.j > boss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject at 497536 > context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool at ae2d6 > 6 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXARes > ource at 126965a txSync=TxSync10410271{tx=TransactionImple < ac, BasicAction: -53ee > 0c99:825:488da1dd:d status: ActionStatus.RUNNING > wasTrackByTx=true enlisted=tr > ue}]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - ne > sted throwable: (org.jboss.resource.JBossResourceException: Unchecked throwable > in ManagedConnection.getConnection() cl=org.jboss.resource.connectionmanager.TxC > onnectionManager$TxConnectionEventListener at b80017[state=NORMAL mc=org.jboss.reso > urce.adapter.jdbc.local.LocalManagedConnection at 14c7cd handles=0 lastUse=12172417 > 78302 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossM > anagedConnectionPool$PoolBySubject at 497536 context=org.jboss.resource.connectionm > anager.InternalManagedConnectionPool at ae2d66 xaResource=org.jboss.resource.connec > tionmanager.TxConnectionManager$LocalXAResource at 126965a txSync=TxSync10410271{tx > =TransactionImple < ac, BasicAction: -53ee0c99:825:488da1dd:d status: ActionStat > us.RUNNING > wasTrackByTx=true enlisted=true}]; - nested throwable: (java.lang.r > eflect.UndeclaredThrowableException))) > I Depend On: > jboss.jca:service=DataSourceBinding,name=DefaultDS > Depends On Me: > jboss.mq:service=DestinationManager > > ObjectName: jboss.web.deployment:war=jmx-console.war,id=-2067813629 > State: FAILED > Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste > d throwable: (javax.management.RuntimeOperationsException: Exception invoking me > thod init) > > --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- > ObjectName: jboss.web.deployment:war=web-console.war,id=-796065885 > State: FAILED > Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste > d throwable: (javax.management.RuntimeOperationsException: Exception invoking me > thod init) > I Depend On: > jboss.admin:service=PluginManager > > ObjectName: jboss.web.deployment:war=invoker.war,id=1002944520 > State: FAILED > Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste > d throwable: (javax.management.RuntimeOperationsException: Exception invoking me > thod init) > > ObjectName: jboss.web.deployment:war=jbossmq-httpil.war,id=862768168 > State: FAILED > Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste > d throwable: (javax.management.RuntimeOperationsException: Exception invoking me > thod init) > > ObjectName: jboss.web.deployment:war=ROOT.war,id=1682704437 > State: FAILED > Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste > d throwable: (javax.management.RuntimeOperationsException: Exception invoking me > thod init) > > ObjectName: jboss.mq:service=PersistenceManager > State: FAILED > Reason: org.jboss.mq.SpyJMSException: Could not resolve uncommited transaction > s. Message recovery may not be accurate; - nested throwable: (org.jboss.util.Ne > stedSQLException: Unchecked throwable in ManagedConnection.getConnection() cl=or > g.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener > @b80017[state=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnec > tion at 14c7cd handles=0 lastUse=1217241778302 permit=true trackByTx=true mcp=org.j > boss.resource.connectionmanager.JBossManagedConnectionPool$PoolBySubject at 497536 > context=org.jboss.resource.connectionmanager.InternalManagedConnectionPool at ae2d6 > 6 xaResource=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXARes > ource at 126965a txSync=TxSync10410271{tx=TransactionImple < ac, BasicAction: -53ee > 0c99:825:488da1dd:d status: ActionStatus.RUNNING > wasTrackByTx=true enlisted=tr > ue}]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException); - ne > sted throwable: (org.jboss.resource.JBossResourceException: Unchecked throwable > in ManagedConnection.getConnection() cl=org.jboss.resource.connectionmanager.TxC > onnectionManager$TxConnectionEventListener at b80017[state=NORMAL mc=org.jboss.reso > urce.adapter.jdbc.local.LocalManagedConnection at 14c7cd handles=0 lastUse=12172417 > 78302 permit=true trackByTx=true mcp=org.jboss.resource.connectionmanager.JBossM > anagedConnectionPool$PoolBySubject at 497536 context=org.jboss.resource.connectionm > anager.InternalManagedConnectionPool at ae2d66 xaResource=org.jboss.resource.connec > tionmanager.TxConnectionManager$LocalXAResource at 126965a txSync=TxSync10410271{tx > =TransactionImple < ac, BasicAction: -53ee0c99:825:488da1dd:d status: ActionStat > us.RUNNING > wasTrackByTx=true enlisted=true}]; - nested throwable: (java.lang.r > eflect.UndeclaredThrowableException))) > I Depend On: > jboss.jca:service=DataSourceBinding,name=DefaultDS > Depends On Me: > jboss.mq:service=DestinationManager > > ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo > State: FAILED > Reason: org.jboss.deployment.DeploymentException: Error while checking if tabl > e aleady exists HILOSEQUENCES; - nested throwable: (org.jboss.util.NestedSQLExce > ption: Unchecked throwable in ManagedConnection.getConnection() cl=org.jboss.res > ource.connectionmanager.TxConnectionManager$TxConnectionEventListener at b80017[sta > te=NORMAL mc=org.jboss.resource.adapter.jdbc.local.LocalManagedConnection at 14c7cd > handles=0 lastUse=1217241764505 permit=false trackByTx=false mcp=org.jboss.reso > urce.connectionmanager.JBossManagedConnectionPool$PoolBySubject at 497536 context=o > rg.jboss.resource.connectionmanager.InternalManagedConnectionPool at ae2d66 xaResou > rce=org.jboss.resource.connectionmanager.TxConnectionManager$LocalXAResource at 126 > 965a txSync=null]; - nested throwable: (java.lang.reflect.UndeclaredThrowableExc > eption); - nested throwable: (org.jboss.resource.JBossResourceException: Uncheck > ed throwable in ManagedConnection.getConnection() cl=org.jboss.resource.connecti > onmanager.TxConnectionManager$TxConnectionEventListener at b80017[state=NORMAL mc=o > rg.jboss.resource.adapter.jdbc.local.LocalManagedConnection at 14c7cd handles=0 las > tUse=1217241764505 permit=false trackByTx=false mcp=org.jboss.resource.connectio > nmanager.JBossManagedConnectionPool$PoolBySubject at 497536 context=org.jboss.resou > rce.connectionmanager.InternalManagedConnectionPool at ae2d66 xaResource=org.jboss. > resource.connectionmanager.TxConnectionManager$LocalXAResource at 126965a txSync=nu > ll]; - nested throwable: (java.lang.reflect.UndeclaredThrowableException))) > I Depend On: > jboss:service=TransactionManager > jboss.jca:service=DataSourceBinding,name=DefaultDS > > ObjectName: jboss.web.deployment:war=jmx-console.war,id=-2067813629 > State: FAILED > Reason: org.jboss.deployment.DeploymentException: Error during deploy; - neste > d throwable: (javax.management.RuntimeOperationsException: Exception invoking me > thod init) > > > 16:13:21,882 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8 > 090 > 16:13:22,444 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 > 16:13:22,491 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBos > s_4_2_3_GA date=200807181439)] Started in 4m:34s:481ms > > > > _______________________________________________ > jboss-user mailing list > jboss-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/jboss-user -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkrXU0wACgkQSphIUSiVzgZJ6ACdEnTuXWrndYey4VVQfyudlslv jWQAoMecFLttEuytUD1RcRCkCktOTVhA =U2Zo -----END PGP SIGNATURE----- From do-not-reply at jboss.com Thu Oct 15 13:19:00 2009 From: do-not-reply at jboss.com (arpan25) Date: Thu, 15 Oct 2009 13:19:00 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - errors with logging into console - jbpm-4.1 Message-ID: <4330085.1255627140784.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> HI all, I am using jbpm-4.1 and had installed mysql with it by using ant -Ddatabase=mysql demo.setup.jboss.I placed the mysql-connector.jar file into the lib folder, also changed build.xml user customizable property to mysql But, When I Log into jbpm-console, I get Authentication failed error. Please help. I have pasted the server log below : 13:12:08,820 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: socket creation error) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:611) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:257) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:607) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89) at org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPassword(DatabaseServerLoginModule.java:173) at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:206) 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:597) at javax.security.auth.login.LoginContext.invoke(LoginContext.java:769) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:579) at org.jboss.security.plugins.auth.JaasSecurityManagerBase.defaultLogin(JaasSecurityManagerBase.java:552) at org.jboss.security.plugins.auth.JaasSecurityManagerBase.authenticate(JaasSecurityManagerBase.java:486) at org.jboss.security.plugins.auth.JaasSecurityManagerBase.isValid(JaasSecurityManagerBase.java:365) at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:160) at org.jboss.web.tomcat.security.JBossWebRealm.authenticate(JBossWebRealm.java:384) at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:258) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:417) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) Caused by: java.sql.SQLException: socket creation error at org.hsqldb.jdbc.Util.sqlException(Unknown Source) at org.hsqldb.jdbc.jdbcConnection.(Unknown Source) at org.hsqldb.jdbcDriver.getConnection(Unknown Source) at org.hsqldb.jdbcDriver.connect(Unknown Source) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207) ... 40 more View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260598#4260598 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260598 From do-not-reply at jboss.com Thu Oct 15 13:30:02 2009 From: do-not-reply at jboss.com (keung1028) Date: Thu, 15 Oct 2009 13:30:02 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - EJB 2.X CMP with difference datasource Message-ID: <13840631.1255627802408.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm using JBoss 4.0.5GA. And I have two war file A.war & B.war. Both are using a same CMP Entity Bean but I want to save data in difference DB. How can I use two differnece datasource in jbosscmp.xml config file? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260599#4260599 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260599 From do-not-reply at jboss.com Thu Oct 15 13:36:54 2009 From: do-not-reply at jboss.com (c4s4l) Date: Thu, 15 Oct 2009 13:36:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Synchronous process execution Message-ID: <23551779.1255628214460.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok Ronald, thanks for your clarification. Just by curiosity, my architecture is simple, what I want is a simple JBoss ESB service where there are two actions, the first action calls a JBPM process and the second action should not start before the first action fully ends (Process ends) because it depends from it and because of that is next in the pipeline and I don't want it to be executed in parallel with the first action. Do you see a way to do this? Many Thanks, Sergio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260600#4260600 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260600 From do-not-reply at jboss.com Thu Oct 15 13:43:54 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 15 Oct 2009 13:43:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Question and remark about mail-templates Message-ID: <13384452.1255628634841.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> afaik, it should be sufficient to put the custom config on the classpath IN FRONT of the jar. Putting it in e.g. a war should do the trick. So no customization is needed then. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260603#4260603 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260603 From do-not-reply at jboss.com Thu Oct 15 13:46:01 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 15 Oct 2009 13:46:01 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Sending e-mails with mail tasks Message-ID: <27751020.1255628761441.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> does tomcat contain mail.jar etc...? or maybe tomcat does not support the (JEE) mail session... just guessing here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260604#4260604 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260604 From do-not-reply at jboss.com Thu Oct 15 13:49:52 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 15 Oct 2009 13:49:52 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Is creating a new process project with eclipse an option Message-ID: <10837427.1255628992678.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The processproject did not do much besides adding jars to the classpath and creating some files. The option to deploy it was something on the designer part, not the process project. Would be better if it becomes a process nature... The process images is also created now by the GPD, no difference there View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260606#4260606 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260606 From do-not-reply at jboss.com Thu Oct 15 13:52:54 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 15 Oct 2009 13:52:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Jbpm/MySQL not working on linux, but fine on Windows Message-ID: <25345696.1255629174640.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> only thing I could think of is case sensitivity crept in somewhere in your config. I have 3.2.6SP1 runnning fine on Linux against MySQL 5.0.x. Only difference is that I use JBoss View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260607#4260607 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260607 From do-not-reply at jboss.com Thu Oct 15 13:56:37 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 15 Oct 2009 13:56:37 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: errors with logging into console - jbpm-4.1 Message-ID: <3537565.1255629397450.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> uhhh..... you know how to read log files and stacktraces do you? In case you don't I'll help you once... It tries to connect to hsqldb View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260608#4260608 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260608 From do-not-reply at jboss.com Thu Oct 15 13:59:20 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 15 Oct 2009 13:59:20 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Synchronous process execution Message-ID: <19057629.1255629560261.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> create a new 'main'jbpm process which calls a subprocess (the process you have now) and after that call an esb service. plain and simple..... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260609#4260609 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260609 From do-not-reply at jboss.com Thu Oct 15 14:30:00 2009 From: do-not-reply at jboss.com (arpan25) Date: Thu, 15 Oct 2009 14:30:00 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: errors with logging into console - jbpm-4.1 Message-ID: <10128585.1255631400662.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Thanks for your reply. Yes, I could understand that it connects to Hsqldb. But I have made changes to build.xml and also changed mysql.properties. Howcome it still connects to Hsqldb..Is there anything else I should do ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260614#4260614 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260614 From do-not-reply at jboss.com Thu Oct 15 14:32:55 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 15 Oct 2009 14:32:55 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Sending e-mails with mail tasks Message-ID: <32026799.1255631575620.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am going to verify tomorrow but actually it should work because this is the Tomcat demo setup supplied with the distribution, or not? I think it is a javax.mail or Tomcat issue. How do I get javax.mail to be a bit more verbose? Searching with Google showed up people having the same problem but most of them could see a cause for the exception. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260616#4260616 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260616 From do-not-reply at jboss.com Thu Oct 15 14:44:06 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 15 Oct 2009 14:44:06 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Question and remark about mail-templates Message-ID: <32090452.1255632247002.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for the hint. Going to try doing it like this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260618#4260618 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260618 From do-not-reply at jboss.com Thu Oct 15 15:03:58 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 15 Oct 2009 15:03:58 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Sending e-mails with mail tasks Message-ID: <15582411.1255633438087.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Not sure how much was tested on Tomcat. Jobscheduler probably was, just like the core, but not sure if mail was included. I'd hope so, but it just might have been forgotten. I have no idea how to get javax.mail more verbose. Maybe running it in a debug mode (e.g. from eclipse) might help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260625#4260625 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260625 From do-not-reply at jboss.com Thu Oct 15 15:05:54 2009 From: do-not-reply at jboss.com (javaspack) Date: Thu, 15 Oct 2009 15:05:54 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Dashboard: permission denied for role created using Sync Message-ID: <26554564.1255633554289.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Was this ever resolved? I have the same problem on jboss portal 2.7.2 bundled with JBoss 4.2.3. I also use a custom login module because I do SSO. But it doesn't matter who I am logged in as (even an Admin user), I still can't access the dashboard. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260626#4260626 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260626 From do-not-reply at jboss.com Thu Oct 15 15:17:27 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 15 Oct 2009 15:17:27 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Question and remark about mail-templates Message-ID: <3256298.1255634247119.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> oh and the docs are up to date in that regard. It is just not explicitly mentioned that you can import ALL things if you want from external files. In the generic chapter about config things it is mentioned View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260630#4260630 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260630 From do-not-reply at jboss.com Thu Oct 15 15:24:47 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 15 Oct 2009 15:24:47 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Sending e-mails with mail tasks Message-ID: <16740564.1255634687770.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Afaik Joram has done the integration work for Tomcat, right? Maybe I am lucky and he is going to give a statement on this. :) I searched around with Google and there are different proposals what to do. I am going to try some more things tomorrow and I'll keep you up to date here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260631#4260631 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260631 From do-not-reply at jboss.com Thu Oct 15 18:45:52 2009 From: do-not-reply at jboss.com (apollo11) Date: Thu, 15 Oct 2009 18:45:52 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - [JBPM4] Multiple Assignment of a task in jBPM4 Message-ID: <1428834.1255646752258.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Could anyone provide me the information what is the substitution of "task-node" feature in JBMP4? I need a feature in JBMP4 to wait until all the subtasks within a task are completed and then continue. A given task can be assigned to either an individual user or a user group or a swimlane. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260649#4260649 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260649 From do-not-reply at jboss.com Thu Oct 15 20:45:01 2009 From: do-not-reply at jboss.com (born_free_77) Date: Thu, 15 Oct 2009 20:45:01 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Oracle Failover connection url Message-ID: <18820593.1255653901329.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Tried with non HA config and its working. Will do some more test. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260655#4260655 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260655 From do-not-reply at jboss.com Thu Oct 15 21:21:20 2009 From: do-not-reply at jboss.com (mlohbihler) Date: Thu, 15 Oct 2009 21:21:20 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Cache locking problem Message-ID: <26537912.1255656080648.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok, i've tried a number of different things now including using the configuration from Manik's demo, but nothing fixes the problem. The only thing i haven't tried is wrapping my put into a transaction, but since i can't find any code or documentation that suggests this is necessary, i'm saving it for my glorious last effort. I've simplified the code that i can using to test. As before, using debugging it's easy to see that data versioning exceptions are not being thrown as they should. When i just let it run, the counter only gets incremented to around 2000, when it should reach exactly 3000. public static void main(String[] args) throws Exception { | Cache cache = new DefaultCacheFactory().createCache("conf/cache.xml"); | Node root = cache.getRoot(); | | // Wait for other members. | System.out.println("Waiting for other members..."); | while (cache.getMembers().size() < 3) | Thread.sleep(50); | | System.out.println("Running..."); | | int versioningFaults = 0; | for (int i=0; i<1000; i++) { | // Modify the cache | while (true) { | try { | Integer count = root.get("key"); | if (count == null) | count = 0; | count++; | while (true) { | try { | root.put("key", count); | break; | } | catch (SuspectException e) {} | catch (TimeoutException e) {} | } | break; | } | catch (DataVersioningException e) { | versioningFaults++; | } | } | } | | System.out.println("Final count: "+ root.get("key") +", faults: "+ versioningFaults); | | cache.stop(); | cache.destroy(); | } | As before, any help, hints, and at this point even flames, etc are greatly appreciated. Regards, m@ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260656#4260656 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260656 From do-not-reply at jboss.com Thu Oct 15 21:43:13 2009 From: do-not-reply at jboss.com (hefengcuifu) Date: Thu, 15 Oct 2009 21:43:13 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Issues About JobExecutor in Jbpm 3.3.0GA Message-ID: <11699719.1255657393812.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Can anyone provide some thoughts on this? I think those answers are very important for how to integrate JBPM in their own project. Should we ask such question to Jbpm developer? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260658#4260658 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260658 From do-not-reply at jboss.com Thu Oct 15 22:28:18 2009 From: do-not-reply at jboss.com (socal_javaguy) Date: Thu, 15 Oct 2009 22:28:18 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Getting error when submitting form using SpringMVC and REST Message-ID: <27127798.1255660098850.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello there, Created an online form in JSP using SpringMVC tag libraries. The controller for my form is a RESTful web service (JBoss RESTEasy). The RESTful web service has two calls: (1) http://localhost:8080/myapp/applications/new This brings up the online form in the browser (this works). (2) http://localhost:8080/myapp/applications/create This saves the form data to a database (handles submit). This is where it breaks. Followed the conventions from the sample demo petclinic app which comes with the Spring Framework. Online form: | <%@ page contentType="text/html;charset=UTF-8" language="java"%> | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | <%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | | | | | | | | | | | | | | | | | |
Name:
Description:
Image URL:
| |
| | | The RESTful web service which serves as form controller: | @Controller | @Path(ApplicationsResource.APPLICATION_URL) | public class ApplicationsResource | { | private final Logger log = LoggerFactory.getLogger(ApplicationsResource.class); | | public static final String APPLICATION_URL = "/applications"; | | @Autowired | private ApplicationManager applicationManager; | | @POST | @Path("create") | @Produces(MediaType.TEXT_HTML) | @Consumes(MediaType.APPLICATION_FORM_URLENCODED) | public void getNewApplication(@Context HttpServletRequest request, @ModelAttribute Application app) | { | log.info("ApplicationsResource - Inside getNewApplication() method."); | String contentType = request.getContentType(); | log.info("Content-Type:" + contentType); | | try | { | if ("POST".equalsIgnoreCase(request.getMethod())) | { | if (app != null) | { | applicationManager.save(app); | log.info("Added application: " + app.getName()); | } | else | { | log.info("Application not added"); | } | } | } | catch (Exception e) | { | log.info("Exception: ", e); | throw new WebApplicationException(Response.status(RestError.SERVER_ERROR_HTTP_RESP). | type("application/json;charset=utf-8"). | entity(new ErrorOutput(RestError.SERVER_ERROR_CODE, RestError.SERVER_ERROR_MSG, e.toString())).build()); | } | } | | @InitBinder | public void setAllowedFields(WebDataBinder dataBinder) | { | dataBinder.setDisallowedFields(new String[] {"id"}); | } | | @GET | @Path("new") | @Produces( { MediaType.TEXT_HTML }) | public ModelAndView getNewApplicationForm() | { | log.info("ApplicationsResource - Inside getNewApplicationForm"); | ModelAndView mv = new ModelAndView("/applications/applications_new"); | mv.addObject("application", new Application()); | return mv; | } | } | Exception thrown when I click on submit: | Failed executing POST /applications/create | | org.jboss.resteasy.spi.BadRequestException: | | Could not find message body reader for type: | | class com.myapp.domain.Application | | of content type: application/x-www-form-urlencoded | at org.jboss.resteasy.core.MessageBodyParameterInjector$1.createReaderNotFound(MessageBodyParameterInjector.java:73) | at org.jboss.resteasy.core.messagebody.ReaderUtility.doRead(ReaderUtility.java:105) | at org.jboss.resteasy.core.messagebody.ReaderUtility.doRead(ReaderUtility.java:93) | at org.jboss.resteasy.core.MessageBodyParameterInjector.inject(MessageBodyParameterInjector.java:120) | at org.jboss.resteasy.core.MethodInjectorImpl.injectArguments(MethodInjectorImpl.java:93) | Does anyone know why I am getting this exception? Would really appreciate it if someone could help me with this issue... Happy programming and thank you for taking the time to read this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260661#4260661 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260661 From do-not-reply at jboss.com Thu Oct 15 22:49:36 2009 From: do-not-reply at jboss.com (zycui) Date: Thu, 15 Oct 2009 22:49:36 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - About HistoryService Message-ID: <27348407.1255661376379.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is there any one could tell me which history information I can record and query with Jbpm4 right now , and how to set the isHistoryEnabled to true ? If isn't any,pls give me some advices on how to resolve these problems. I need to record all the history variables and history tasks .Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260662#4260662 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260662 From do-not-reply at jboss.com Fri Oct 16 00:54:54 2009 From: do-not-reply at jboss.com (noicangi) Date: Fri, 16 Oct 2009 00:54:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: xpdl to jpdl Message-ID: <926635.1255668894267.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> thanks..... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260666#4260666 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260666 From do-not-reply at jboss.com Fri Oct 16 01:23:45 2009 From: do-not-reply at jboss.com (mlohbihler) Date: Fri, 16 Oct 2009 01:23:45 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Cache locking problem Message-ID: <16697198.1255670625813.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> A glorious end. The transactional stuff solved the problem. Well, mostly... The evolved code is below. But even with transactions doing their duty i still noticed gaps in the data. I had to put sleeps into the loops because when all threads run at full speed a literal clusterf*** ensues... rollback and timeout exceptions go flying everywhere. But with the delays in there, things calm down nicely. Even still, although the results are reassuring, they are not exact. The below code should end up with a final count of 1000, but instead twice it ended with 999. I assumed it was a bug, but in the output i noticed that this message was written twice: "Put 91". This means something slipped between the cluster cracks somewhere. I don't need to do updates as quickly as i coded for in these tests - i was just testing the boundaries. And indeed, these results are good enough for my present purposes. Overall i think it's great stuff, but it would seem that there may still be small holes in the MVCC code. public static void main(String[] args) throws Exception { | Cache cache = new DefaultCacheFactory().createCache("conf/cache.xml"); | | // Wait for other members. | System.out.println("Waiting for other members..."); | while (cache.getMembers().size() < 4) | Thread.sleep(50); | | System.out.println("Running..."); | | TransactionManager txm = new DummyTransactionManagerLookup().getTransactionManager(); | | Random random = new Random(); | int versioningFaults = 0; | int rollbackFaults = 0; | int suspectFaults = 0; | int timeoutFaults = 0; | for (int i=0; i<50; i++) { | Thread.sleep(random.nextInt(2000)); | | // Modify the cache | while (true) { | try { | txm.begin(); | | Integer count = cache.getRoot().get("key"); | if (count == null) | count = 0; | count++; | | while (true) { | try { | cache.getRoot().put("key", count); | System.out.println("Put "+ count); | break; | } | catch (SuspectException e) { | suspectFaults++; | } | catch (TimeoutException e) { | timeoutFaults++; | } | } | | txm.commit(); | break; | } | catch (DataVersioningException e) { | txm.rollback(); | versioningFaults++; | } | catch (RollbackException e) { | rollbackFaults++; | } | } | } | | System.out.println("Final count: "+ cache.getRoot().get("key")); | System.out.println("Versioning faults: "+ versioningFaults); | System.out.println("Rollback faults: "+ rollbackFaults); | System.out.println("Suspect faults: "+ suspectFaults); | System.out.println("Timeout faults: "+ timeoutFaults); | | cache.stop(); | cache.destroy(); | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260670#4260670 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260670 From do-not-reply at jboss.com Fri Oct 16 01:53:44 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 16 Oct 2009 01:53:44 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4] Multiple Assignment of a task in jBPM4 Message-ID: <10117375.1255672424936.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I don't really know about the task-nodes in jbpm3 but as far as I understand your description you just want to use a fork-join-construction to perform several tasks independently but to wait for all the tasks to complete before you continue, right? If this is not what you want, please try to be a bit more precise. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260675#4260675 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260675 From do-not-reply at jboss.com Fri Oct 16 01:59:48 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 16 Oct 2009 01:59:48 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: About HistoryService Message-ID: <6749999.1255672788451.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have no clue but it should be documented at least in the next release. Don't forget to give your vote on the related issue: https://jira.jboss.org/jira/browse/JBPM-2506 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260676#4260676 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260676 From do-not-reply at jboss.com Fri Oct 16 02:01:00 2009 From: do-not-reply at jboss.com (vpakan@redhat.com) Date: Fri, 16 Oct 2009 02:01:00 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: HelloWorld Tutorial Does Not Work Message-ID: <7774260.1255672860027.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I just added bossall-client.jar to helloworld_testclient project classpath and it works. This file is available within JBoss AS installation on location {$jbossas}\client HTH. Vlado. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260677#4260677 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260677 From do-not-reply at jboss.com Fri Oct 16 03:41:26 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 16 Oct 2009 03:41:26 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Sending e-mails with mail tasks Message-ID: <12079077.1255678886707.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Good morning, I was out of luck and I did not find a solution. According to my Google search the exception javax.mailNoSuchProviderException: smtp can be thrown in a various cases: * There is no mail.jar on the classpath or no smtp.jar. But this is not the case because mail.jar is on the classpath. Furthermore according to the javamail documentation mail.jar includes smtp.jar normally and you either use mail.jar packed with all the stuff needed or single jars like mailapi.jar and smtp.jar. * There are several copies of the files described above in the classpath and they are of different versions. But I could not find more than one mail.jar. To verify there are no problems with the jars and Tomcat I created a web application which just sends out an email using javamail and I deployed it to the server. This worked without a problem. I don't know jBPM sends e-mails from mail tasks. The javamail tutorial looks up a JavaMail Session via JDNI. For my test I just used Session.getDefaultInstance(). So maybe it is something related with this? Any hints? I think I am going to report this as a bug or not, Ronald? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260686#4260686 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260686 From do-not-reply at jboss.com Fri Oct 16 03:47:44 2009 From: do-not-reply at jboss.com (dleerob) Date: Fri, 16 Oct 2009 03:47:44 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Jbpm/MySQL not working on linux, but fine on Windows Message-ID: <6546999.1255679264926.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You are correct - thank you for your assistance. The table names are all lower case (works fine in windows). Seeing as though JBPM is mapped to upper case table names, it doesn't work on linux. Obviously when backing up and restoring data using MySQL Administrator, the upper case table names were lost. This has only become a problem now that we are moving to a linux operating system, as linux is case sensitive. Does anyone have suggestions on a way to fix this? Could I simply rename all the tables back to upper case? Or is there more too it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260687#4260687 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260687 From do-not-reply at jboss.com Fri Oct 16 03:59:13 2009 From: do-not-reply at jboss.com (npirard) Date: Fri, 16 Oct 2009 03:59:13 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: errors with logging into console - jbpm-4.1 Message-ID: <11900933.1255679953380.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I would say it may have something to do with the jbpm.hibernate.cfg.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260690#4260690 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260690 From do-not-reply at jboss.com Fri Oct 16 04:05:08 2009 From: do-not-reply at jboss.com (npirard) Date: Fri, 16 Oct 2009 04:05:08 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: About HistoryService Message-ID: <25421463.1255680308585.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> here a Jira query (thanks kukeltje) that may show you what is not yet implemented : https://jira.jboss.org/jira/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?query=history&summary=true&description=true&body=true&pid=10052&status=1&tempMax=25 do not hesitate to vote :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260693#4260693 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260693 From do-not-reply at jboss.com Fri Oct 16 04:52:28 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 16 Oct 2009 04:52:28 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Sending e-mails with mail tasks Message-ID: <2987231.1255683148049.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I tried to find a work-around for this and decided to send mails directly in a java task using javamail. I used the same code as in the web application mentioned above and I got the same exception which shows up when trying to use mail tasks. So I suppose it's a classpath issue. But which one exactly? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260698#4260698 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260698 From do-not-reply at jboss.com Fri Oct 16 06:20:27 2009 From: do-not-reply at jboss.com (KoebbingD) Date: Fri, 16 Oct 2009 06:20:27 -0400 (EDT) Subject: [jboss-user] [EJB] - issue with stateful session bean lifecycle: SimpleStaefulCac Message-ID: <7661817.1255688427391.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I recently stumbled upon an issue with the lifecycle implementation of EJB3 SFSBs: In the current implementation an active SFSB is removed from the cache without calling the "@PreDestroy-method" whereas this method is called when the bean has been passivated before. AFAIK this behaviour is the complete opposite of the standard. The code is in the run-method of org.jboss.ejb3.cache.simple.SimpleStatefulCache.RemovalTimeoutTask. Is the behaviour described above wanted? Daniel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260710#4260710 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260710 From do-not-reply at jboss.com Fri Oct 16 06:25:49 2009 From: do-not-reply at jboss.com (dennyxu) Date: Fri, 16 Oct 2009 06:25:49 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: HelloWorld Tutorial Does Not Work Message-ID: <33454438.1255688749355.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The jbossall-client.jar should be contained in the helloworld_testclient project classpath if you get the project Java Build Path configured correctly, when you import the examples , you might get some compiling errors about not found two main libraries, one is esb library and another is Server library, you can edit the libraries at the Java Build Path > Libraries properties page, change "Unbounded" libraries to a exist one. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260712#4260712 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260712 From do-not-reply at jboss.com Fri Oct 16 06:33:15 2009 From: do-not-reply at jboss.com (p4w3l) Date: Fri, 16 Oct 2009 06:33:15 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - identities from LDAP example pls! Message-ID: <33256970.1255689195437.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Here is my request for an example or how-to use LDAP for identities and roles in jBPM to: - assign to tasks - authenticate in console And all without JBoss please! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260715#4260715 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260715 From do-not-reply at jboss.com Fri Oct 16 06:53:13 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 16 Oct 2009 06:53:13 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Jbpm/MySQL not working on linux, but fine on Windows Message-ID: <4388047.1255690393961.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> No idea... better ask in the mysql forum I think. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260722#4260722 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260722 From do-not-reply at jboss.com Fri Oct 16 06:55:50 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 16 Oct 2009 06:55:50 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Sending e-mails with mail tasks Message-ID: <32421448.1255690550242.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> there is a mail properties file as well afaik, not sure if that plays a role as well here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260724#4260724 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260724 From do-not-reply at jboss.com Fri Oct 16 06:57:27 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 16 Oct 2009 06:57:27 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: identities from LDAP example pls! Message-ID: <17038752.1255690647161.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I assume you are talking about jBPM 6? are you... Or is it jBPM 2,71828183? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260726#4260726 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260726 From do-not-reply at jboss.com Fri Oct 16 07:17:03 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 16 Oct 2009 07:17:03 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Sending e-mails with mail tasks Message-ID: <31101624.1255691823863.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yes, I am aware of it and it looks like this. In build.xml you can specify the property mail.smtp.host and it is taken into account. Manually I also changed mail.from. As I said this works fine in a unit test with the same jbpm.mail.properties used. | mail.smtp.host=your.mail.host | mail.smtp.port=25 | mail.from=noreply at jbpm.org | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260727#4260727 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260727 From do-not-reply at jboss.com Fri Oct 16 07:24:00 2009 From: do-not-reply at jboss.com (magicroomy) Date: Fri, 16 Oct 2009 07:24:00 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - EJB2 SB calls EJB3 SB and gets wrong Remote Interface Message-ID: <14208514.1255692240217.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, i encountered a strange behaviour in JBoss 5.1.0 if a EJB2 SessionBean tries to lookup a EJB3 Session Bean. The situation is as follows: 1. The EJB3 is coded like that: ... @Stateless(name="EJB3") @RemoteHome(EJB3Home.class) public class EJB3Bean implements EJB3 { ... 2. EJB3Home looks like this: public interface EJB3Home extends EJBHome { public EJB3Remote create() throws CreateException, RemoteException; } 3. EJB3 is the EJB3 Business Remote Interface and looks like this: @Remote public interface EJB3 { public void doThings() ; 4. EJB3Remote is a Remote Interface according to the EJB2 Spec: public interface EJB3Remote extends EJBObject { public void doThings() throws RemoteException ; ... 5. For the EJB2 there is a deployment descriptor defined. The section for the EJB2 Session Bean contains the following ejb-ref: ... EJB2Remote Session EJB3Home EJB3Remote EJB3 ... 6. The EJB2 does a Lookup like Object obj = jndi.lookup("EJB2Remote") ; What i would expect is an object implementing EJB3Home. I can call create() with it and get a EJB3Remote Object. But what i get instead is an object of type EJB3, the Business Interface. This confuses me and is different to Bea Weblogic 10.3.1. Bea correctly delivers the Home. Since we have to develop for Bea and JBoss i need to find a way to get the Remote Interfaces the same way. Anything i did wrong to get the EJB3Home? I already checked the following links for help: http://java.sun.com/mailers/techtips/enterprise/2007/TechTips_Feb07.html and http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/EJB2.1_and_EJB3_references.html Both articles presented ways to interact that did not work on both App Servers. Greetings Volker View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260729#4260729 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260729 From do-not-reply at jboss.com Fri Oct 16 07:35:49 2009 From: do-not-reply at jboss.com (tknyziak) Date: Fri, 16 Oct 2009 07:35:49 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Locking parent nodes even with lockParentForChildInsertR Message-ID: <14098232.1255692949540.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry for not replying for so long. I've tried replacing 3.2.0 with 3.2.1 and it didn't help - still, as can be seen on the stack trace, parent nodes get being locked for writing: | org.jboss.cache.lock.TimeoutException: Unable to acquire lock on Fqn [/node_name] after [1100] milliseconds for requestor [Thread[RMI TCP Connection(46)-192.168.251.104,5,RMI Runtime]]! Lock held by [Thread[RMI TCP Connection(41)-192.168.251.104,5,RMI Runtime]] | at org.jboss.cache.mvcc.MVCCNodeHelper.acquireLock(MVCCNodeHelper.java:159) | at org.jboss.cache.mvcc.MVCCNodeHelper.wrapNodeForWriting(MVCCNodeHelper.java:236) | at org.jboss.cache.mvcc.MVCCNodeHelper.wrapNodeForWriting(MVCCNodeHelper.java:186) | at org.jboss.cache.mvcc.MVCCNodeHelper.wrapNodeForWriting(MVCCNodeHelper.java:226) | at org.jboss.cache.mvcc.MVCCNodeHelper.wrapNodeForWriting(MVCCNodeHelper.java:186) | at org.jboss.cache.mvcc.MVCCNodeHelper.wrapNodeForWriting(MVCCNodeHelper.java:226) | at org.jboss.cache.mvcc.MVCCNodeHelper.wrapNodeForWriting(MVCCNodeHelper.java:186) | at org.jboss.cache.mvcc.MVCCNodeHelper.wrapNodeForWriting(MVCCNodeHelper.java:226) | at org.jboss.cache.mvcc.MVCCNodeHelper.wrapNodeForWriting(MVCCNodeHelper.java:186) | at org.jboss.cache.interceptors.MVCCLockingInterceptor.handlePutDataMapCommand(MVCCLockingInterceptor.java:94) | I don't understand why all parent nodes need to be write-locked - [I assume the direct parent of the inserted node might be locked so a new child information can be updated] - but seems like their absence in the InvocationContext causes a cache-wide lock until they're actually read into it (createdIfAbsent, if you will). Sure I can bump up the timeout, but I suppose it's a work-around rather than a real solution. Any thoughts? Kind regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260733#4260733 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260733 From do-not-reply at jboss.com Fri Oct 16 07:44:16 2009 From: do-not-reply at jboss.com (sascha242) Date: Fri, 16 Oct 2009 07:44:16 -0400 (EDT) Subject: [jboss-user] [Security] - Re: SSO on JBOSS with Kerberos Message-ID: <14965653.1255693456161.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, did anybody get the documentation and the source code? I'm very interested in this topic, I don't care, if it's in german (nein, wirklich nicht). Regards, Sascha View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260735#4260735 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260735 From do-not-reply at jboss.com Fri Oct 16 08:21:29 2009 From: do-not-reply at jboss.com (jdlut) Date: Fri, 16 Oct 2009 08:21:29 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Is creating a new process project with eclipse an option Message-ID: <19025745.1255695689614.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you very much for the additional information. Jade View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260742#4260742 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260742 From do-not-reply at jboss.com Fri Oct 16 08:27:54 2009 From: do-not-reply at jboss.com (dleerob) Date: Fri, 16 Oct 2009 08:27:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Jbpm/MySQL not working on linux, but fine on Windows Message-ID: <11648863.1255696074615.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I renamed all the tables to upper case, and it seems to work fine now. This link explains the problem nicely: http://dev.mysql.com/doc/refman/5.0/en/identifier-case-sensitivity.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260744#4260744 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260744 From do-not-reply at jboss.com Fri Oct 16 09:08:31 2009 From: do-not-reply at jboss.com (npirard) Date: Fri, 16 Oct 2009 09:08:31 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: errors with logging into console - jbpm-4.1 Message-ID: <25183688.1255698511279.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> sorry for my poor posting, I read too quickly, did not realize that your question was about the console View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260762#4260762 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260762 From do-not-reply at jboss.com Fri Oct 16 09:12:23 2009 From: do-not-reply at jboss.com (bananeman) Date: Fri, 16 Oct 2009 09:12:23 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Row locks in Oracle after trying to delete a process instanc Message-ID: <19075006.1255698743559.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, We have row locks in our Oracle 11g jBPM database. I am still trying to figure out what action causes these locks. What I have seen so far is that there is a blocking session in our database which performs this SQL: DELETE FROM jbpm4_execution WHERE dbid_ = :1 AND dbversion_ = :2 It seems that this SQL statement hangs (no commit or rollback is ever done) causing other SQL statements (an update in this case) to block. I found the locked sessions using: | select INST_ID, SID, TYPE, ID1, ID2, LMODE, REQUEST, CTIME, BLOCK from gv$lock where (ID1,ID2,TYPE) in (select ID1,ID2,TYPE from gv$lock where request>0); | | INST_ID SID TYPE ID1 ID2 LMODE REQUEST CTIME BLOCK | 1 139 TX 65548 37132 6 0 8804 1 | 1 104 TX 65548 37132 0 6 7450 0 | When I look in our code I think the blocking database session must be our call to org.jbpm.api.ExecutionService#endProcessInstance. Does anyone have an idea why this could cause a lock? We use the default Oracle JDBC driver and our Hibernate settings are: | | | | org.hibernate.cache.NoCacheProvider | org.hibernate.dialect.Oracle10gDialect | java:/JbpmDS | true | | | | | | | | | | cheers, Edgar View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260764#4260764 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260764 From do-not-reply at jboss.com Fri Oct 16 09:25:10 2009 From: do-not-reply at jboss.com (mprkumar1248) Date: Fri, 16 Oct 2009 09:25:10 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Problem with IIS7(on windows 2008) with JBOSS 430 on 64b Message-ID: <15035360.1255699510740.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi I have solved the problem temporarily by compromising as below. I have followed the same guide. But only the cahage is instead of creating the registry entry. I have created a text file with name isapi_redirect.properties and placed in bin folder. Used 32bit isapi_redirect-1.2.28.dll. The environment is as below: Windows 2003 Enterprise Edition(64bit) IIS 7 (64bit) but isapi_redirect.dll is 32bit Started working. But still I want to use my application completely with 64bit environment, if I use 64bit dll it is not working. Can some one help me if there are any additional steps to be done. Thanks & Regards, RamkumarMP View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260771#4260771 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260771 From do-not-reply at jboss.com Fri Oct 16 09:37:24 2009 From: do-not-reply at jboss.com (hot33331) Date: Fri, 16 Oct 2009 09:37:24 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Migrate from Jboss 4.2.2GA to 5.1.0GA - HELP! Message-ID: <23114095.1255700244596.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi there, I have an application that worked perfectly fine in jboss 4.2.2 and I cannot get it to run in 5.1.0. What I did so far is: I removed all the jars from 4.2.2 that my app used an replaced them with the jars from 5.1.0. There were some minor changes like DatabaseServerLoginModule is in another package now, but I figured that out, so I got rid of all the red xes in my project (using Eclipse as the IDE). But when I deploy the jar file to the server, I get the following ERROR: 2009-10-16 15:09:40,198 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): followed by a huge list of Missing dependencies - actually all my service beans are in state UNRESOLVED when they should be in DESCRIBED: DEPLOYMENTS MISSING DEPENDENCIES: | Deployment "jboss.j2ee:jar=com.company.server.jar,name=AnonymServiceBean,service=EJB3" is missing the following dependencies: | Dependency "" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:PartnerDAOImpl/local-com.company.core.dao.PartnerDAO' **") | Dependency "" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:PersonDAOImpl/local-com.company.identity.dao.PersonDAO' **") | Dependency "" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:ContactServiceBean/local-com. company.service.interfaces.ContactServiceLocal' **") | Dependency "" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'jndi:CustomerServiceBean/local-com. company.sales.service.interfaces.CustomerServiceLocal' **") | Deployment "jboss.j2ee:jar=com. company.server.jar,name=AnonymServiceBean,service=EJB3_endpoint" is missing the following dependencies: | Dependency "jboss.j2ee:jar=com. company.server.jar,name=AnonymServiceBean,service=EJB3" (should be in state "Configured", but is actually in state "PreInstall") | Deployment "jboss.j2ee:jar=com. company.server.jar,name=AreaSequenceNodeDAOImpl,service=EJB3" is missing the following dependencies: | Dependency "" (should be in state "Described", but is actually in state "** UNRESOLVED Demands 'persistence.unit:unitName=#company' **") | Deployment "jboss.j2ee:jar=com. company.server.jar,name=AreaSequenceNodeDAOImpl,service=EJB3_endpoint" is missing the following dependencies: | Dependency "jboss.j2ee:jar=com. company.server.jar,name=AreaSequenceNodeDAOImpl,service=EJB3" (should be in state "Configured", but is actually in state "PreInstall") | ... to be continued ... This list goes on and on and on... and I have no clue, what I am doing wrong or where I could look for the error. Since I am pretty new to jboss, I would appreciate any help. Thanks a lot, Tobias View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260774#4260774 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260774 From do-not-reply at jboss.com Fri Oct 16 09:38:11 2009 From: do-not-reply at jboss.com (nikola.ivacic) Date: Fri, 16 Oct 2009 09:38:11 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Message fault is not signed or encrypted Message-ID: <9938088.1255700291813.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> How do I sign or encrypt message fault? I know that this issue, has long ago been reported: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4138308#4138308 https://jira.jboss.org/jira/browse/JBWS-1119 Has it been resolved? Can anybody help me configure jboss-wsse-server.xml. Everthing else works fine... Here is my config so far: | | some.jks | password | JKS | some.jks | password | JKS | | | | | | | | | | service | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260775#4260775 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260775 From do-not-reply at jboss.com Fri Oct 16 09:42:20 2009 From: do-not-reply at jboss.com (apollo11) Date: Fri, 16 Oct 2009 09:42:20 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4] Multiple Assignment of a task in jBPM4 Message-ID: <20327321.1255700540124.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks sebastian.s! Yes, "fork-joint" is one way. However, as I understand the "fork-joint" which the tasks need to be defined in the process definition. But our requirment is that the number of tasks only know during the runtime. We cannot define the fix number of task in the "fork-joint" in the process definition. We need to inject the tasks into the "fork-joint" in runtime, can the jBPM 4 do that? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260781#4260781 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260781 From do-not-reply at jboss.com Fri Oct 16 09:55:31 2009 From: do-not-reply at jboss.com (mlohbihler) Date: Fri, 16 Oct 2009 09:55:31 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Cache locking problem Message-ID: <13005426.1255701331650.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sigh. My apologies. I forgot that i had switched to READ_COMMITTED, so these gaps are just write skew. Switching back to REPEATABLE_READ results in exact counts as expected. Anyway, i hope at least the code samples will help other new users out. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260787#4260787 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260787 From do-not-reply at jboss.com Fri Oct 16 11:15:19 2009 From: do-not-reply at jboss.com (akarl) Date: Fri, 16 Oct 2009 11:15:19 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Farm deployment errors with large WAR files Message-ID: <27141959.1255706119638.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The rest of the story... We created an application that uses JBossCache to share objects between nodes in the cluster. We configured JBossCache to utilize JGroups UDP communication which from what I can tell is configured nearly identical to the farm deployer. We noticed that if we ran two instances of JBoss within the same OS/virtual hardware we had excellent communications performance but when we split to two OS/virtual hardware the performance was pitiful. So, why? We had been using CentOS on top of Xen virtual hardware so we tried switching out one of those variables and running CentOS on top of VMWare and voila, massive performance benefit. So, something in our Xen hardware setup or Xen itself was causing very poor performance of UDP communications. Our solution at this point is simply to use VMWare. At some point I will get a chance to test the farm deployer against our VMWare based clusters and I'll try to post some results here but I fully expect it to work well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260809#4260809 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260809 From do-not-reply at jboss.com Fri Oct 16 11:35:56 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 16 Oct 2009 11:35:56 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4] Multiple Assignment of a task in jBPM4 Message-ID: <31167569.1255707356839.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ouch... Joints in jBPM? Peace Mahn.... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260810#4260810 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260810 From do-not-reply at jboss.com Fri Oct 16 12:51:52 2009 From: do-not-reply at jboss.com (deanhiller) Date: Fri, 16 Oct 2009 12:51:52 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deployment problem with migration to 5.1.0 GA Message-ID: <26192324.1255711912811.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We ran into the same issue...work around was to remove our *.txt files as that also caused the infinite redeploy. We however have not been using exploded wars..the problem happens in a normal war file for us. It is very annoying...not sure what bug was introduced in 5.1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260819#4260819 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260819 From do-not-reply at jboss.com Fri Oct 16 13:09:09 2009 From: do-not-reply at jboss.com (jriesenberg) Date: Fri, 16 Oct 2009 13:09:09 -0400 (EDT) Subject: [jboss-user] [Tomcat Integration] - jbossweb-tomcat.sar upgrade to Tomcat 5.5.28 Message-ID: <19616318.1255712949752.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The Apache Tomcat project posts periodic security updates to Tomcat (the latest version of 5.5 is 5.5.28). Is there a way to upgrade the jbossweb-tomcat.sar to incorporate the latest build? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260820#4260820 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260820 From do-not-reply at jboss.com Fri Oct 16 13:52:17 2009 From: do-not-reply at jboss.com (apollo11) Date: Fri, 16 Oct 2009 13:52:17 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Problem configuring jBPM4 with Spring Message-ID: <29933548.1255715537455.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> what is the reason to set the hibernate-session current="true" in the jbmp.cfg.xml file? Hello, I'm migrating from Weblogic to jBoss 5.1. Currently in Weblogic we are using JMX to validate users and their roles in the weblogic container. Are there similar utilities in jBoss that will allow me to easily migrate over my user validation/provisioning code? Or will I have to scrap this and develop a new security model? Thank you for your help. Keith View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260824#4260824 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260824 From do-not-reply at jboss.com Fri Oct 16 15:10:12 2009 From: do-not-reply at jboss.com (axelerator) Date: Fri, 16 Oct 2009 15:10:12 -0400 (EDT) Subject: [jboss-user] [Clustering] - JGroups timing call inomalities Message-ID: <4236109.1255720212053.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hey, we have JBoss 4.2.3.GA JGroups 2.6.10.merge in development. We have a component, which is deployed on all cluster nodes and can be called externally and from within the server. If that component is called on the slave node, it redirects the call to the master (callMethodOnCoordinator). If called on the master node, it just continues. What we see is that if we call that component from the outside on the master, the response time is very constant around 90ms. If called on the slave node, where this is relayed to the master, the response time is somewhere between 200ms to 10000ms. I don't really get, why there is such a huge difference (besides 10sec to be ridiculous). Here is the cluster service config we use: | | | | | ${jboss.partition.name:DefaultPartition} | ${jboss.bind.address} | False | 30000 | 300000 | | | | | | | jboss:service=TransactionManager | jboss.remoting:service=Connector,transport=socket | jboss:service=${jboss.partition.name:DefaultPartition} | | | | ${jboss.bind.address} | 4447 | jboss:service=Naming | | | | 1 | 300 | 300 | 60000 | ${jboss.bind.address} | 4448 | ${jboss.bind.address} | 0 | false | jboss:service=TransactionManager | jboss:service=Naming | | | | jboss:service=${jboss.partition.name:DefaultPartition} | jboss.cache:service=InvalidationManager | jboss.cache:service=InvalidationManager | DefaultJGBridge | | | Any idea how this can happen? Something with the slave-master communication seems to go wrong. We tested the following constellation: Master only -> everything fine, Master+Slave, Master queried -> everyhting fine, Master+Slave, Slave queried -> Delays and timeouts Master+Slave, Both qeueried -> Delays and timeouts So I conclude that JGroups must be involved here ... Any help is greatly appreciated !!! Best regards and cheers, Axelerator View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260829#4260829 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260829 From do-not-reply at jboss.com Fri Oct 16 15:13:43 2009 From: do-not-reply at jboss.com (eduardo_thp) Date: Fri, 16 Oct 2009 15:13:43 -0400 (EDT) Subject: [jboss-user] [Security] - JBoss Negotiation 2.0.3.GA issue with Windows Vista ( Message-ID: <6553135.1255720423276.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I think I've found an issue with JBoss Negotiation 2.0.3.GA on the "org.jboss.security.negotiation.spnego.encoding.NegTokenTargDecoder" class when using Windows Vista/IE as the Client to authenticate against AD. I have an AD configured and working. XP clients can successfully authenticate against it. The log shows the following token: 0xa1 0x82 0x04 0xa8 0x30 0x82 0x04 0xa4 0xa2 0x82 0x04 0xa0 0x04 0x82 0x04 0x9c 0x60 0x82 0x04 0x98 0x06 0x09 0x2a 0x86 0x48 0x86 0xf7 0x12 0x01 0x02 0x02 0x01 0x00 0x6e 0x82 0x04 0x87 0x30 0x82 0x04 0x83 0xa0 0x03 0x02 0x01 0x05 0xa1 0x03 0x02 0x01 0x0e 0xa2 0x07 0x03 0x05 0x00 0x20 0x00 0x00 0x00 0xa3 0x82 0x03 0xae 0x61 0x82 0x03 0xaa 0x30 0x82 0x03 0xa6 0xa0 0x03 0x02 0x01 0x05 0xa1 0x0e 0x1b 0x0c 0x46 0x4c 0x45 0x58 0x2e 0x50 0x4a 0x4d 0x2e 0x43 0x4f 0x4d 0xa2 0x1a 0x30 0x18 0xa0 0x03 0x02 0x01 0x02 0xa1 0x11 0x30 0x0f 0x1b 0x04 0x48 0x54 0x54 0x50 0x1b 0x07 0x75 0x69 0x30 0x32 0x77 0x6c 0x64 0xa3 0x82 0x03 0x71 0x30 0x82 0x03 0x6d 0xa0 0x03 0x02 0x01 0x17 0xa1 0x03 0x02 0x01 0x04 0xa2 0x82 0x03 0x5f 0x04 0x82 0x03 0x5b 0x8c 0x57 0x66 0xf0 0x86 0xa0 0xc5 0xb4 0xef 0x97 0xb9 0x49 0x82 0xc7 0x5c 0xdb 0xb4 0xd9 0xb0 0x3f 0x42 0x57 0x46 0x6b 0x58 0x25 0xf6 0x00 0x40 0xc2 0x00 0xb4 0x54 0xf7 0x04 0x2d 0x09 0xad 0x6f 0xaa 0xd9 0x11 0xc1 0x4b 0x93 0x78 0x58 0x7f 0x55 0x05 0x6f 0x5a 0xd0 0x23 0xef 0x32 0x19 0x95 0x01 0xe9 0x99 0x47 0xe2 0xe4 0x5d 0xf4 0x26 0x55 0x9c 0x84 0xf2 0x99 0x2a 0x3c 0x17 0x82 0xa1 0xc7 0x07 0xa1 0x97 0x7e 0x05 0x26 0xbb 0xaf 0x06 0xbe 0x41 0x9e 0x0e 0x2b 0x44 0x73 0x4b 0x37 0x77 0xc9 0x25 0x89 0x97 0x84 0x31 0xdb 0x0a 0x1f 0xb8 0xf7 0x7a 0xac 0x1e 0x8f 0xe3 0xc0 0x26 0x3a 0xe7 0x12 0xfd 0x7c 0x48 0xf1 0x6d 0xab 0x7c 0x69 0x10 0xb7 0xe4 0xa9 0x49 0xa5 0x56 0x37 0x37 0xf8 0x34 0x49 0x87 0x6c 0xcc 0x27 0x76 0xbf 0x8f 0x25 0x54 0x4d 0x64 0xa0 0x1d 0x6c 0x9d 0x60 0x9b 0x38 0x25 0x63 0x89 0x0e 0x66 0x77 0x3d 0xd9 0xc6 0xd7 0xd3 0x63 0x98 0xff 0x33 0xe2 0x4e 0x1c 0xfb 0xd5 0x8b 0xe8 0xeb 0xec 0x2d 0xf1 0x00 0xeb 0x81 0xe3 0x38 0x96 0x78 0x96 0x84 0xe0 0x44 0xdd 0x64 0x09 0x92 0x3d 0x1c 0x35 0x00 0x6c 0x91 0xe2 0x2e 0x17 0xa9 0x66 0x84 0x2b 0x4f 0xeb 0xc5 0xc4 0xd6 0xe6 0x10 0x0a 0xa6 0x7f 0x45 0x3e 0x13 0x94 0x1c 0x1b 0x21 0x58 0x88 0x5d 0x2b 0x24 0x46 0xd3 0x3b 0x2a 0x6b 0x46 0xe9 0xf9 0x66 0xdf 0x02 0xf1 0x81 0xf3 0x7a 0x33 0xaf 0xce 0x3a 0x6f 0x40 0x60 0x97 0x08 0xc5 0xcb 0x2a 0xea 0xfe 0x09 0xb6 0xe3 0xde 0x4d 0xe1 0x66 0xc5 0xcc 0x5b 0x9b 0x9c 0xab 0x0a 0x90 0x03 0xfb 0x5b 0xfd 0xd4 0xa7 0x36 0xee 0x50 0xed 0x04 0xde 0x31 0x50 0xbb 0x18 0x87 0x64 0xf7 0x23 0x77 0x80 0x24 0xe8 0xc2 0x2a 0xfa 0x92 0xf3 0x48 0xe7 0x91 0x2f 0x7f 0xf3 0x58 0x88 0x14 0x9c 0x04 0x0e 0x69 0x04 0x96 0xb3 0x30 0xe0 0x66 0xdf 0x4e 0x1a 0x09 0x4a 0x88 0x6d 0x27 0x33 0xe1 0x86 0xe6 0x76 0xfb 0x50 0x2e 0x11 0xe5 0x11 0x42 0xd8 0xc7 0xbc 0x97 0x2b 0xaa 0x68 0x2c 0x0d 0x18 0x2a 0xa4 0xec 0x60 0xe4 0xd0 0x63 0xf7 0x65 0xae 0x7f 0xf9 0x2d 0x38 0x5b 0x8d 0x53 0x46 0xce 0xc7 0x9b 0x1c 0xfe 0xfd 0xf9 0x12 0x99 0x0f 0x66 0x7f 0x9f 0xb6 0x7f 0xfd 0x9f 0xb5 0xcf 0xff 0xeb 0xec 0xdd 0xaa 0x5f 0xc0 0x11 0xa5 0x42 0x03 0xcc 0x62 0x1f 0x82 0xbd 0x5d 0xe4 0x76 0x8a 0xe4 0x82 0x2d 0xe3 0x63 0x60 0x27 0x42 0xdc 0xda 0x92 0x09 0xf2 0xe4 0x3b 0xe8 0x8d 0xc2 0x60 0xa0 0x63 0xce 0x37 0x25 0x2a 0x80 0x6a 0xf5 0x8e 0xb9 0x75 0x11 0x6b 0x4b 0xde 0xf4 0xe6 0xc4 0x51 0xeb 0x51 0x7b 0x8d 0x01 0x39 0x1c 0xaa 0xa4 0xba 0xeb 0xbe 0xc9 0xc8 0xe8 0x46 0xee 0x19 0xf8 0x6c 0x61 0x52 0x16 0x8b 0x25 0x66 0x5b 0x0d 0xe7 0x75 0x74 0x84 0x1c 0x56 0x47 0x65 0xd6 0x1a 0xb1 0x75 0xa1 0x09 0x84 0x79 0x9b 0x29 0x1d 0x25 0x5f 0x55 0xbf 0x56 0xdb 0x69 0x0e 0x8a 0x86 0x3b 0xfd 0x02 0x6f 0x6d 0xb6 0x8b 0xe7 0x46 0x4b 0xcd 0x28 0x82 0x99 0x4b 0xdf 0x60 0x87 0x7b 0x9e 0x27 0xb1 0x46 0x87 0x62 0x21 0xeb 0x7b 0xd6 0xd3 0xac 0xec 0x3b 0x1b 0xb6 0xcc 0xc4 0xd7 0xb4 0x4d 0xf9 0xdc 0xc1 0xbd 0x06 0xcc 0x52 0xf7 0x05 0xe3 0x19 0x6d 0x52 0x5b 0xc5 0x9b 0x97 0x34 0x3c 0xee 0x33 0x99 0x8d 0xdd 0xd3 0x07 0x24 0x21 0xb7 0xda 0x3a 0xcf 0x2b 0x81 0x0b 0xdb 0x91 0xcb 0x6c 0x86 0x99 0x69 0x44 0xad 0x92 0x9b 0xdf 0x87 0x02 0x22 0xb0 0x5d 0x07 0x8b 0x3a 0x59 0x01 0x44 0xc9 0x89 0x42 0x3e 0xef 0x57 0x36 0x25 0xf7 0x8b 0xcf 0xad 0xe8 0x4d 0x4f 0xf5 0x86 0x0d 0xfc 0x0f 0x9d 0x6a 0x14 0xf8 0x2e 0x6a 0xd4 0x81 0x37 0x7c 0x5b 0xae 0x5a 0x71 0xb7 0x67 0x37 0xb5 0x0a 0x94 0x6b 0xc0 0x2e 0x23 0x39 0xdf 0xb5 0xf0 0x4d 0x50 0x33 0xb5 0x15 0xbc 0xa1 0xee 0xa2 0x68 0x8e 0x90 0xf3 0xea 0x3e 0xe7 0xea 0x7a 0x4a 0xf1 0x6f 0x81 0x30 0x2d 0x01 0xfd 0x21 0x70 0xfe 0xe5 0x53 0x61 0x19 0x5c 0xef 0x8f 0xad 0xf7 0x75 0xa6 0x6f 0xcc 0x4c 0x38 0x75 0x81 0xcc 0x56 0x8d 0x69 0x16 0x1e 0xe4 0x9e 0x1e 0xad 0x37 0x0d 0x49 0x8c 0xe4 0xb4 0x76 0xe6 0x3d 0xf6 0xf3 0x81 0x51 0xf8 0x56 0x8c 0x9f 0x3e 0x23 0x28 0x5c 0xc2 0xa6 0xef 0xd3 0xbb 0xcb 0x2d 0x95 0x33 0x93 0x51 0x40 0x16 0x76 0x57 0x5d 0x38 0xe5 0x99 0x35 0xcd 0xd5 0xa4 0x7a 0x18 0x25 0x23 0xf8 0x50 0x04 0x9a 0x28 0xd9 0x62 0xa0 0x12 0xbe 0xe8 0x49 0x8a 0x96 0x24 0xd8 0x4f 0x83 0x34 0x31 0xe6 0x32 0xd3 0x90 0xde 0xb5 0xf2 0x94 0xed 0x10 0x09 0xbc 0x60 0xb1 0x18 0xdd 0x59 0x1f 0x39 0x0d 0x7d 0x57 0x46 0xbe 0xe6 0x93 0x95 0x9b 0x92 0xc5 0xd6 0x25 0xc2 0xb3 0x22 0xa9 0xb1 0xcf 0x2b 0x33 0xf4 0x56 0x29 0x97 0x34 0xc2 0x6c 0xea 0xf6 0xbb 0x7a 0x28 0x7e 0xa7 0x49 0x15 0x5e 0x8d 0x47 0xd9 0x5a 0x6e 0xa7 0x5c 0xaa 0x93 0xe3 0x89 0x1d 0xb8 0x02 0x5d 0x13 0x92 0xee 0x61 0xc1 0x4a 0xf3 0x16 0x0e 0x12 0xa4 0x81 0xbb 0x30 0x81 0xb8 0xa0 0x03 0x02 0x01 0x17 0xa2 0x81 0xb0 0x04 0x81 0xad 0x15 0xde 0x31 0x40 0x70 0x23 0xfc 0xe6 0x52 0xde 0xea 0xd9 0xeb 0xe1 0x34 0x37 0xf5 0x68 0xb3 0xf3 0x91 0x6d 0x76 0x32 0xcc 0xb2 0x53 0x3e 0x04 0x9b 0xea 0xef 0xfd 0x56 0x56 0xa5 0x99 0x7b 0x0d 0x7f 0x85 0x72 0x67 0xf6 0x27 0x7d 0x9d 0x48 0x12 0x7c 0x28 0x32 0x1f 0x82 0x3e 0xae 0xb5 0xcd 0xd2 0x2f 0x7f 0xf4 0x69 0x9b 0xdf 0x20 0x81 0xd3 0x1a 0x8d 0xa5 0xe9 0x01 0x39 0x9f 0xa8 0xff 0x0e 0xc2 0xf5 0xec 0xd5 0x51 0x9d 0xf9 0x78 0x60 0xa0 0x72 0xdf 0xad 0x26 0x2c 0xea 0x0a 0xc3 0xad 0xb5 0x04 0x09 0x75 0x01 0xcd 0xc0 0x33 0x40 0x03 0xc2 0x08 0x63 0xd4 0xb8 0x9f 0x75 0xdb 0x24 0x2c 0xc5 0x78 0xcf 0x85 0xec 0xc2 0x7c 0x7f 0x9d 0x42 0x41 0xc6 0x6c 0x42 0x02 0x33 0x00 0x98 0x22 0x06 0x49 0xe8 0x77 0xf0 0xc2 0x1e 0x63 0x93 0x2a 0x7f 0xfe 0x4e 0x7c 0xac 0xc9 0xd5 0x1e 0xec 0x6f 0x1d 0x0b 0x4d 0xa2 0x0f 0xfd 0x58 0xd7 0x3b 0x99 0xe7 0x4e 0x03 0x03 0x36 0xea 0xf1 The vista token seems to have more information (decodeNegResult) which causes the decoding code to fail: 0xa1 0x82 0x05 0x23 0x30 0x82 0x05 0x1f 0xa0 0x03 0x0a 0x01 0x01 0xa2 0x82 0x05 0x16 0x04 0x82 0x05 0x12 0x60 0x82 0x05 0x0e 0x06 0x09 0x2a 0x86 0x48 0x86 0xf7 0x12 0x01 0x02 0x02 0x01 0x00 0x6e 0x82 0x04 0xfd 0x30 0x82 0x04 0xf9 0xa0 0x03 0x02 0x01 0x05 0xa1 0x03 0x02 0x01 0x0e 0xa2 0x07 0x03 0x05 0x00 0x20 0x00 0x00 0x00 0xa3 0x82 0x03 0xfc 0x61 0x82 0x03 0xf8 0x30 0x82 0x03 0xf4 0xa0 0x03 0x02 0x01 0x05 0xa1 0x0e 0x1b 0x0c 0x46 0x4c 0x45 0x58 0x2e 0x50 0x4a 0x4d 0x2e 0x43 0x4f 0x4d 0xa2 0x1a 0x30 0x18 0xa0 0x03 0x02 0x01 0x02 0xa1 0x11 0x30 0x0f 0x1b 0x04 0x48 0x54 0x54 0x50 0x1b 0x07 0x75 0x69 0x30 0x32 0x77 0x6c 0x64 0xa3 0x82 0x03 0xbf 0x30 0x82 0x03 0xbb 0xa0 0x03 0x02 0x01 0x17 0xa1 0x03 0x02 0x01 0x04 0xa2 0x82 0x03 0xad 0x04 0x82 0x03 0xa9 0x3f 0x78 0x44 0xfe 0x91 0x52 0x9d 0xb2 0x8c 0x8e 0x63 0x7b 0x79 0x8b 0x4b 0xaf 0x23 0x9b 0x9f 0x83 0x3b 0x85 0x8b 0x9e 0x55 0x3a 0x3a 0x24 0x02 0x77 0xb5 0x29 0xdd 0x40 0xb7 0x84 0xe7 0x9b 0x74 0x7e 0x55 0xbe 0x0a 0x2e 0xb4 0x90 0x6b 0x00 0xb3 0x66 0xd6 0x87 0x56 0x15 0xbf 0xe1 0x6d 0x32 0xb9 0x3e 0xf9 0xb6 0x38 0x43 0x34 0x31 0xe0 0xe7 0x90 0xba 0x92 0xaf 0x50 0x7d 0x29 0x1b 0xbb 0xdd 0xf7 0x7b 0x9f 0xc3 0x65 0x8c 0x41 0xa1 0x43 0xa0 0xa6 0x8e 0x70 0x98 0xc1 0xd2 0x7e 0x5b 0x24 0xc9 0x09 0x60 0x43 0x33 0xbd 0xfd 0x24 0x04 0x0a 0x0f 0x94 0x6c 0x56 0xf0 0xa4 0x0b 0x79 0x93 0x34 0xf9 0x40 0x37 0x05 0x65 0x1f 0xe7 0x03 0xd0 0x78 0x0a 0x2b 0xf7 0x51 0xc1 0xff 0xed 0x3f 0x13 0x24 0x62 0x28 0xfc 0x83 0xcb 0xc5 0xad 0xff 0xef 0x6c 0xeb 0x5d 0x03 0xf3 0x53 0xb0 0x9f 0xad 0x9b 0xc3 0xe2 0xd4 0x57 0xdb 0xba 0xb7 0x73 0x1d 0x96 0xfa 0xb0 0x8c 0x45 0x5a 0xe7 0x5d 0xdc 0xb5 0xb2 0xcd 0x73 0xb0 0x7c 0x8a 0xa3 0x63 0xf3 0x08 0x8f 0x68 0x96 0x41 0x83 0x4d 0x3a 0xdb 0x7a 0xc7 0xd9 0x31 0xa6 0x52 0xe6 0x14 0x43 0x8b 0x81 0x99 0x0f 0x4c 0xf4 0xc6 0xc5 0x6d 0x98 0xad 0x8f 0xad 0xf2 0x65 0x94 0xb9 0xc7 0x4d 0xb6 0x3d 0xdb 0xab 0x08 0x38 0x38 0x32 0x36 0x6b 0x91 0x7a 0x81 0x1a 0x0d 0x05 0xb2 0xdc 0x2e 0xbe 0x27 0x01 0xf5 0x0e 0xbf 0x59 0xc5 0x30 0x0c 0x71 0xf5 0x14 0x61 0x4a 0x40 0xe5 0xa1 0xef 0x1f 0xfd 0x2b 0x3d 0x3f 0x10 0x20 0x7b 0x83 0x67 0xd6 0xd8 0x2e 0x59 0xd0 0x22 0x01 0xf5 0x17 0x31 0xdc 0xef 0xe0 0x42 0x28 0x2b 0x76 0x15 0x11 0x1d 0xae 0x4d 0x70 0x66 0xd1 0x76 0xce 0x80 0xc6 0x98 0x0b 0xd4 0xc8 0x5f 0xe7 0x16 0x0b 0xc8 0xa5 0x9d 0x70 0x28 0x67 0xa7 0x49 0xeb 0xda 0x1b 0x98 0x45 0xa6 0xe8 0x99 0x7d 0x38 0xb6 0xb1 0x61 0x6d 0xeb 0x95 0xd6 0xb8 0x76 0x99 0x52 0x21 0x64 0x40 0x73 0x9b 0x8a 0x59 0x39 0xb1 0xa6 0x59 0x0a 0x07 0xf9 0x94 0x14 0x17 0x01 0xfd 0xac 0xbd 0x8e 0x04 0xdb 0x92 0xb7 0x2c 0x44 0x6c 0xa3 0xf3 0x99 0x3a 0x43 0x30 0xdd 0x90 0xe7 0xb1 0xcd 0x62 0xef 0x10 0x7d 0xcd 0x60 0x50 0x7d 0x51 0x4b 0x5a 0x78 0xb7 0x51 0xed 0xb2 0xc2 0x88 0x1e 0xb1 0xa8 0x49 0x44 0xb6 0x2b 0x90 0xa8 0x51 0x2e 0xe1 0xc4 0x97 0xa5 0x3e 0xc3 0x58 0x4f 0xb2 0x3f 0x4a 0xaf 0xf4 0xc8 0x07 0x52 0x0d 0x1d 0x97 0x73 0x9a 0x8e 0x99 0x1b 0xcb 0x48 0x67 0x66 0xce 0x19 0xa7 0xd8 0xc2 0x11 0x6e 0xed 0x66 0xa6 0xbe 0x45 0xae 0xbe 0x3f 0xf4 0x45 0x79 0x4b 0x23 0x40 0x8c 0x84 0xb5 0xea 0x17 0xd4 0x1e 0xd5 0xc3 0x28 0xa9 0xa7 0x04 0x5e 0x22 0x03 0x30 0x47 0x25 0x0a 0x42 0xee 0x9d 0x32 0xce 0x9f 0x0d 0x15 0xcf 0xeb 0xab 0xa6 0x2f 0xa8 0xdf 0x0c 0x9e 0xe0 0xd2 0x72 0x0c 0xfa 0xc3 0xb4 0xc4 0x85 0x68 0xea 0xb7 0x83 0x6b 0x3b 0x7a 0xa4 0x1b 0x06 0xf1 0xf0 0x4a 0xf7 0x46 0x2d 0x74 0x36 0xd5 0x93 0x82 0xf1 0x0f 0x1b 0x51 0xd6 0x44 0xb3 0xa0 0x20 0xd7 0x64 0xed 0x76 0x80 0x2f 0x50 0x7d 0x29 0xd6 0x57 0x76 0xdb 0x4d 0xe3 0x8e 0xf7 0xba 0xb0 0x6c 0x38 0xd8 0xb2 0xa3 0x42 0x8b 0x9f 0x77 0x7e 0x8f 0xcb 0xc4 0xaa 0x2f 0x56 0xb4 0x13 0x09 0xb3 0x6a 0xa0 0xd6 0xd5 0x56 0x53 0x40 0x42 0x98 0x18 0x12 0xc7 0x55 0xf1 0xc6 0x2c 0x40 0xf0 0xd4 0x6c 0xc2 0x3a 0x1f 0xe2 0xf6 0xc0 0x6f 0xc1 0x5d 0x26 0x63 0x91 0x48 0xf2 0xe2 0xa7 0x78 0x74 0x9e 0xc0 0x60 0x00 0x3f 0x25 0x30 0xce 0xc4 0xae 0x76 0x90 0x5b 0x5a 0xeb 0x78 0x5a 0x25 0x0f 0x9b 0x0d 0x21 0x3c 0x50 0x89 0x42 0xab 0xcf 0x3b 0x1f 0xd7 0x29 0x45 0x05 0xba 0xb1 0x05 0x9c 0xb1 0x6d 0xbe 0x42 0x01 0x51 0x0d 0xe0 0x34 0xd4 0x07 0x80 0xb6 0x31 0x3b 0xe1 0xcd 0x85 0x9f 0x95 0x5c 0x50 0x13 0x24 0xad 0xd3 0x30 0xfd 0x1d 0x28 0x2c 0xf5 0x6d 0x0e 0x09 0xdf 0x8a 0x6c 0xac 0x42 0xa9 0xc2 0x90 0x43 0x46 0xc5 0x8a 0xe3 0x20 0x45 0x72 0x07 0xde 0x70 0x55 0x68 0x9b 0x34 0x3a 0x9a 0xb4 0x48 0x2d 0xa9 0x60 0x57 0x87 0x23 0xdb 0xba 0x68 0xbb 0xcb 0xdc 0x24 0x4b 0x81 0xc1 0x4a 0xae 0x7d 0xb9 0xd4 0x2d 0xff 0x8e 0x3d 0xb6 0x6a 0xda 0x8e 0x12 0x07 0x84 0x51 0xf3 0x02 0xc7 0x2a 0x7c 0x64 0xea 0x9e 0x84 0x03 0xf1 0x09 0x51 0x6b 0x1b 0xf9 0x81 0x51 0x3a 0xef 0xf9 0xb5 0xc1 0xb4 0x12 0x53 0x8f 0x59 0xee 0xd5 0xe7 0x57 0x8d 0xd7 0x83 0xce 0xb9 0xe5 0x91 0xbe 0xd2 0x0c 0xd8 0x63 0xf3 0x07 0x3a 0x4d 0xe4 0xd5 0xcb 0x5e 0xc6 0x4b 0x5e 0xb9 0x79 0x70 0x21 0x13 0x31 0x29 0xc6 0xa8 0x31 0x41 0xbd 0x48 0x32 0xe4 0x49 0x62 0x77 0x7e 0xc8 0x40 0x50 0xb5 0x3e 0x1e 0xa9 0x5c 0x9f 0x6f 0x64 0x38 0x65 0x08 0x9c 0xdf 0x2f 0x96 0xe1 0x50 0x96 0xe8 0x15 0x73 0x80 0x96 0xbe 0x6b 0x90 0x36 0x82 0x7c 0x17 0xa6 0x33 0xac 0xe6 0x60 0x82 0x5f 0x9e 0xb4 0xd2 0xb4 0xf6 0x96 0x31 0xf2 0x2f 0xba 0xfa 0x78 0x2c 0x29 0x59 0x65 0x11 0x04 0xd6 0x4d 0x6f 0x0b 0xee 0x44 0xd1 0x01 0xaa 0xa3 0xfc 0x0b 0x53 0x1a 0xff 0x63 0xbb 0xb0 0x69 0x0c 0x44 0xea 0x6f 0x5a 0x43 0xe8 0x1a 0x2a 0xa9 0x9e 0xdf 0x44 0x99 0x19 0xc4 0x7b 0x68 0x64 0x1e 0x3c 0xda 0x53 0x6a 0x49 0x05 0x64 0x65 0xe5 0x45 0x5a 0x79 0x17 0xe6 0x75 0x69 0x87 0x9e 0x24 0x77 0xcd 0xa1 0xdc 0x66 0x2d 0xc5 0x4b 0xa4 0x81 0xe3 0x30 0x81 0xe0 0xa0 0x03 0x02 0x01 0x17 0xa2 0x81 0xd8 0x04 0x81 0xd5 0x58 0xb9 0x41 0xa9 0x9a 0xc0 0x1d 0x14 0x5c 0x30 0xc2 0x5a 0xb7 0x31 0x11 0xca 0x20 0x25 0x4c 0xe1 0x7a 0x1d 0xc2 0xe6 0x9a 0xe2 0x16 0xd9 0x21 0x0b 0xe4 0x24 0x38 0xa2 0xb5 0xf3 0xb8 0x9b 0x2c 0xc3 0x93 0x4d 0x8a 0x71 0xa8 0x6b 0x6d 0xfd 0xff 0x59 0xde 0x9e 0x09 0x3f 0xa2 0x84 0x4c 0x1e 0xbd 0x6d 0x52 0x49 0x6b 0xd2 0xbf 0xc9 0xb1 0x05 0x97 0x82 0x08 0xcc 0xa0 0x04 0xa6 0xd1 0xde 0x21 0xc3 0x5b 0x64 0xc7 0x46 0x6b 0xdc 0xfb 0xf6 0x29 0x77 0x4f 0x0e 0xce 0x31 0xd2 0x20 0x91 0x79 0x9b 0xe8 0x55 0x60 0x4b 0x06 0x01 0x0d 0xa7 0x7f 0xe6 0xf5 0x2d 0x99 0x4f 0x9d 0x5a 0xc3 0xeb 0x6a 0x52 0xe1 0x22 0xf2 0xd1 0x3a 0xee 0x2c 0x85 0x91 0x9e 0x4d 0x7c 0xaa 0x0f 0xf3 0x7e 0x44 0x52 0xc1 0xbe 0xe9 0x9c 0x72 0x26 0xda 0x36 0x13 0xdb 0x08 0xa5 0x86 0x0f 0xf8 0x63 0x39 0x60 0xc5 0xce 0xaf 0xeb 0xd7 0x91 0x23 0x5b 0x3a 0x57 0x28 0x67 0x1d 0x5d 0x1d 0xf5 0xfb 0x91 0x2b 0x96 0x53 0x3b 0x1e 0xd4 0x02 0x56 0x03 0xa9 0xad 0xdb 0x42 0x3d 0x85 0x03 0x3b 0x3b 0x0f 0x2e 0x08 0x8f 0xfe 0x08 0xd1 0x05 0x19 0x70 0x9b 0x69 0x95 0x88 0xe5 0x22 0x8e 0xa4 0x7a 0x85 0x67 0x7f 0xb3 This token has more information which is processed by the decodeNegResult method on the NegTokenTargDecoder class... I think there's a bug with this method, I added some logs to this method which showed me: 2009-10-16 14:21:27,392 INFO [org.jboss.security.negotiation.spnego.encoding.NegTokenTargDecoder] EDDIE - Decoding NegTokenTargSequence: ffffffa0 2009-10-16 14:21:27,392 INFO [org.jboss.security.negotiation.spnego.encoding.NegTokenTargDecoder] EDDIE - decoding NegResult 2009-10-16 14:21:27,392 INFO [org.jboss.security.negotiation.spnego.encoding.NegTokenTargDecoder] EDDIE - length: 3 2009-10-16 14:21:27,393 INFO [org.jboss.security.negotiation.spnego.encoding.NegTokenTargDecoder] EDDIE - type: a 2009-10-16 14:21:27,393 INFO [org.jboss.security.negotiation.spnego.encoding.NegTokenTargDecoder] EDDIE - negResult: 1 I don't understand much the decoding code, but it seems that this method needs to read more bytes (length = 3), so when it returns to the function that has called it (decodeNegTokenTargSequence) the inputStream is in the correct position... I have added the following code at the end of the decodeNegResult method and the decoding code worked: ... for(int i = 0; i < length - 2; i++) { log.info("Reading extra: " + Integer.toHexString(is.read())); } ... not sure if this is completely correct, but it worked fine. *** Please, can anyone verify if this issue has already been identified somewhere else ? can anyone verify if this issue has been fixed ? can anyone verify if the fix I made is good for any case. >>> Does anyone has a reference that explains how to decode the token bytes ? Regards, Eduardo THP (Eddie) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260832#4260832 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260832 From gorky at freenet.carleton.ca Fri Oct 16 15:55:14 2009 From: gorky at freenet.carleton.ca (Stephen Davidson) Date: Fri, 16 Oct 2009 14:55:14 -0500 Subject: [jboss-user] continuum under jboss 5.0.0 ga In-Reply-To: <9b68098b0910090602q2e1d6a4fu39f91f84b23907a5@mail.gmail.com> References: <9b68098b0910090602q2e1d6a4fu39f91f84b23907a5@mail.gmail.com> Message-ID: <4AD8CFA2.4080005@freenet.carleton.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Vincent. If you have not yet tried the forums, I would suggest you do so. This list does not appear to be monitored by the JBoss Developers or User Community in general anymore. In regards to your issue, I've seen something when two different versions of SAX and/or DOM Parsers (specifically, the Xerces classes) have wound up on the class path somehow. As they are present in the later versions of the JDK, I would look to see if something was somewhere in either your JDK/ext directory and/or one of the JBoss Lib directories, either at the "system" or the configuration level. Good luck! Regards, Steve On 10/09/2009, Vincent verpoort wrote: > Question, > > I wanne run continuum under jboss 5.0.0.ga > > Problem being that when i take a clean install of jboss 5.0.0 ga on > solaris and fallow the > http://continuum.apache.org/docs/1.3.4/installation/jboss.html i get the > next error > > Internet doesn't givemuch info so i'm hoping maybe someone here has some > info on this > > 14:55:34,856 INFO [RARDeployment] Required license terms exist, view > vfszip:/export/dg1/service/jboss-5.0.0.GA/server/gc/deploy/jboss-xa-jdbc.rar/META-INF/ra.xml > > 14:55:34,875 INFO [RARDeployment] Required license terms exist, view > vfszip:/export/dg1/service/jboss-5.0.0.GA/server/gc/deploy/jms-ra.rar/META-INF/ra.xml > > 14:55:34,888 INFO [RARDeployment] Required license terms exist, view > vfszip:/export/dg1/service/jboss-5.0.0.GA/server/gc/deploy/mail-ra.rar/META-INF/ra.xml > > 14:55:34,905 INFO [RARDeployment] Required license terms exist, view > vfszip:/export/dg1/service/jboss-5.0.0.GA/server/gc/deploy/quartz-ra.rar/META-INF/ra.xml > > 14:55:34,955 INFO [SimpleThreadPool] Job execution threads will use > class loader of thread: main > 14:55:34,971 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. > 14:55:34,973 INFO [RAMJobStore] RAMJobStore initialized. > 14:55:34,973 INFO [StdSchedulerFactory] Quartz scheduler > 'DefaultQuartzScheduler' initialized from default resource file in > Quartz package: 'quartz.properties' > 14:55:34,973 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 > 14:55:34,973 INFO [QuartzScheduler] Scheduler > DefaultQuartzScheduler_$_NON_CLUSTERED started. > 14:55:35,062 INFO [ConnectionFactoryBindingService] Bound > ConnectionManager 'jboss.jca:service=DataSourceBinding,name=continuum' > to JNDI name 'java:continuum' > 14:55:35,092 INFO [ConnectionFactoryBindingService] Bound > ConnectionManager 'jboss.jca:service=DataSourceBinding,name=users' to > JNDI name 'java:users' > 14:55:35,346 INFO [ConnectionFactoryBindingService] Bound > ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' > to JNDI name 'java:DefaultDS' > 14:55:35,611 INFO [SimpleThreadPool] Job execution threads will use > class loader of thread: main > 14:55:35,612 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. > 14:55:35,612 INFO [JobStoreCMT] Using db table-based data access > locking (synchronization). > 14:55:35,618 INFO [JobStoreCMT] Removed 0 Volatile Trigger(s). > 14:55:35,618 INFO [JobStoreCMT] Removed 0 Volatile Job(s). > 14:55:35,618 INFO [JobStoreCMT] JobStoreCMT initialized. > 14:55:35,618 INFO [StdSchedulerFactory] Quartz scheduler > 'JBossEJB3QuartzScheduler' initialized from an externally provided > properties instance. > 14:55:35,618 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 > 14:55:35,654 INFO [JobStoreCMT] Freed 0 triggers from 'acquired' / > 'blocked' state. > 14:55:35,659 INFO [JobStoreCMT] Recovering 0 jobs that were in-progress > at the time of the last shut-down. > 14:55:35,659 INFO [JobStoreCMT] Recovery complete. > 14:55:35,659 INFO [JobStoreCMT] Removed 0 'complete' triggers. > 14:55:35,659 INFO [JobStoreCMT] Removed 0 stale fired job entries. > 14:55:35,660 INFO [QuartzScheduler] Scheduler > JBossEJB3QuartzScheduler_$_NON_CLUSTERED started. > 14:55:35,742 INFO [ServerPeer] JBoss Messaging 1.4.1.GA > server [0] started > 14:55:35,802 INFO [QueueService] Queue[/queue/DLQ] started, > fullSize=200000, pageSize=2000, downCacheSize=2000 > 14:55:35,806 WARN [ConnectionFactoryJNDIMapper] supportsFailover > attribute is true on connection factory: > jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but > post office is non clustered. So connection factory will *not* support > failover > 14:55:35,806 WARN [ConnectionFactoryJNDIMapper] supportsLoadBalancing > attribute is true on connection factory: > jboss.messaging.connectionfactory:service=ClusteredConnectionFactory but > post office is non clustered. So connection factory will *not* support > load balancing > 14:55:35,841 INFO [ConnectionFactory] Connector > bisocket://10.69.10.14:4557 has leasing > enabled, lease period 10000 milliseconds > 14:55:35,842 INFO [ConnectionFactory] > org.jboss.jms.server.connectionfactory.ConnectionFactory at 128abd9 started > 14:55:35,842 INFO [ConnectionFactory] Connector > bisocket://10.69.10.14:4557 has leasing > enabled, lease period 10000 milliseconds > 14:55:35,842 INFO [ConnectionFactory] > org.jboss.jms.server.connectionfactory.ConnectionFactory at c8a95c started > 14:55:35,844 INFO [ConnectionFactory] Connector > bisocket://10.69.10.14:4557 has leasing > enabled, lease period 10000 milliseconds > 14:55:35,844 INFO [ConnectionFactory] > org.jboss.jms.server.connectionfactory.ConnectionFactory at 11fb491 started > 14:55:35,846 INFO [QueueService] Queue[/queue/ExpiryQueue] started, > fullSize=200000, pageSize=2000, downCacheSize=2000 > 14:55:35,924 INFO [ConnectionFactoryBindingService] Bound > ConnectionManager > 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name > 'java:JmsXA' > 14:55:35,936 INFO [TomcatDeployment] deploy, ctxPath=/, vfsUrl=ROOT.war > 14:55:35,962 INFO [EjbDeployer] installing bean: > ejb/#SequenceGenerator,uid24027989 > 14:55:35,962 INFO [EjbDeployer] with dependencies: > 14:55:35,962 INFO [EjbDeployer] and supplies: > 14:55:35,962 INFO [EjbDeployer] jndi:SequenceGenerator > 14:55:35,962 INFO [EjbDeployer] installing bean: ejb/#Sequence,uid5525932 > 14:55:35,962 INFO [EjbDeployer] with dependencies: > 14:55:35,962 INFO [EjbDeployer] and supplies: > 14:55:35,962 INFO [EjbDeployer] jndi:Sequence > 14:55:36,928 INFO [TomcatDeployment] deploy, ctxPath=/continuum, > vfsUrl=continuum.war > 14:55:38,000 ERROR [[/continuum]] Error configuring application listener > of class org.apache.continuum.web.startup.ContinuumStartup > java.lang.ExceptionInInitializerError > at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73) > at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:103) > at > org.apache.continuum.web.startup.ContinuumStartup.(ContinuumStartup.java:42) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown > Source) > at java.lang.reflect.Constructor.newInstance(Unknown Source) > at java.lang.Class.newInstance0(Unknown Source) > at java.lang.Class.newInstance(Unknown Source) > at > org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer.java:242) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3859) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4393) > at > org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:367) > at > org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:146) > at > org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:460) > at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) > at org.jboss.web.deployers.WebModule.start(WebModule.java:96) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at > org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) > at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) > at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) > at > org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) > at > org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) > at $Proxy36.start(Unknown Source) > at > org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) > at > org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) > at > org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) > at > org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) > at > org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) > at > org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) > at > org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) > at > org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) > at > org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) > at > org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) > at > org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) > at > org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) > at > org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) > at org.jboss.system.ServiceController.doChange(ServiceController.java:688) > at org.jboss.system.ServiceController.start(ServiceController.java:460) > at > org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146) > at > org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104) > at > org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45) > at > org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) > at > org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) > at > org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) > at > org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) > at > org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) > at > org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) > at > org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) > at > org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) > at > org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) > at > org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) > at > org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) > at > org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) > at > org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) > at > org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) > at > org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) > at > org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545) > at > org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304) > at > org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205) > at > org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405) > at org.jboss.Main.boot(Main.java:209) > at org.jboss.Main$1.run(Main.java:547) > at java.lang.Thread.run(Unknown Source) > Caused by: java.lang.ClassCastException: > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl cannot be cast to > javax.xml.parsers.DocumentBuilderFactory > at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source) > at > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:694) > at > org.apache.log4j.xml.DOMConfigurator.doConfigure(DOMConfigurator.java:618) > at > org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:468) > at org.apache.log4j.LogManager.(LogManager.java:122) > ... 68 more > > > > ------------------------------------------------------------------------ > > _______________________________________________ > jboss-user mailing list > jboss-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/jboss-user -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkrYz6IACgkQSphIUSiVzgZlBgCeNPNPInuBurMt74vrJv8Ao8Ri j40AnA1bDVvWCR53ltnwAZ7UVzxN+dSE =eKh4 -----END PGP SIGNATURE----- From do-not-reply at jboss.com Fri Oct 16 16:06:33 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Fri, 16 Oct 2009 16:06:33 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: JGroups timing call inomalities Message-ID: <2056459.1255723593442.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Something got messed up in your paste of cluster-service.xml. Also, I thought you'd said on IRC that you were using a TCP protocol stack? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260837#4260837 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260837 From do-not-reply at jboss.com Fri Oct 16 16:54:50 2009 From: do-not-reply at jboss.com (axelerator) Date: Fri, 16 Oct 2009 16:54:50 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: JGroups timing call inomalities Message-ID: <33194134.1255726490829.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hey, yeah, sorry for the mess-up. Attached is the correct version. You're right, in IRC I told you I have those issues with TCP. Though, on the environment where I copied the config from, UDP was set. after browsing the web for some itches, I found a text stating that in GBit environments, UDP doesn not scale that well, so I switched over to TCP as a first step. >From that on, I tuned the thread_pool settings but still got no major hint on that. | | | | ${jboss.partition.name:DefaultPartition} | ${jboss.bind.address} | False | 30000 | 300000 | | | | | | | | | | | | | | | | | | jboss:service=Naming | | | | jboss:service=Naming | jboss:service=${jboss.partition.name:DefaultPartition} | /HASessionState/Default | 0 | | | | jboss:service=${jboss.partition.name:DefaultPartition} | ${jboss.bind.address} | 1100 | 1101 | 50 | jboss.system:service=ThreadPool | | false | ${jboss.bind.address} | ${jboss.partition.udpGroup:230.0.0.4} | 1102 | 16 | org.jboss.ha.framework.interfaces.RoundRobin | | | | | jboss:service=TransactionManager | jboss.remoting:service=Connector,transport=socket | jboss:service=${jboss.partition.name:DefaultPartition} | | | | ${jboss.bind.address} | 4447 | jboss:service=Naming | | | | 1 | 300 | 300 | 60000 | ${jboss.bind.address} | 4448 | ${jboss.bind.address} | 0 | false | jboss:service=TransactionManager | jboss:service=Naming | | | | | jboss:service=${jboss.partition.name:DefaultPartition} | jboss.cache:service=InvalidationManager | jboss.cache:service=InvalidationManager | DefaultJGBridge | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260838#4260838 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260838 From do-not-reply at jboss.com Fri Oct 16 17:21:55 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Fri, 16 Oct 2009 17:21:55 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: JGroups timing call inomalities Message-ID: <31054974.1255728115999.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I don't recommend UDP.send_on_all_interfaces=true. UDP.receive_on_all_interfaces=true is a bit suspect too, although not as much as send_on_all_interfaces. It's much better IMO to pick a common network and bind all nodes to an interface on that network it using -b xxx or -Djgroups.bind_addr=xxx. Reserve receive/send_on_all_interfaces for situations where you really have no choice. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260842#4260842 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260842 From do-not-reply at jboss.com Fri Oct 16 18:27:01 2009 From: do-not-reply at jboss.com (pwnell) Date: Fri, 16 Oct 2009 18:27:01 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - XOM fails in production but works in dev Message-ID: <31000279.1255732021414.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I really need urgent help please. I have implemented a web service using XOM to transfer large files from the client to the web service. In dev this works fine, however in production I see no errors in the log file, yet the inputstream yields 0 bytes when reading the file. I am using jbossws-3.0.1-native-2.0.4.GA (build=200803312044) on JBoss 4.2.3 GA. Here are the log files: | 2009-10-17 00:12:44,525 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] doPost: /LicensingWSBeanService/WSServerLargeFileTransferBean | 2009-10-17 00:12:44,525 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] handleRequest: jboss.ws:context=LicensingWSBeanService,endpoint=WSServerLargeFileTransferBean | 2009-10-17 00:12:44,525 DEBUG [org.jboss.ws.core.soap.MessageContextAssociation] pushMessageContext: org.jboss.ws.core.jaxws.handler.SOAPMessageContextJAXWS at 4964f4eb (Thread http-0.0.0.0-8080-1) | 2009-10-17 00:12:44,525 DEBUG [org.jboss.wsf.stack.jbws.RequestHandlerImpl] BEGIN handleRequest: jboss.ws:context=LicensingWSBeanService,endpoint=WSServerLargeFileTransferBean | 2009-10-17 00:12:44,525 DEBUG [org.jboss.ws.core.soap.MessageFactoryImpl] createMessage: [contentType=multipart/related; type="application/xop+xml"; | boundary="uuid:604b4c1b-9578-4a57-897e-fa68d07da32e"; | start-info="text/xml"] | 2009-10-17 00:12:44,541 DEBUG [org.jboss.ws.core.soap.attachment.SwapableMemoryDataSource] Using memory buffer, size = 325 | 2009-10-17 00:12:44,556 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at 2f57d162, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 7b04eff0{ url=null ,addedOrder=0} | 2009-10-17 00:12:44,583 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS] callRequestHandlerChain: POST | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: PRE | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] addHandler: | HandlerMetaDataJAXWS: | type=PRE | name=Recording Handler | class=class org.jboss.wsf.framework.invocation.RecordingServerHandler | params=[] | protocols=##SOAP11_HTTP | services=null | ports=null | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: ENDPOINT | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] initHandlerChain: POST | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] getHandlerChain: [type=POST,info=[service={http://webservice.licensing.sarad.co.za/}WSServerLargeFileTransferBeanService,port={http://webservice.licensing.sarad.co.za/}WSServerLargeFileTransferBeanPort,binding=http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true]] | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: [] | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.soap.SOAPMessageDispatcher] getDispatchDestination: {http://webservice.licensing.sarad.co.za/}uploadApplicationUpdates | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS] unbindRequestMessage: {http://webservice.licensing.sarad.co.za/}uploadApplicationUpdates | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.EndpointInvocation] setRequestParamValue: [name={http://webservice.licensing.sarad.co.za/}uploadApplicationUpdates,value=org.jboss.ws.core.soap.SOAPBodyElementDoc] | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS] callRequestHandlerChain: ENDPOINT | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] getHandlerChain: [type=ENDPOINT,info=[service={http://webservice.licensing.sarad.co.za/}WSServerLargeFileTransferBeanService,port={http://webservice.licensing.sarad.co.za/}WSServerLargeFileTransferBeanPort,binding=http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true]] | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: [] | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS] callRequestHandlerChain: PRE | 2009-10-17 00:12:44,584 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerResolverImpl] getHandlerChain: [type=PRE,info=[service={http://webservice.licensing.sarad.co.za/}WSServerLargeFileTransferBeanService,port={http://webservice.licensing.sarad.co.za/}WSServerLargeFileTransferBeanPort,binding=http://schemas.xmlsoap.org/wsdl/soap/http?mtom=true]] | 2009-10-17 00:12:44,585 DEBUG [org.jboss.ws.core.jaxws.handler.HandlerChainExecutor] Create a handler executor: [] | 2009-10-17 00:12:44,585 DEBUG [org.jboss.ws.core.EndpointInvocation] getRequestPayload | 2009-10-17 00:12:44,585 DEBUG [org.jboss.ws.core.EndpointInvocation] getRequestParamValue: {http://webservice.licensing.sarad.co.za/}uploadApplicationUpdates | 2009-10-17 00:12:44,585 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] ----------------------------------- | 2009-10-17 00:12:44,585 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] Transitioning from XML_VALID to OBJECT_VALID | 2009-10-17 00:12:44,585 DEBUG [org.jboss.ws.core.soap.XMLContent] getObjectValue [xmlType={http://webservice.licensing.sarad.co.za/}uploadApplicationUpdates,javaType=class za.co.sarad.licensing.webservice.jaxws.UploadApplicationUpdates] | 2009-10-17 00:12:44,587 DEBUG [org.jboss.ws.core.jaxws.JAXBDeserializer] deserialize: [xmlName={http://webservice.licensing.sarad.co.za/}uploadApplicationUpdates,xmlType={http://webservice.licensing.sarad.co.za/}uploadApplicationUpdates] | 2009-10-17 00:12:44,588 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at 2f57d162, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 3b4768cc{ url=null ,addedOrder=0} | 2009-10-17 00:12:44,589 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at 2f57d162, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 4d31477b{ url=null ,addedOrder=0} | 2009-10-17 00:12:44,617 DEBUG [org.jboss.ws.core.jaxws.JAXBDeserializer] deserialized: za.co.sarad.licensing.webservice.jaxws.UploadApplicationUpdates | 2009-10-17 00:12:44,617 DEBUG [org.jboss.ws.core.soap.XMLContent] objectValue: za.co.sarad.licensing.webservice.jaxws.UploadApplicationUpdates | 2009-10-17 00:12:44,617 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] ----------------------------------- | 2009-10-17 00:12:44,617 DEBUG [org.jboss.ws.core.EndpointInvocation] transformPayloadValue: org.jboss.ws.core.soap.SOAPBodyElementDoc -> za.co.sarad.licensing.webservice.jaxws.UploadApplicationUpdates | 2009-10-17 00:12:44,619 DEBUG [org.jboss.ws.core.jaxrpc.ParameterWrapping] unwrapRequestParameters: za.co.sarad.licensing.webservice.jaxws.UploadApplicationUpdates | 2009-10-17 00:12:44,619 DEBUG [org.jboss.wsf.framework.DefaultSPIProvider] provide SPI 'class org.jboss.wsf.spi.invocation.WebServiceContextFactory' | 2009-10-17 00:12:44,620 DEBUG [org.jboss.wsf.framework.DefaultSPIProvider] class org.jboss.wsf.spi.invocation.WebServiceContextFactory Implementation: org.jboss.wsf.container.jboss42.WebServiceContextFactoryImpl at 315a5aff | 2009-10-17 00:12:44,624 INFO [STDOUT] ..........1 | 2009-10-17 00:12:44,624 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at 2f57d162, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 5c4e0c39{ url=null ,addedOrder=0} | 2009-10-17 00:12:44,625 INFO [STDOUT] ..........2 | 2009-10-17 00:12:44,625 INFO [STDOUT] .........3 | 2009-10-17 00:12:44,625 INFO [STDOUT] tmpfile = /tmp/ws_dump1540207851695323714dump | 2009-10-17 00:12:54,627 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, repository=org.jboss.mx.loading.HeirarchicalLoaderRepository3 at 2f57d162, cl=org.jboss.mx.loading.HeirarchicalLoaderRepository3$CacheClassLoader at 6808aa2d{ url=null ,addedOrder=0} | 2009-10-17 00:12:54,628 INFO [STDOUT] vInputStream.available() = >0< | | | Here is the WS code: | | | | @WebService | | @BindingType(value = SOAPBinding.SOAP11HTTP_MTOM_BINDING) | | @MTOM(enabled = true) | | @Stateless | | @WebContext(contextRoot = "/LicensingWSBeanService") | | public class WSServerLargeFileTransferBean { | | | | @WebMethod | | public boolean uploadApplicationUpdates(String pKey, int pClientBuildNumber, @XmlMimeType("application/octet-stream") DataHandler pDataHandler) { | | try { | | Security.validate(pKey); | | | | System.out.println("..........1"); | | | | Object vDataContent = pDataHandler.getContent(); | | if (!(vDataContent instanceof InputStream)) | | throw new RuntimeFailureException("DataHandler is not an InputStream!"); | | | | System.out.println("..........2"); | | | | InputStream vInputStream = (InputStream)vDataContent; | | BufferedInputStream vBIS = new BufferedInputStream(vInputStream); | | | | System.out.println(".........3"); | | | | File vTmpFile = File.createTempFile("ws_dump", "dump"); | | | | System.out.println("tmpfile = "+vTmpFile.getCanonicalPath()); | | try { | | byte[] vBuf = new byte[10240]; | | int vLen; | | FileOutputStream vFOS = new FileOutputStream(vTmpFile); | | | | try { | | System.out.println("vInputStream.available() = >" + vInputStream.available() + "<"); | | while ((vLen = vBIS.read(vBuf, 0, vBuf.length)) != -1) { | | System.out.println("vLen = >" + vLen + "<"); | | vFOS.write(vBuf, 0, vLen); | | } | | ... | | | | and the client code: | | | | boolean vRes = vWSServerLargeFileTransfer.uploadApplicationUpdates(Security.generateKey(), vClientBuildNumber, new DataHandler(vTestFile, "application/octet-stream")); | | | | Any ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260849#4260849 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260849 From do-not-reply at jboss.com Fri Oct 16 18:28:45 2009 From: do-not-reply at jboss.com (pwnell) Date: Fri, 16 Oct 2009 18:28:45 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: XOM fails in production but works in dev Message-ID: <16312715.1255732125595.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> PS: vTestFile in the client is a byte[] of the file content. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260850#4260850 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260850 From do-not-reply at jboss.com Fri Oct 16 18:35:29 2009 From: do-not-reply at jboss.com (pwnell) Date: Fri, 16 Oct 2009 18:35:29 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: XOM fails in production but works in dev Message-ID: <23007417.1255732529267.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry, that should read XOP/MTOM, not XOM. Typo. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260851#4260851 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260851 From do-not-reply at jboss.com Fri Oct 16 18:40:00 2009 From: do-not-reply at jboss.com (bwestrich) Date: Fri, 16 Oct 2009 18:40:00 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - jBPM 4: how to transition via Java handler/listener? Message-ID: <28848609.1255732800850.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In jBPM 3.2.3, in a Java action handler you can do a transition by calling executionContext.leaveNode(String signalName). How is this done in jBPM 4? I've tried doing this using a Java event listener, but the transition doesn't execute. Here's the details: I used the following model (capital names are the states, small case names in parentheses are the transition names): Start -> Initial --(manually)--> TransitionedToManually --(byListener)--> TransitionedToByListener -> End Then I created a process instance for the model, which was initially in the "Initial" state, e.g. ProcessInstance processInstanceInitial = executionService.startProcessInstanceByKey("SimpleModel"); | assertEquals("Initial", processInstanceInitial.findActiveActivityNames().iterator().next()); Then I manually signaled a transition: ProcessInstance processInstanceAtManualState = | executionService.signalExecutionById(processInstanceInitial.getId(), "manually"); After this signal, I wanted to transition to the TransitionedToManually state, and then (via Java code in a listener) transition to the 'TransitionedToByListener' state. So I wrote a Java event listener for the transitionedToManually state that looks like this: public class FirstEnterHandler implements EventListener { | public void notify(EventListenerExecution execution) throws Exception { | ExecutionService executionService = | new Configuration().buildProcessEngine().getExecutionService(); | ProcessInstance processInstance = | executionService.signalExecutionById(execution.getId(), "byListener"); | } | } ...and attached it to the state like so... | | | | | | But though the handler code executed, the second transition (byListener) did not happen (the execution ended in the state TransitionedToManually. One curious thing I noticed is that although the execution passed into the event listener's notice() method is in the state of TransitionedToManually, the process instance returned by signalExecutionById in that method is in the state Initial. I would have expected the process instance to be in the same state as the passed in execution. Any ideas on how to request a transition in jBPM 4 using Java? P.S. the full code of my example is shown below. First, the unit test that drives the rest of the code: package jbpm4.spike; | | import org.jbpm.api.ProcessInstance; | import org.jbpm.test.JbpmTestCase; | | public class SimpleModelTest extends JbpmTestCase { | | String deploymentId; | | protected void setUp() throws Exception { | super.setUp(); | | deploymentId = | repositoryService.createDeployment().addResourceFromClasspath("jbpm4/spike/process.jpdl.xml") | .deploy(); | } | | public void test() { | | ProcessInstance processInstanceInitial = executionService.startProcessInstanceByKey("SimpleModel"); | assertEquals("Initial", processInstanceInitial.findActiveActivityNames().iterator().next()); | | ProcessInstance processInstanceAtManualState = | executionService.signalExecutionById(processInstanceInitial.getId(), "manually"); | | ProcessInstance processInstanceAtListenerState; | if (!FirstEnterHandler.TRANSITION_USING_HANDLER) { | assertEquals("TransitionedToManually", processInstanceAtManualState.findActiveActivityNames() | .iterator().next()); | processInstanceAtListenerState = | executionService.signalExecutionById(processInstanceAtManualState.getId(), "byListener"); | } else { | processInstanceAtListenerState = | executionService.findProcessInstanceById(processInstanceAtManualState.getId()); | } | assertEquals("TransitionedToByListener", processInstanceAtListenerState.findActiveActivityNames() | .iterator().next()); | assertFalse(processInstanceAtListenerState.isEnded()); | ProcessInstance processInstanceAtEnd = | executionService.signalExecutionById(processInstanceAtListenerState.getId(), "end"); | assertTrue(processInstanceAtEnd.isEnded()); | } | } Next, the event listener: package jbpm4.spike; | | import org.jbpm.api.Configuration; | import org.jbpm.api.ExecutionService; | import org.jbpm.api.ProcessInstance; | import org.jbpm.api.listener.EventListener; | import org.jbpm.api.listener.EventListenerExecution; | import org.jbpm.api.model.OpenExecution; | | public class FirstEnterHandler implements EventListener { | | public static boolean TRANSITION_USING_HANDLER = true; | | public void notify(EventListenerExecution execution) throws Exception { | OpenExecution openExecution = execution; | if (TRANSITION_USING_HANDLER) { | ExecutionService executionService = | new Configuration().buildProcessEngine().getExecutionService(); | | ProcessInstance processInstance = | executionService.signalExecutionById(execution.getId(), "byListener"); | } | } | } Finally, the process definition file (process.jpdl.xml): | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks in advance for your help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260852#4260852 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260852 From do-not-reply at jboss.com Fri Oct 16 18:44:07 2009 From: do-not-reply at jboss.com (bwestrich) Date: Fri, 16 Oct 2009 18:44:07 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Catching invalid transition names in jBPM4 Message-ID: <10239805.1255733047114.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In jBPM4.x, is there a way to tell whether an invalid transition is passed to the executionService.signalExecutionById method? In 3.2.3, when an invalid transition was passed into ProcessInstance.signal, an exception was thrown. In the above mentioned 4.1 method, no exception is thrown and the state-transition does not occur. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260854#4260854 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260854 From do-not-reply at jboss.com Fri Oct 16 19:59:18 2009 From: do-not-reply at jboss.com (pwnell) Date: Fri, 16 Oct 2009 19:59:18 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: XOM fails in production but works in dev Message-ID: <17917081.1255737558806.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Additional info that might help - the SOAP message sent from the client to the server to upload the test file for the local dev scenario (working): | POST./LicensingWSBeanService/WSServerLargeFileTransferBean.HTTP/1.1 | Soapaction:."" | Accept:.text/xml,.multipart/related,.text/html,.image/gif,.image/jpeg,.*;.q=.2,.*/*;.q=.2 | Content-type:.multipart/related;start="";type="application/xop+xml";boundary="uuid:480a4f5f-b9ea-4c31-b857-3d36f5dca84e";start-info="text/xml" | User-Agent:.JAX-WS.RI.2.1.6.in.JDK.6 | Host:.DEV:8080 | Connection:.keep-alive | Content-Length:.955 | | --uuid:480a4f5f-b9ea-4c31-b857-3d36f5dca84e | Content-Id:. | Content-Type:.application/xop+xml;charset=utf-8;type="text/xml" | Content-Transfer-Encoding:.binary | | | | | | 70923672990106339906486742558683167563297568954954 | 2100 | | | | | | | --uuid:480a4f5f-b9ea-4c31-b857-3d36f5dca84e | Content-Id:. | Content-Type:.application/octet-stream | Content-Transfer-Encoding:.binary | | .......... | --uuid:480a4f5f-b9ea-4c31-b857-3d36f5dca84e-- | | | And for the production scenario (not working): | | | | POST./LicensingWSBeanService/WSServerLargeFileTransferBean.HTTP/1.1 | | SOAPAction:."" | | Accept:.text/xml,.multipart/related,.text/html,.image/gif,.image/jpeg,.*;.q=.2,.*/*;.q=.2 | | Content-Type:.multipart/related;type="application/xop+xml";boundary="uuid:78c1dc43-5c49-43c5-af8b-1f06fd985e58";start-info="text/xml" | | User-Agent:.Java/1.6.0_10 | | Host:.PROD:8080 | | Connection:.keep-alive | | Content-Length:.517 | | | | --uuid:78c1dc43-5c49-43c5-af8b-1f06fd985e58 | | Content-Type:.application/xop+xml;charset=utf-8;type="text/xml" | | Content-Transfer-Encoding:.binary | | | | | | | | | | | | 01475913245426691815944254703234806328018572161348 | | 2100 | | | | | | | | | | --uuid:78c1dc43-5c49-43c5-af8b-1f06fd985e58-- | | | | It is interesting to see the User-Agent differ even though both client machines run JDK6. Ignore the periods - most of them represent spaces. | | Ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260856#4260856 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260856 From do-not-reply at jboss.com Sat Oct 17 01:08:19 2009 From: do-not-reply at jboss.com (jaikiran) Date: Sat, 17 Oct 2009 01:08:19 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface Message-ID: <2111802.1255756099161.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Are those the exact configurations? If not, can you please post the exact ones? Also, please post the JNDIView output http://www.jboss.org/community/wiki/DisplayTheJDNITreeWithTheJMXConsole and the exact code which is doing the lookup. While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260864#4260864 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260864 From do-not-reply at jboss.com Sat Oct 17 05:44:00 2009 From: do-not-reply at jboss.com (a.couso) Date: Sat, 17 Oct 2009 05:44:00 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: java.lang.LinkageError: loader constraint violation:(In Message-ID: <30908956.1255772640376.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello everyone, I have know the same issue, but I cannot solve because the link wrote by GajananmM doesn't forward to any downloadable file.... I am using Jboss 5.0 AS and I have develop the client using wsconsume. Here we go... Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:498) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) causa ra??z javax.servlet.ServletException: java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.ws.Service.(Ljava/net/URL;Ljavax/xml/namespace/QName;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, endpointrecargaremota/RecargaRemotaWSService, and the class loader (instance of ) for resolved class, javax/xml/ws/Service, have different Class objects for the type javax/xml/namespace/QName used in the signature org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:852) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781) org.apache.jsp.newuser_jsp._jspService(newuser_jsp.java:151) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) causa ra??z java.lang.LinkageError: loader constraint violation: when resolving method "javax.xml.ws.Service.(Ljava/net/URL;Ljavax/xml/namespace/QName;)V" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of the current class, endpointrecargaremota/RecargaRemotaWSService, and the class loader (instance of ) for resolved class, javax/xml/ws/Service, have different Class objects for the type javax/xml/namespace/QName used in the signature endpointrecargaremota.RecargaRemotaWSService.(RecargaRemotaWSService.java:45) org.apache.jsp.newuser_jsp._jspService(newuser_jsp.java:91) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) javax.servlet.http.HttpServlet.service(HttpServlet.java:717) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96 Thank you in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260870#4260870 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260870 From do-not-reply at jboss.com Sat Oct 17 05:47:36 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Sat, 17 Oct 2009 05:47:36 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Catching invalid transition names in jBPM4 Message-ID: <5378774.1255772856499.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> As far as I know a signal name does not need to be a valid transition name. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260871#4260871 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260871 From do-not-reply at jboss.com Sat Oct 17 05:50:46 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Sat, 17 Oct 2009 05:50:46 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4] Multiple Assignment of a task in jBPM4 Message-ID: <9566555.1255773046081.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> As far as I know this not possible (yet). If I recall it correctly there is a feature suggestion in JIRA and/or there has been a similar question in the forum already. Please search the forum and JIRA. Ronald: I am starting to understand the strong connection between jBPM and a Dutch guy .. :P View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260872#4260872 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260872 From do-not-reply at jboss.com Sat Oct 17 07:08:05 2009 From: do-not-reply at jboss.com (piotr.sobczyk) Date: Sat, 17 Oct 2009 07:08:05 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Where is a "clear" button? Message-ID: <26187974.1255777685590.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Despite I have JBossTools installed I still use standard "Servers View" more often that "JBoss Server View". Why? Because it has very useful "clear" button that just removes the application from AS and deploys it again - something that programmer need more often that restarting AS. I know I can do it from "JBoss Server View" deleting application in "Explore" window and redeploying it by using Add/Remove option but it takes a lot more time and clicking! Why the heck was "Clear" button not derived from standard "Servers" view like other buttons? And what is "Publish" button for? It seems that most of time it does just nothing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260876#4260876 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260876 From do-not-reply at jboss.com Sat Oct 17 09:46:16 2009 From: do-not-reply at jboss.com (jaikiran) Date: Sat, 17 Oct 2009 09:46:16 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Migrate from Jboss 4.2.2GA to 5.1.0GA - HELP! Message-ID: <10093131.1255787176135.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> ** UNRESOLVED Demands 'persistence.unit:unitName=#company' ** Have you deployed the persistence unit? If yes, where is it (the persistence.xml) placed? Please post its contents View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260886#4260886 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260886 From do-not-reply at jboss.com Sat Oct 17 09:49:26 2009 From: do-not-reply at jboss.com (jaikiran) Date: Sat, 17 Oct 2009 09:49:26 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: domain specific config files Message-ID: <30237950.1255787366680.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> See if this helps http://www.jboss.org/index.html?module=bb&op=viewtopic&t=154431 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260887#4260887 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260887 From do-not-reply at jboss.com Sat Oct 17 09:57:18 2009 From: do-not-reply at jboss.com (jaikiran) Date: Sat, 17 Oct 2009 09:57:18 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Can't undeploy without restarting jboss. Message-ID: <4234831.1255787838755.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "ironosity" wrote : Unless there's a way around this stupid file locking problem in windows...I suppose there's always linux. :^) I can't find the JIRA which addressed this issue in the upcoming AS 5.2 Beta1. But since you mentioned that upgrading is not an option for you, i think *nix is your only option to get over this issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260889#4260889 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260889 From do-not-reply at jboss.com Sat Oct 17 10:06:29 2009 From: do-not-reply at jboss.com (jaikiran) Date: Sat, 17 Oct 2009 10:06:29 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 5.1.0/railo 3.1.1 context problem? Message-ID: <17112361.1255788389758.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Rename the deploy/railo folder to deploy/railo.war View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260891#4260891 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260891 From do-not-reply at jboss.com Sat Oct 17 10:31:34 2009 From: do-not-reply at jboss.com (Kuba P.) Date: Sat, 17 Oct 2009 10:31:34 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Post subject: POJO generator from SQL query Message-ID: <30074408.1255789894039.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Is this possible to generate in JBoss Tools (or using Eclipse any plugin) POJO class from SQL query e.g. SELECT e.first_name, | e.last_name, | e.salary, | d.department | FROM emp e, | dept d | WHERE e.deptno = d.deptno I need paste this query into any tool and generate POJO class like this: public class Employee{ | | public Employee(){} | | private String firstName; | private String lastName; | private Number salary | private String department; | | /* getters and setters here*/ | } Kuba View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260894#4260894 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260894 From do-not-reply at jboss.com Sat Oct 17 13:16:59 2009 From: do-not-reply at jboss.com (aapthorp) Date: Sat, 17 Oct 2009 13:16:59 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: superstate timer error Message-ID: <23319871.1255799819696.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Testing now on 3.2.6.SP1 A bit more digging and I think I'm closer to the problem. It seems the problem is to do with setting a timer on a superstate. I reduced my superstate definition down to one state within the superstate and still the problem occurs. When I replace the superstate with just a normal state then no problem. This seems similar to https://jira.jboss.org/jira/browse/JBPM-2036. Will make a comment there but think this is a separate issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260900#4260900 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260900 From do-not-reply at jboss.com Sat Oct 17 16:16:45 2009 From: do-not-reply at jboss.com (richard.opalka@jboss.com) Date: Sat, 17 Oct 2009 16:16:45 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: jbossws - DOM vs SAX Message-ID: <32687897.1255810605115.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "urandom" wrote : Can I configure jboss-ws to using sax parser? No "urandom" wrote : If not why dom was chosen. There are many reasons: * we're leveraging Sun tools which are using DOM * SAX parser have schema validation limitations/issues * architecture decision (either DOM or SAX, but not both) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260907#4260907 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260907 From do-not-reply at jboss.com Sat Oct 17 16:33:54 2009 From: do-not-reply at jboss.com (richard.opalka@jboss.com) Date: Sat, 17 Oct 2009 16:33:54 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: XOM fails in production but works in dev Message-ID: <2091128.1255811634700.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry we don't support AS 4.2.x series on user forum any more. If your company can't switch to JBossAS 5.x series then consider our EAP subscriptions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260908#4260908 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260908 From do-not-reply at jboss.com Sat Oct 17 19:22:30 2009 From: do-not-reply at jboss.com (ron.sigal@jboss.com) Date: Sat, 17 Oct 2009 19:22:30 -0400 (EDT) Subject: [jboss-user] [JBoss Remoting Users] - JBoss RMI + Serialization performance issue Message-ID: <14780944.1255821750476.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "ravi_eze" wrote : | hi, | | This is w.r.t. http://labs.jboss.com/jbossremoting/docs/benchmark/performance_benchmark.html where comparision between diffarent protocols is done. The page also gives the JUnit code that generated the graphs. we are trying out with 2.5.2. version. | | We are evaluating Java RMI and JBoss RMI over socket + Jboss serialization. We see that Java RMI with Java serialization is always atleast 20% faster than Jboss RMI + socket + Jboss serialization. | | i am unable to understand the below from the test cases. | | 1. The payload uses byte[1024] empty array always. and the object is never serialized. | 2. why byte[] as theres not thing there to serialize in it | 3. Even on using byte[1024] to be sent across using jboss and java rmi we see java rmi is superior on our machines. | | If this is the case then how ar the graphs generated? Or am i missing something very important. Please help. | | -- | ravi | Actually, the byte array gets wrapped in some Remoting objects, which do indeed get serialized. By "Java RMI with Java serialization" I assume you mean the "raw_socket" results, or maybe the "raw_rmi" results, and by "Jboss RMI + socket + Jboss serialization" I assume you mean "socket transport with jboss serialization". Is that right? If so, then I can't explain why you're seeing results different than ours. Who knows? Different machines, different jdk's, etc. By the way, before I released version 2.4.0.GA, I did a lot of testing and tuning, and, in the end, the performance of 2.4.0.GA and whatever the latest 2.2.x release was at the time were very close, within a few percentage points. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260914#4260914 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260914 From antonio.mailing at gmail.com Sun Oct 18 05:56:13 2009 From: antonio.mailing at gmail.com (Antonio Goncalves) Date: Sun, 18 Oct 2009 11:56:13 +0200 Subject: [jboss-user] [Installation, Configuration & Deployment] Can't find jbossweb-service in the Maven repository Message-ID: Hi all, I'm working on a project that wasn't build with Maven, and now we are migrating it to Maven. We need some classes that are located in the org.jboss.web.tomcat.security package. There are in the jbossweb-service.jar file. But we can't find this artifact in the Maven repository. The only way we managed to make it work is by : jboss jbossweb-service ${jboss.version} system ${basedir}/lib/jbossweb-service.jar But we can't find it in the JBoss Maven repository (we've found an entry in MvnBrowser web site but http://www.mvnbrowser.com/artifact-details.html?groupId=jboss&artifactId=jbossweb-service) Any idea ? Thanks, Antonio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20091018/6afc5cfa/attachment.html From do-not-reply at jboss.com Sun Oct 18 06:04:19 2009 From: do-not-reply at jboss.com (bela@jboss.com) Date: Sun, 18 Oct 2009 06:04:19 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: JGroups timing call inomalities Message-ID: <25403067.1255860259090.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> And note that 2.6.10.merge is experimental and unsupported ! I recommend 2.6.13.GA instead which has been heavily tested. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260925#4260925 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260925 From do-not-reply at jboss.com Sun Oct 18 06:33:48 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Sun, 18 Oct 2009 06:33:48 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jBPM 4: how to transition via Java handler/listener? Message-ID: <29236988.1255862028436.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Since I haven't been working with jbpm 3.x it's hard for me to get what exactly you are trying to achieve. I tried your unit test and I got the message that the execution was not found. I can be wrong but doesn't this create a new process engine? | ExecutionService executionService = | new Configuration().buildProcessEngine().getExecutionService(); | I am really not sure how to retrieve a reference on the process eninge already created in the context of an EventListener but I tried using the following: | ExecutionService executionService = | Configuration.getProcessEngine().getExecutionService(); | The error that the execution was not found did not occur anymore but there was an assertion failure: | 12:24:14,734 SEV | [BaseJbpmTestCase] ASSERTION FAILURE: expected: but was: | junit.framework.ComparisonFailure: expected: but was: | Hope this helps at least bit. If this does not I'd be eager to know if it's possible and how. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260928#4260928 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260928 From do-not-reply at jboss.com Sun Oct 18 06:57:20 2009 From: do-not-reply at jboss.com (axelerator) Date: Sun, 18 Oct 2009 06:57:20 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: JGroups timing call inomalities Message-ID: <2946963.1255863440822.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hey guys, thanks for pointing this out. We enabled send_on_all_interfaces since we're running in a Solaris Container and weren't sure, which interfaec ultimately would be used for sending/receiving data. Also, thanks for pointing out about the 2.6.10.merge release. is 2.6.13.GA compatible with 4.2.3.GA of the AS? Best regards, Axelerator View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260929#4260929 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260929 From do-not-reply at jboss.com Sun Oct 18 09:49:05 2009 From: do-not-reply at jboss.com (aapthorp) Date: Sun, 18 Oct 2009 09:49:05 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: sub process event propagation Message-ID: <22395396.1255873745453.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> So my final (JBPM 3) solution for this requirement is as follows. An actionhandler in the subprocess which propagates the event to the superprocess. public void execute(ExecutionContext executionContext) throws Exception { | | if (eventType == null) { | eventType = executionContext.getEvent().getEventType(); | } | Token superToken = executionContext.getProcessInstance() | .getSuperProcessToken(); | ExecutionContext superContext = new ExecutionContext(superToken); | superToken.getProcessInstance().getProcessDefinition().fireEvent(eventType, superContext); | } and another action handler to handle the propogated event in the superprocess: | | String nodeName=null; | String transitionName=null; | | public void execute(ExecutionContext executionContext) throws Exception { | | List tokenList = executionContext.getProcessInstance().findAllTokens(); | for (Iterator it = tokenList.iterator(); it.hasNext();) { | Token token = (Token) it.next(); | if (token.getNode().getName().equals(nodeName)) { | token.signal(transitionName); | } | } | } The propagated event can then be sent to a state that transitions to a join to control the main flow of the superprocess. I'm sure there are some other ways of getting the same effect but this seems to work quite well. I have also refined it further to consolidate events of the same type from multiple instances of the same subprocess. Now need to see how this is achieved in JBPM4. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260947#4260947 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260947 From do-not-reply at jboss.com Sun Oct 18 12:42:25 2009 From: do-not-reply at jboss.com (OhadR) Date: Sun, 18 Oct 2009 12:42:25 -0400 (EDT) Subject: [jboss-user] [JMX] - Re: Non-proprietary connection to JBoss JMX MBeanServer Message-ID: <30966946.1255884145689.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi did u get the code? i am interested as well... im trying to do the same... btw - onchalant - how did u handle WebSphere? thanks ohad View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260954#4260954 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260954 From do-not-reply at jboss.com Sun Oct 18 14:51:02 2009 From: do-not-reply at jboss.com (cye_09) Date: Sun, 18 Oct 2009 14:51:02 -0400 (EDT) Subject: [jboss-user] [Getting Started Documentation] - Login exception with app-client in Duke's Bank Message-ID: <8696826.1255891862015.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, The web client works fine, and the app-client launches properly. But if I try to use any button (view customer information, for example)- I get the following error: | 13:36:03,636 ERROR [SecurityInterceptor] Error in Security Interceptor | java.lang.SecurityException: Authentication exception, principal=null | at org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityContext(SecurityInterceptor.java:321) | at org.jboss.ejb.plugins.SecurityInterceptor.process(SecurityInterceptor.java:243) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:211) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterc | eptor.java:156) | at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterce | ptor.java:348) | at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) | at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) | at org.jboss.ejb.plugins.security.PreSecurityInterceptor.process(PreSecurityInterceptor.java:134) | | at org.jboss.ejb.plugins.security.PreSecurityInterceptor.invoke(PreSecurityInterceptor.java:81) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java: | 138) | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:650) | at org.jboss.ejb.Container.invoke(Container.java:1029) | 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:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:232) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891) | at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:744) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:697) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:551) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:232) | | I am guessing it's silent login failure during launch and only manifests itself when I try to use it. I am using Jboss 5.1 in windows vista. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260956#4260956 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260956 From do-not-reply at jboss.com Sun Oct 18 16:33:29 2009 From: do-not-reply at jboss.com (camunda) Date: Sun, 18 Oct 2009 16:33:29 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jBPM 4: how to transition via Java handler/listener? Message-ID: <15117460.1255898009861.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Influencing sequence flow in an eventHandler isn't the right approach. If yiu need own control flow logic, implement your custom activity. In jBPM 3 this was possible, but basically more because of a design flaw. This is why it was changed in jbpm 4. Cheers Bernd View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260961#4260961 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260961 From gorky at freenet.carleton.ca Sun Oct 18 18:23:07 2009 From: gorky at freenet.carleton.ca (Stephen Davidson) Date: Sun, 18 Oct 2009 17:23:07 -0500 Subject: [jboss-user] [Installation, Configuration & Deployment] Can't find jbossweb-service in the Maven repository In-Reply-To: References: Message-ID: <4ADB954B.9040609@freenet.carleton.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Antonio. It looks like you sent this to the JBoss User Mailing list, rather than the Forums. Is this correct? If so, you might want to try the Forums, as the mailing list does not seem to be monitored anymore by anyone from the JBoss Group (or the users in general). Regards, Steve Antonio Goncalves wrote: > Hi all, > > I'm working on a project that wasn't build with Maven, and now we are > migrating it to Maven. We need some classes that are located in > the org.jboss.web.tomcat.security package. There are in the > jbossweb-service.jar file. But we can't find this artifact in the Maven > repository. The only way we managed to make it work is by : > > > jboss > jbossweb-service > ${jboss.version} > system > ${basedir}/lib/jbossweb-service.jar > > > But we can't find it in the JBoss Maven repository (we've found an entry > in MvnBrowser web site but > http://www.mvnbrowser.com/artifact-details.html?groupId=jboss&artifactId=jbossweb-service > ) > > > Any idea ? > Thanks, > Antonio > > > ------------------------------------------------------------------------ > > _______________________________________________ > jboss-user mailing list > jboss-user at lists.jboss.org > https://lists.jboss.org/mailman/listinfo/jboss-user -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkrblUsACgkQSphIUSiVzgbZDQCgtUwE+a83T3tF5xV0y2BLiyZC +3MAnjLuaTWfhJ4q1zNq1HF1A8FAxqKn =MWK/ -----END PGP SIGNATURE----- From do-not-reply at jboss.com Sun Oct 18 19:34:19 2009 From: do-not-reply at jboss.com (smith.gerry@gmail.com) Date: Sun, 18 Oct 2009 19:34:19 -0400 (EDT) Subject: [jboss-user] [EJB] - Re: CMR Collections and transaction demarcation Message-ID: <23121395.1255908859216.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Solved the root cause of the problem by using read-only for get* and commit option A. Gerry View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260969#4260969 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260969 From do-not-reply at jboss.com Sun Oct 18 20:10:01 2009 From: do-not-reply at jboss.com (pwnell) Date: Sun, 18 Oct 2009 20:10:01 -0400 (EDT) Subject: [jboss-user] [JCA] - ClassNotFoundException when moving JCA adaptor from 4.2.3 -> Message-ID: <4486767.1255911001005.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have written a JCA adaptor some years ago on JCA 1.5, for JBoss 3.x. I later moved it to JBoss 4.x without problems. However when I tried to deploy it under JBoss 5.1.0 GA it fails. I managed to fix most of the issues but I cannot seem to get around this one: | 17:06:26,781 ERROR [[/LogMon]] StandardWrapper.Throwable | java.lang.NoClassDefFoundError: net/za/pwnconsulting/logmon/rar/cci/data/client/LogMessage | at net.za.pwnconsulting.logmon.clientapi.LogMonClientAPIFactory.getCCILogMonAPI(LogMonClientAPIFactory.java:30) | at net.za.pwnconsulting.javaconfig.core.LMS.(LMS.java:28) | at net.za.pwnconsulting.javaconfig.core.BasicConfiguration.initConfig(BasicConfiguration.java:144) | at net.za.pwnconsulting.javaconfig.core.AbstractConfiguration.init(AbstractConfiguration.java:189) | at net.za.pwnconsulting.webmvc.config.WebConfiguration.(WebConfiguration.java:85) | at net.za.pwnconsulting.webmvc.servlet.BootstrapServlet.initServlet(BootstrapServlet.java:75) | at net.za.pwnconsulting.webmvc.servlet.AbstractBootstrapServlet.init(AbstractBootstrapServlet.java:105) | at javax.servlet.GenericServlet.init(GenericServlet.java:212) | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1048) | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950) | at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4122) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4421) | | | Now the class in question (net/za/pwnconsulting/logmon/rar/cci/data/client/LogMessage) is deployed inside the LogMonJCA.rar file in the deploy directory. The code trying to access it resides in a LogMonConsole.ear package also in the deploy directory. | | Why would this work previously on JBoss 4.x and 3.x, but not in JBoss 5.x? Somewhere the classloader behaviour changed and is not loading classes from the RAR file. | | So either my deployment is incorrect, or I need to change the classloader behaviour in JBoss. When I bundled this class with the .ear file, I got another error where the InteractionSpec the client code sent via .execute() is not compatible with the InteractionSpec used in the RAR file. This makes sense as they are loaded by two different class loaders - hence even though they are binary compatible they are still distinct classes. | | Any help would be much appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260970#4260970 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260970 From do-not-reply at jboss.com Sun Oct 18 23:00:12 2009 From: do-not-reply at jboss.com (remiel512) Date: Sun, 18 Oct 2009 23:00:12 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Hibernate LazyInitializationException Message-ID: <24624205.1255921212640.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello all, I have a question in setting Hibernate/jBPM. When I use the api [HistoryTaskInstanceImpl.getHistoryTask], it throws an exception [LazyInitializationException] and shows [could not initialize proxy - no Session]. Anyone knows how to fix it? Really thanks a lot! === Environment ============================== - jBPM Version : 4.1 - Database : oracle - JDK : 1.6 - Container : which Java version are you using? use 'java -version' to find out - Configuration : using jbpm.cfg.xml only importing files from the jbpm.jar lib itself. - Libraries : no === Process ================================== === API =================================== past the relevant code snippet that you use to invoke jBPM === Stacktrace ============================== Stacktrace: org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:498) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:411) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) com.gaia.jbpm.action.GetActiveNodeInfo.execute(GetActiveNodeInfo.java:56) com.gaia.jbpm.action.GetActiveNodeInfo.doGet(GetActiveNodeInfo.java:33) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause org.hibernate.LazyInitializationException: could not initialize proxy - no Session org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:86) org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140) org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190) org.jbpm.pvm.internal.history.model.HistoryTaskImpl_$$_javassist_18.getId(HistoryTaskImpl_$$_javassist_18.java) org.apache.jsp.st_005fview_jsp._jspService(st_005fview_jsp.java:162) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) com.gaia.jbpm.action.GetActiveNodeInfo.execute(GetActiveNodeInfo.java:56) com.gaia.jbpm.action.GetActiveNodeInfo.doGet(GetActiveNodeInfo.java:33) javax.servlet.http.HttpServlet.service(HttpServlet.java:690) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260972#4260972 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260972 From do-not-reply at jboss.com Mon Oct 19 00:57:48 2009 From: do-not-reply at jboss.com (radimchatkalahari) Date: Mon, 19 Oct 2009 00:57:48 -0400 (EDT) Subject: [jboss-user] [JBoss Remoting Users] - Re: Messaging blocked by long time-out Message-ID: <2156392.1255928268326.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I was facing the same problem for a long time using jboss-messaging 1.4.2GA-SP1 & jboss-remoting 2.2.2SP11 Yesterday I tried jboss-messaging 1.4.5GA together with jboss-remoting 2.2.3SP1 but behavior was the same: | 2009-10-19 03:27:53,687 ERROR [org.jboss.remoting.transport.socket.SocketClientInvoker] Got marshalling exception, exiting | java.io.IOException: Connection reset by peer: socket write error | ...and after 2 seconds | 2009-10-19 03:27:55,687 WARN [org.jboss.messaging.core.impl.ChannelSupport] Queue[8724664/231/188656-y68h-xkppjy0g-1-655exx0g-xocyvy-2c3gs4] has reached maximum size, Reference[4166470286297938638]:NON-RELIABLE will be dropped | | and after that communication works for a couple of seconds and then ALL communication with ALL clients to/from jboss STOPPED jboss log (with debug level) is after that time empty. and thing gone even worst, because, when this occurred @ jbrem 2.2.2SP11 I just restarted jboss and all the clients reconnects correctly. Using 2.2.3SP1 I had to restart ALL clients together with Jboss (I tried left 2 clients with jbrem2.2.2SP11 and those ones reconnected automatically!) my remoting-bisocket-service.xml @ jboss side looks like this | ... | | true | 10000 | 10000 | 5000 | false | 0 | 10 | 200 | 10000 | | ... | do you have any suggestions how to solve this problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260975#4260975 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260975 From do-not-reply at jboss.com Mon Oct 19 02:02:45 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Mon, 19 Oct 2009 02:02:45 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jBPM 4: how to transition via Java handler/listener? Message-ID: <11593615.1255932165169.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks Bernd for clarifying this. So here's your point to start, bwestrich. :) http://docs.jboss.com/jbpm/v4/userguide/html_single/#custom View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260978#4260978 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260978 From do-not-reply at jboss.com Mon Oct 19 02:08:21 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Mon, 19 Oct 2009 02:08:21 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Hibernate LazyInitializationException Message-ID: <17803970.1255932501568.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Your process definition got lost. Can you repost it using the code-tags? Also please provide a unit test to show how you invoke the API. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260979#4260979 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260979 From do-not-reply at jboss.com Mon Oct 19 02:53:16 2009 From: do-not-reply at jboss.com (joseph.miller) Date: Mon, 19 Oct 2009 02:53:16 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - JAXB custom type mapping in JBossWS client not working quest Message-ID: <8626365.1255935196892.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I hope someone on here can help with this one. I'm trying to use JAXB to map xsd:date and xsd:time types in a WSDL I've been provided with, to a type more sensible than XMLGregorianCalendar, in my case Joda LocalTime and LocalDate types. I have a binding xml file that looks like: | | | | | | | | | With my own parse/print static methods defined on my DateTimeUtil class. I can successfully run the WSDL through wsimport, and this seems to generate the service interface with methods that look like: @WebService(name = "AppointmentService", targetNamespace = "urn:DefaultNamespace") | @SOAPBinding(style = SOAPBinding.Style.RPC) | @XmlSeeAlso({ | ObjectFactory.class | }) | public interface AppointmentService { | ... | @WebMethod(operationName = "GETAPPOINTMENTS") | @WebResult(name = "GETAPPOINTMENTSReturn", partName = "GETAPPOINTMENTSReturn") | public XsdAnyTypeArray getappointments( | @WebParam(name = "ADVISER", partName = "ADVISER") | String adviser, | @XmlJavaTypeAdapter(Adapter1 .class) | @WebParam(name = "STARTDATE", partName = "STARTDATE") | LocalDate startdate, | @XmlJavaTypeAdapter(Adapter1 .class) | @WebParam(name = "ENDDATE", partName = "ENDDATE") | LocalDate enddate); | ... | } and the generated Adapter classes use my parse/print methods. However, when I use this as a client, the adapters don't seem to be used, i.e. the SOAP request comes out looking like: | | | | myuser | | | | | Is there something else I need to be doing to make this work? I'm currently using JDK6, Seam 2.1.2, and JBoss 4.2.2 (with the jboss-jaxws.jar etc in endorsed). I've also tried this on JBoss 5.0, but with the same result. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260980#4260980 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260980 From do-not-reply at jboss.com Mon Oct 19 03:02:34 2009 From: do-not-reply at jboss.com (RaghavPrabhu) Date: Mon, 19 Oct 2009 03:02:34 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - Re: Unhandled Exception on Jboss AOP Message-ID: <1711853.1255935754367.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is it unresolvable error? I am expecting some response from you guys Thanks & Regards Prabhu View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260982#4260982 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260982 From do-not-reply at jboss.com Mon Oct 19 04:07:18 2009 From: do-not-reply at jboss.com (vickyk) Date: Mon, 19 Oct 2009 04:07:18 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: ClassNotFoundException when moving JCA adaptor from 4.2. Message-ID: <743725.1255939638473.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The ear should have been able to access the classes present in the RAR since the CL's associated with RAR/EAR deployment should look at the common ParentDomain( which is basically the new name for UnifiedLoaderReposity in JBoss5) that holds the class cache of all the classes present in non-scoped deployments. Check the following MBean's displayClassInfo() operationand paste it here JMImplementaiton:name=Default,service=LoaderRepository You should enter the classname as net.za.pwnconsulting.logmon.rar.cci.data.client.LogMessage in displayClassInfo(). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260990#4260990 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260990 From do-not-reply at jboss.com Mon Oct 19 04:09:37 2009 From: do-not-reply at jboss.com (magicroomy) Date: Mon, 19 Oct 2009 04:09:37 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface Message-ID: <4437124.1255939777502.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, yes i think the data i posted is correct. The JNDI Tree for the EJB2 accessing the EJB3 looks as follows: java:comp namespace of the EJB2 bean: +- TransactionSynchronizationRegistry[link -> java:TransactionSynchronizationRegistry] (class: javax.naming.LinkRef) +- env (class: org.jnp.interfaces.NamingContext) | +- EJB3Remote[link -> EJB3] (class: javax.naming.LinkRef) Greetings, Volker View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260991#4260991 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260991 From do-not-reply at jboss.com Mon Oct 19 04:12:17 2009 From: do-not-reply at jboss.com (magicroomy) Date: Mon, 19 Oct 2009 04:12:17 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface Message-ID: <16358225.1255939937830.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Damn... checked again and i posted the wrong Lookup. It must be lookup("EJB3Remote") instead of EJB2Remote. My code is like that but it does not work that way. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260994#4260994 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260994 From do-not-reply at jboss.com Mon Oct 19 04:20:50 2009 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Mon, 19 Oct 2009 04:20:50 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - Re: Unhandled Exception on Jboss AOP Message-ID: <18031892.1255940450607.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It looks like there is a problem in CFlow.loadClass() trying to load internal sun.* classes if they are on the stack trace. I don't have time to fix this now, but if you want you could patch this yourself and attach a patch along with a test to a JIRA issue? Basically, in matchesClass(), if the stack trace element class name starts with "sun." don't attempt to load the class and return false. http://anonsvn.jboss.org/repos/jbossas/branches/Branch_AOP_1_5/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260997#4260997 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260997 From do-not-reply at jboss.com Mon Oct 19 04:21:34 2009 From: do-not-reply at jboss.com (kabir.khan@jboss.com) Date: Mon, 19 Oct 2009 04:21:34 -0400 (EDT) Subject: [jboss-user] [JBoss AOP Users] - Re: Unhandled Exception on Jboss AOP Message-ID: <18388805.1255940494668.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "kabir.khan at jboss.com" wrote : | http://anonsvn.jboss.org/repos/jbossas/branches/Branch_AOP_1_5/ | This is the location in subversion of the 1.5.x source code View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260998#4260998 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4260998 From do-not-reply at jboss.com Mon Oct 19 04:53:40 2009 From: do-not-reply at jboss.com (remiel512) Date: Mon, 19 Oct 2009 04:53:40 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Hibernate LazyInitializationException Message-ID: <32935345.1255942420780.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "sebastian.s" wrote : Your process definition got lost. Can you repost it using the code-tags? Also please provide a unit test to show how you invoke the API. Thanks Sebastian. Infos below: process definition : (Same as examples/taskform) | | | | | | | | | | | | | | I am trying to get all history information of an process instance using Servlet and JSP. Codes below : ProcessManager: | public ProcessInstaticeActivityInfo getActivityCoordinatesInfo(String processInstanceId) { | ProcessDefinitionImpl processDefinition = (ProcessDefinitionImpl) this | .getProcessDefinitionByProcessInstanceId(processInstanceId); | String pdId = processDefinition.getId(); | List activeCoordinates = new ArrayList(); | | List coordinateList = new ArrayList(); | { | ActivityInfo activityInfo = new ActivityInfo(processDefinition.getInitial().getCoordinates()); | coordinateList.add(activityInfo); | List activities = historyService.createHistoryActivityInstanceQuery() | .executionId(processInstanceId).list(); | for (HistoryActivityInstance activity : activities) { | String activityName = activity.getActivityName(); | activityInfo = new ActivityInfo(repositoryService.getActivityCoordinates(pdId, activityName)); | activityInfo.setActivityInstance(activity); | coordinateList.add(activityInfo); | } | } | | HistoryProcessInstance hpi = getHistoryProcessInstancByProcessInstanceId(processInstanceId); | String endActivityName = ((HistoryProcessInstanceImpl) hpi).getEndActivityName(); | | if (endActivityName != null) { | ActivityCoordinates coordinates = repositoryService.getActivityCoordinates(pdId, endActivityName); | activeCoordinates.add(new ActivityInfo(coordinates)); | } else { | Set activityNames = executionService.findExecutionById(processInstanceId) | .findActiveActivityNames(); | for (String activityName : activityNames) { | ActivityCoordinates coordinates = repositoryService.getActivityCoordinates(pdId, activityName); | activeCoordinates.add(new ActivityInfo(coordinates)); | } | } | return new ProcessInstaticeActivityInfo(activeCoordinates, coordinateList); | } | Servlet: | public void execute(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException | { | ProcessManager pm = new ProcessManager(); | String taskId = | request.getParameter("taskid"); | String piId = request.getParameter("pid"); | ProcessInstaticeActivityInfo processInstaticeActivityInfo = pm.getActivityCoordinatesInfo(piId); | request.setAttribute("activeActivityInfos", processInstaticeActivityInfo.getActiveActivityInfos()); | request.setAttribute("processedActivityInfos", processInstaticeActivityInfo.getProcessedActivityInfos()); | request.setAttribute("pm",pm); | response.setContentType("text/html;charset=UTF-8"); | RequestDispatcher dispatcher = request.getRequestDispatcher("st_view.jsp"); | dispatcher.forward(request, response); | } | jsp: | ProcessManager pm = (ProcessManager)request.getAttribute("pm"); | int id = 0; | List processedActivityInfos = (List)request.getAttribute("processedActivityInfos"); ; | List activeActivityInfos = (List)request.getAttribute("activeActivityInfos"); | ActivityCoordinates coordinates; | HistoryActivityInstance activityInstance; | for(ActivityInfo info : processedActivityInfos){ | coordinates = info.getCoordinates(); | activityInstance = info.getActivityInstance(); | String elId = "_pai_" + (++id); | String title = activityInstance==null?"":activityInstance.getActivityName(); | StringBuffer position = new StringBuffer(); | position.append("left:").append(coordinates.getX()+2).append("px;"); | position.append("top:").append(coordinates.getY()+2).append("px;"); | position.append("height:").append(coordinates.getHeight()-10).append("px;"); | position.append("width:").append(coordinates.getWidth()-10).append("px;"); | StringBuffer text = new StringBuffer(); | | if (activityInstance instanceof HistoryDecisionInstanceImpl) { | text.append("CompleteTime: ").append(activityInstance.getEndTime()); | String transitionName = ((HistoryActivityInstanceImpl) activityInstance).getTransitionName(); | if("completed".equals(transitionName)){ | ProcessDefinition pd = pm.getProcessDefinitionByProcessInstanceId(request.getParameter("piId")); | if(pd!=null){ | Activity activity = ((ProcessDefinitionImpl)pd).getActivitiesMap().get(activityInstance.getActivityName()); | if(activity!=null){ | text.append("
Transaction: ").append(activity.getDefaultOutgoingTransition().getName()); | } | } | } else { | text.append("
Transaction: ").append(transitionName); | } | } else if (activityInstance instanceof HistoryTaskInstanceImpl) { | HistoryTaskInstanceImpl taskInstanceImpl = (HistoryTaskInstanceImpl) activityInstance; | | | text.append("Assignee: ").append(taskInstanceImpl.getHistoryTask().getAssignee()); | text.append("
Complete Time: ").append(activityInstance.getEndTime()); | String transitionName = ((HistoryActivityInstanceImpl) activityInstance).getTransitionName(); | if("completed".equals(transitionName)){ | ProcessDefinition pd = pm.getProcessDefinitionByProcessInstanceId(request.getParameter("piId")); | if(pd!=null){ | Activity activity = ((ProcessDefinitionImpl)pd).getActivitiesMap().get(activityInstance.getActivityName()); | if(activity!=null){ | text.append("
Transaction: ").append(activity.getDefaultOutgoingTransition().getName()); | } | } | } else { | text.append("
Transaction: ").append(transitionName); | } | | List comments = pm.getTaskComments(taskInstanceImpl.getHistoryTask().getId()); | if(comments.size()>0){ // ???????????????comment | text.append("

Comments: ").append(comments.get(comments.size()-1).getMessage()); | } | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261004#4261004 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261004 From do-not-reply at jboss.com Mon Oct 19 04:56:37 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 19 Oct 2009 04:56:37 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface Message-ID: <13419440.1255942597057.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> | EJB2Remote | Session | EJB3Home | EJB3Remote | EJB3 | Try removing the ejb-link from that configuration. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261005#4261005 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261005 From do-not-reply at jboss.com Mon Oct 19 06:24:35 2009 From: do-not-reply at jboss.com (freiburger) Date: Mon, 19 Oct 2009 06:24:35 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - [jBPM4] Manually updating DB Entries Message-ID: <7645512.1255947875558.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I'm using jBPM 4.1 in a standalone application with the default setup, having switched to MySQL as DB. I need to update some values in the jBPM DB manually and was asking myself what the most convenient and conformant way would be. As I want to access the environment, I thought about doing so using a custom command like this: | public class UpdateDbCmd implements Command { | | private Object _entry; | | public UpdateDbCmd(Object entry) { | _entry = entry; | } | | public Object execute(Environment environment) throws Exception { | DbSession session = (DbSession) environment.get(DbSession.class); | // [...]update the entry | return null; | } | | } | Then I try to execute the Command like this: | ProcessEngine eng = new Configuration().buildProcessEngine(); | // [...] | eng.execute(new UpdateDbCmd(someEntry)); | This does result in a NullPointerException as the userCommandService is not defined in the configuration. Unfortunately I haven't found information about how to configure the wire bindings correctly. Could anyone please point me in the right direction or suggest another way how to update db entries manually. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261011#4261011 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261011 From do-not-reply at jboss.com Mon Oct 19 08:11:54 2009 From: do-not-reply at jboss.com (mwohlf) Date: Mon, 19 Oct 2009 08:11:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Manually updating DB Entries Message-ID: <23150892.1255954314865.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have the following setup in my jbpm.cfg.xml file, inside the process-engine-context: | | | | | | but I don't really remember where this is documented View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261037#4261037 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261037 From do-not-reply at jboss.com Mon Oct 19 08:26:44 2009 From: do-not-reply at jboss.com (mwohlf) Date: Mon, 19 Oct 2009 08:26:44 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Hibernate LazyInitializationException Message-ID: <9139746.1255955204196.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> to me this looks like a configuration issue in your jbpm-config file, check your transaction-context tag , for me the following setup works: | | | | | | | | | | but maybe you want to set: | | or maybe you forgot the | | in the jbpm-config file? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261039#4261039 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261039 From do-not-reply at jboss.com Mon Oct 19 08:29:05 2009 From: do-not-reply at jboss.com (SteffenCH) Date: Mon, 19 Oct 2009 08:29:05 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Rewrite valve? Message-ID: <12086376.1255955345310.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, in an upcoming project, we will need to deploy an application and some framework to JBoss AS 4.0. For some reason (mainly regarding security and infrastructure restrictions), we'd like to use something like this: http://www.jboss.org/file-access/default/members/jbossweb/freezone/modules/rewrite/index.html This, however, seems to target a different version of JBoss or something. Does anyone know how we may be able to get this up and running, or knows of an alternative? Thanks a lot, Steffen. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261040#4261040 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261040 From do-not-reply at jboss.com Mon Oct 19 08:40:23 2009 From: do-not-reply at jboss.com (mwohlf) Date: Mon, 19 Oct 2009 08:40:23 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Problems with indexes in jbpm.history.hbm.xml Message-ID: <528410.1255956023780.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I patched jbpm.history.hbm.xml and use the "_DET_" ones, the fix for this has been postponed to jBPM 4.3 see: https://jira.jboss.org/jira/browse/JBPM-2477?focusedCommentId=12482983 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261041#4261041 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261041 From do-not-reply at jboss.com Mon Oct 19 08:51:41 2009 From: do-not-reply at jboss.com (BobBuilder) Date: Mon, 19 Oct 2009 08:51:41 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Develop own API Message-ID: <14307579.1255956701700.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, for customizing Jboss Portal i customized the JSPs for the navigation and included a tree-like navigation and breadcrumbs. So far this all is just made by changing the existing JSPs... Now i need to get an API, so every portlet is able to include content to the breadcrumbs (what means 1 name and 1 url for every breadcrumb). this way the breadcrumbs shall be able to be extended and be a navigation help for portlets. Since i am new to web developing i would like to ask the community for an short concept idea on how this could be realized best. Regards Bob View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261043#4261043 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261043 From do-not-reply at jboss.com Mon Oct 19 08:54:44 2009 From: do-not-reply at jboss.com (muzzol) Date: Mon, 19 Oct 2009 08:54:44 -0400 (EDT) Subject: [jboss-user] [Security] - ldap filter to restrict one cn Message-ID: <30214750.1255956884530.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi, i configured an application policy and i want to allow only users from group cn=portalrrhh,ou=Groups,dc=example.com,dc=global this is the test i did with jmx-console: | | | ldap://example.com:389 | ou=Users,dc=example.com,dc=global | (uid={0}) | cn=portalrrhh,ou=Groups,dc=example.com,dc=global | (memberUid={0}) | false | cn | 0 | ONELEVEL_SCOPE | | | | i can login with any valid ldap user, not just that ones belonging to group portalrrhh, so seems to ignore the scope. anyone have a working example? i dont mind if it is with org.jboss.security.auth.spi.LdapLoginModule or org.jboss.security.auth.spi.LdapExtLoginModule View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261045#4261045 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261045 From do-not-reply at jboss.com Mon Oct 19 09:10:01 2009 From: do-not-reply at jboss.com (Goschan) Date: Mon, 19 Oct 2009 09:10:01 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: getting errors while starting JBoss Portal 2.7.0 server Message-ID: <19409673.1255957801693.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have exactly the same error, do you remember if you solve it and how ? Benjamin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261050#4261050 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261050 From do-not-reply at jboss.com Mon Oct 19 09:18:16 2009 From: do-not-reply at jboss.com (Fuchs) Date: Mon, 19 Oct 2009 09:18:16 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Client calls Timer only once Message-ID: <32687748.1255958296780.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello. I am using JBoss 5.0.1.GA. I need to build a TimerService with EJB3. Therefor, I am using the Tutorial, which can be found under the documentation of EJB3. After some changes the Timer-Tutorial is running. Now, the Server-Methode should be called every fifth sec. In my Application it is only once called. Here my code for the Client: | package ejb.timer.createbill; | | import java.util.Properties; | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.naming.NamingException; | import javax.rmi.PortableRemoteObject; | | | public class Client | { | public static void main(String[] args) throws Exception | { | System.out.println("HELLO FROM CLIENT !"); | | try { | Properties p = new Properties(); | p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | p.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | p.put(Context.PROVIDER_URL, "jnp://localhost:1099"); | Context ctx = new InitialContext(p); | | Object ref = ctx.lookup("TimerBean/remote"); | ExampleTimer cbr =(ExampleTimer) PortableRemoteObject.narrow(ref, ExampleTimer.class); | cbr.scheduleTimer(1000); | | } catch (NamingException e){ | e.printStackTrace(); | } | } | } | I also add the following Argument to the Client Application: Djava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory Can someone help me? Thx! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261053#4261053 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261053 From do-not-reply at jboss.com Mon Oct 19 09:20:19 2009 From: do-not-reply at jboss.com (magicroomy) Date: Mon, 19 Oct 2009 09:20:19 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface Message-ID: <8883952.1255958419567.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I tried... doesn't work either. Can i send you a little eclipse demo project somehow? Greetings Volker View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261055#4261055 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261055 From do-not-reply at jboss.com Mon Oct 19 09:54:33 2009 From: do-not-reply at jboss.com (tim.clarke) Date: Mon, 19 Oct 2009 09:54:33 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 5.1.0/railo 3.1.1 context problem? Message-ID: <30887880.1255960473026.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> That was it jaikiran, thanks very much indeed. Problem solved. That just leaves my understanding of it; would you be able to point me at where in the manual that's defined? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261069#4261069 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261069 From do-not-reply at jboss.com Mon Oct 19 10:11:28 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 19 Oct 2009 10:11:28 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 5.1.0/railo 3.1.1 context problem? Message-ID: <21293957.1255961488813.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Here http://www.jboss.org/community/wiki/ExplodedDeployment View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261074#4261074 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261074 From do-not-reply at jboss.com Mon Oct 19 10:29:12 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 19 Oct 2009 10:29:12 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: JGroups timing call inomalities Message-ID: <3963855.1255962552366.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Re: 2.6.13 and AS 4.2.3, I personally haven't tried any 2.6 series release with AS 4.x. So I'll defer to the rest of the community for detailed input. The 2.6 series is API compatible with the 2.4 series used in AS 4.2.x, and the fundamental semantics of Channel behavior are the same, so it should work fine. There are some pretty major configuration differences, but you've already seen those with your 2.6.10.merge efforts. I wouldn't expect problems moving from 2.6.10.merge to 2.6.13. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261079#4261079 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261079 From do-not-reply at jboss.com Mon Oct 19 10:43:28 2009 From: do-not-reply at jboss.com (lixlix) Date: Mon, 19 Oct 2009 10:43:28 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - Classloader question Message-ID: <14264037.1255963408200.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello everybody, is there any way to have a (custom) class (or interface) shared between a Web Application and bundles in an Equinox embedded via JBossOSGi? I've the problem that I need to access functionality provided by some bundles from a session bean. Thank you very much in advance, Falk View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261082#4261082 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261082 From do-not-reply at jboss.com Mon Oct 19 10:45:48 2009 From: do-not-reply at jboss.com (freiburger) Date: Mon, 19 Oct 2009 10:45:48 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Manually updating DB Entries Message-ID: <12437721.1255963548351.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks mwohlf, that works. Configuring command services is mentioned in the developers guide, but it wasn't quite clear to me how to use it, now I am beginning to understand :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261084#4261084 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261084 From do-not-reply at jboss.com Mon Oct 19 11:00:26 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 19 Oct 2009 11:00:26 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface Message-ID: <18192322.1255964426935.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sure. Drop me a mail to the address available in my profile. If this turns out to be a bug, we can track it through JIRA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261087#4261087 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261087 From do-not-reply at jboss.com Mon Oct 19 11:29:49 2009 From: do-not-reply at jboss.com (bwestrich) Date: Mon, 19 Oct 2009 11:29:49 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jBPM 4: how to transition via Java handler/listener? Message-ID: <23110508.1255966189970.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks Bernd and sebastian.s. I used the custom activity approach and it worked as expected! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261093#4261093 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261093 From do-not-reply at jboss.com Mon Oct 19 11:30:34 2009 From: do-not-reply at jboss.com (tim.clarke) Date: Mon, 19 Oct 2009 11:30:34 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss 5.1.0/railo 3.1.1 context problem? Message-ID: <21500909.1255966234556.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> tvm jaikiran View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261094#4261094 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261094 From do-not-reply at jboss.com Mon Oct 19 11:54:12 2009 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Mon, 19 Oct 2009 11:54:12 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Where is a Message-ID: <4763527.1255967652749.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hmm... I'm not sure when they added 'clean' so I don't think it was there when I 'forked', but honestly, the history of the JBoss Servers View was that it was a Common Navigator based view. At the time of the fork, the official "Servers View" was not common navigator based but was rather a static view that could not be added to at all. I later contributed a large base of code back to eclipse to convert their view to an extensible Common Navigator based view. In all honesty what I *should* be working on now is removing the JBoss Servers View entirely and adding the extra actions which we have to their view. But I can add the clean action to my view temporarily until I get around to removing the JBoss Servers View entirely =] I should make some JIRAs for myself. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261096#4261096 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261096 From do-not-reply at jboss.com Mon Oct 19 11:56:20 2009 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Mon, 19 Oct 2009 11:56:20 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Where is a Message-ID: <28179761.1255967780905.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> As for what "publish" does, some people run with the automatic publishing NOT enabled. This means when they make changes to their workspace, they do NOT publish the changes right away. These users love being in control of when the publish occurs, and prefer to have the button there to do it. What the "publish" button does is initiate an incremental publish. If you already have automatic publishing turned on, then clicking the publish button likely won't do anything because by the time you click it, an automatic publish has probably already happened and the workspace is already in sync with the publish folder. But for users who don't have automatic publishing turned on, clicking publish initiates this incremental change. So if you change 10 files with auto-publish turned off, you'll see nothing changes in your deploy folder, but the "resynchronize" is shown in the view, showing you they are not in sync right then. Then you click publish, and those 10 files are published =] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261098#4261098 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261098 From do-not-reply at jboss.com Mon Oct 19 12:17:40 2009 From: do-not-reply at jboss.com (mohitanchlia) Date: Mon, 19 Oct 2009 12:17:40 -0400 (EDT) Subject: [jboss-user] [Clustering] - Cluster invocation error Message-ID: <247912.1255969060173.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We have stateless bean which is clustered. We have more than 8 nodes in a cluster and that bean is supposed to be clustered accross 8 nodes. Problem is that when one of the nodes is in process of going down for maintenance then the user request fails while connecting that node. What I don't understand is why would user requests fail when the bean is supposed to be clustered? Shouldn't the proxy object go to the next node in the cluster and process the request instead of returning an error? | Caused by: java.lang.RuntimeException: cluster invocation failed, last exception was: | at org.jboss.aspects.remoting.ClusterChooserInterceptor.invoke(ClusterChooserInterceptor.java:166) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.remoting.ClusteredIsLocalInterceptor.invoke(ClusteredIsLocalInterceptor.java:55) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessClusteredProxy.invoke(StatelessClusteredProxy.java:112) | at $Proxy284.findFilingsByCmTokenId(Unknown Source) | ... 61 more | Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://10.4.2.37:3873/?numberOfRetries=1] | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:532) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) | at org.jboss.remoting.Client.invoke(Client.java:1634) | at org.jboss.remoting.Client.invoke(Client.java:548) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.remoting.ClusterChooserInterceptor.invoke(ClusterChooserInterceptor.java:77) | ... 70 more | Caused by: java.net.ConnectException: Connection refused | at java.net.PlainSocketImpl.socketConnect(Native Method) | at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) | at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) | at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) | at java.net.Socket.connect(Socket.java:516) | at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:187) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:815) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) | at org.jboss.remoting.Client.invoke(Client.java:1634) | at org.jboss.remoting.Client.invoke(Client.java:548) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.remoting.ClusterChooserInterceptor.invoke(ClusterChooserInterceptor.java:77) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.remoting.ClusteredIsLocalInterceptor.invoke(ClusteredIsLocalInterceptor.java:55) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) | at org.jboss.ejb3.stateless.StatelessClusteredProxy.invoke(StatelessClusteredProxy.java:112) | at $Proxy284.findFilingsByCmTokenId(Unknown Source) | at sun.reflect.GeneratedMethodAccessor174.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.intuit.engine.efp.efe.filer.FilingProcessorDelegate$FilingProcessorFipProxy.invoke(FilingProcessorDelegate.java:246) | at $Proxy285.findFilingsByCmTokenId(Unknown Source) | at com.intuit.engine.efp.efe.filer.FilingProcessorDelegate.findFilingsByCmTokenId(FilingProcessorDelegate.java:120) | at com.intuit.engine.efp.efe.filer.FipFilerStrategy.sync(FipFilerStrategy.java:529) | at com.intuit.engine.efp.efe.filer.server.common.FilerService.sync(FilerService.java:222) | at sun.reflect.GeneratedMethodAccessor173.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at com.sun.xml.ws.api.server.InstanceResolver$1.invoke(InstanceResolver.java:246) | at com.sun.xml.ws.server.InvokerTube$2.invoke(InvokerTube.java:146) | at com.sun.xml.ws.server.sei.EndpointMethodHandler.invoke(EndpointMethodHandler.java:257) | at com.sun.xml.ws.server.sei.SEIInvokerTube.processRequest(SEIInvokerTube.java:93) | at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:598) | at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:557) | at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:542) | at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:439) | at com.sun.xml.ws.server.WSEndpointImpl$2.process(WSEndpointImpl.java:243) | at com.sun.xml.ws.transport.http.HttpAdapter$HttpToolkit.handle(HttpAdapter.java:470) | at com.sun.xml.ws.transport.http.HttpAdapter.handle(HttpAdapter.java:244) | at com.sun.xml.ws.transport.http.servlet.ServletAdapter.handle(ServletAdapter.java:135) | at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doGet(WSServletDelegate.java:129) | at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:160) | at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:75) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) | 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 com.intuit.engine.efp.efe.filer.filters.servlet.EmptyRespElementFilter.doFilter(EmptyRespElementFilter.java:73) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at com.intuit.engine.efp.efe.filer.filters.servlet.FixPortFilter.doFilter(FixPortFilter.java:68) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at com.intuit.engine.efp.efe.filer.filters.servlet.ClientAppVerifyFilter.doFilter(ClientAppVerifyFilter.java:74) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at com.intuit.engine.efp.efe.filer.filters.servlet.ValidatorFilter.doFilter(ValidatorFilter.java:269) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at com.intuit.engine.efp.efe.filer.filters.servlet.ExtractPayloadFilter.doFilter(ExtractPayloadFilter.java:90) | 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.ajp.AjpProcessor.process(AjpProcessor.java:437) | at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:381) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451) | at java.lang.Thread.run(Thread.java:595) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74) | ... 72 more | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261099#4261099 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261099 From do-not-reply at jboss.com Mon Oct 19 12:19:14 2009 From: do-not-reply at jboss.com (bwestrich) Date: Mon, 19 Oct 2009 12:19:14 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Catching invalid transition names in jBPM4 Message-ID: <27642174.1255969154008.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Interesting to know that signal names have such flexibility. And I can imagine situations where that might be useful. However, the way I've used jBPM 3.2.3, if I send a process instance a signal, I expect the signal to cause a transition (even if the transition is to the same state). So I add validation code between the client and the executing business process that notifies the client if they pass in a signal which is not a valid transition (and thus will not cause a transition). I think I just figured out a way of doing such a validation using 4.x: Cast the Execution (interface) to an ExecutionImpl, call getActivity() to get the ActivityImpl, then call findOutgoingTransition(String name). If findOutgoingTransition returns a null, the transition is not valid. The below code shows this approach, as well as a way to list all valid transitions. public class FirstEnterHandler implements ExternalActivityBehaviour { | public void execute(ActivityExecution execution) throws Exception { | String transitionName = "byListener?"; | ExecutionImpl executionImpl = (ExecutionImpl) execution; | ActivityImpl activity = executionImpl.getActivity(); | TransitionImpl transition = activity.findOutgoingTransition(transitionName); | if (transition == null) { | String validTrans = activity.getOutgoingTransitions().toString(); | throw new RuntimeException("invalid transition " + transitionName | + ", valid transitions are : " + validTrans); | } | execution.take(transitionName); | } | } Even if this code works, it seems like a lot of use of internal implementation classes. Is this approach an ok way to validate signal names? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261101#4261101 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261101 From do-not-reply at jboss.com Mon Oct 19 12:27:44 2009 From: do-not-reply at jboss.com (c4s4l) Date: Mon, 19 Oct 2009 12:27:44 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Synchronous process execution Message-ID: <24184256.1255969664163.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Well, you are just saying, don't use the ESB action pipeline but do it in a process, this is arguable, but I understand your message. Thank you for your response. Regards, Sergio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261102#4261102 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261102 From do-not-reply at jboss.com Mon Oct 19 12:36:32 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Mon, 19 Oct 2009 12:36:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Catching invalid transition names in jBPM4 Message-ID: <24651311.1255970192586.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Honestly I can't answer your last question. But what about just trying to call execution.take(transitionName) and catching the exception in case of an invalid name? anonymous wrote : | void take(java.lang.String transitionName) | | takes the outgoing transition with the given name. | | This method can only be called from inside ExternalActivityBehaviour implementations. | | Transitions will be looked up recursively starting from the current activity and then up the activity-parent-hierarchy | | Parameters: | transitionName - is the name of the transition to take. A null value will match the first unnamed transition. | Throws: | JbpmException - in case no such transition is found in the current activity or in case this method is called from inside an ActivityBehaviour. | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261104#4261104 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261104 From do-not-reply at jboss.com Mon Oct 19 12:56:57 2009 From: do-not-reply at jboss.com (pwnell) Date: Mon, 19 Oct 2009 12:56:57 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: ClassNotFoundException when moving JCA adaptor from 4.2. Message-ID: <4886357.1255971417477.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I get this: | net.za.pwnconsulting.logmon.rar.cci.data.client.LogMessage Information | Not loaded in repository cache | I know my RAR is loaded: | name='LogMonJCA.rar',service=RARDeployment | and as you can see LogMessage is indeed inside the RAR archive: | root at waldopc:/opt/jboss-5.1.0.GA/bin# jar -tf ../server/default/deploy/LogMonJCA.rar | grep LogMessage | net/za/pwnconsulting/logmon/rar/cci/data/client/LogMessage.class | Some additional info: java2ClassLoadingCompliance = false WarClassLoaderDeployer not commented out I do not have WEB-INF/jboss-classloading.xml files. I *do* make use of jboss-app.xml files - in the RAR and in the ear. In the RAR file: | | | dot.com:loader=LogMonJCA | | java2ParentDelegation=false | | | | In the ear file: | | | dot.com:loader=LogMonConsole | | java2ParentDelegation=false | | | | Not sure if these are the cause of the problem but I have always used it like this and it used to work just fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261107#4261107 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261107 From do-not-reply at jboss.com Mon Oct 19 13:07:36 2009 From: do-not-reply at jboss.com (axelerator) Date: Mon, 19 Oct 2009 13:07:36 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: JGroups timing call inomalities Message-ID: <11842090.1255972056397.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Brian, thanks. That's a good lookout. Also I tested the setup and AS started without any itches and behaved pretty much normally. What I'm nevertheless a bit curious about is the use of synchronous RPC calls (callMethodOnCoordinator) with regards to performance and timings. Since we only use this method here, I'm a bit worried that that's not the "preferred" way to interact. Can you confirm that? I ask because as far as I know, callMethodOnCoordinator does use JGroups to actually get the master server. Since we only have timings here (especially if there are a lot of calls requesting the same object) by seeing a lot of threads in collectResponse I'm quite curious. Also, does the JIRA ticket with regards to a AtomicBoolan instead of a ReentrantLock come into play if there are a lot the same calls around? Best regards, Axelerator View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261110#4261110 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261110 From do-not-reply at jboss.com Mon Oct 19 13:25:30 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 19 Oct 2009 13:25:30 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: JGroups timing call inomalities Message-ID: <28874292.1255973130818.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "axelerator" wrote : Hi Brian, | | thanks. That's a good lookout. Also I tested the setup and AS started without any itches and behaved pretty much normally. | What I'm nevertheless a bit curious about is the use of synchronous RPC calls (callMethodOnCoordinator) with regards to performance and timings. | Since we only use this method here, I'm a bit worried that that's not the "preferred" way to interact. Can you confirm that? I wouldn't say it's not preferred. Historically a lot of JGroups use cases have been point-to-multipoint(e.g. callMethodOnCluster if done via HAPartition), but there is quite a bit of point-to-point usage as well (e.g. JBoss Cache buddy replication.) You use what meets the requirement of your application. anonymous wrote : | I ask because as far as I know, callMethodOnCoordinator does use JGroups to actually get the master server. Since we only have timings here (especially if there are a lot of calls requesting the same object) by seeing a lot of threads in collectResponse I'm quite curious. The part of figuring out who the coordinator node is is quite lightweight. Do you have large numbers of concurrent calls to the same service from each node? Those are going to be executed serially, since JGroups will only allow one RPC at a time from a given sender to be executing in the application. anonymous wrote : | Also, does the JIRA ticket with regards to a AtomicBoolan instead of a ReentrantLock come into play if there are a lot the same calls around? Please provide a link to the JIRA you are talking about. Best regards, Axelerator View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261112#4261112 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261112 From do-not-reply at jboss.com Mon Oct 19 13:46:22 2009 From: do-not-reply at jboss.com (jeckles933) Date: Mon, 19 Oct 2009 13:46:22 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Duplicate KEYs/Indexes on JBPM tables Message-ID: <15945904.1255974382900.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> JBPM 3.2.6 SP 1 MYSQL 5.0.51a-log Most of the tables have duplicate keys, this is just one example CREATE TABLE `jbpm_token` ( `ID_` BIGINT(20) NOT NULL AUTO_INCREMENT, `VERSION_` INT(11) NOT NULL, `NAME_` VARCHAR(255) DEFAULT NULL, `START_` DATETIME DEFAULT NULL, `END_` DATETIME DEFAULT NULL, `NODEENTER_` DATETIME DEFAULT NULL, `NEXTLOGINDEX_` INT(11) DEFAULT NULL, `ISABLETOREACTIVATEPARENT_` BIT(1) DEFAULT NULL, `ISTERMINATIONIMPLICIT_` BIT(1) DEFAULT NULL, `ISSUSPENDED_` BIT(1) DEFAULT NULL, `LOCK_` VARCHAR(255) DEFAULT NULL, `NODE_` BIGINT(20) DEFAULT NULL, `PROCESSINSTANCE_` BIGINT(20) DEFAULT NULL, `PARENT_` BIGINT(20) DEFAULT NULL, `SUBPROCESSINSTANCE_` BIGINT(20) DEFAULT NULL, PRIMARY KEY (`ID_`), KEY `IDX_TOKEN_PARENT` (`PARENT_`), KEY `IDX_TOKEN_PROCIN` (`PROCESSINSTANCE_`), KEY `IDX_TOKEN_NODE` (`NODE_`), KEY `IDX_TOKEN_SUBPI` (`SUBPROCESSINSTANCE_`), KEY `FK_TOKEN_SUBPI` (`SUBPROCESSINSTANCE_`), KEY `FK_TOKEN_PROCINST` (`PROCESSINSTANCE_`), KEY `FK_TOKEN_NODE` (`NODE_`), KEY `FK_TOKEN_PARENT` (`PARENT_`), CONSTRAINT `FK_TOKEN_NODE` FOREIGN KEY (`NODE_`) REFERENCES `jbpm_node` (`ID_`), CONSTRAINT `FK_TOKEN_PARENT` FOREIGN KEY (`PARENT_`) REFERENCES `jbpm_token` (`ID_`), CONSTRAINT `FK_TOKEN_PROCINST` FOREIGN KEY (`PROCESSINSTANCE_`) REFERENCES `jbpm_processinstance` (`ID_`), CONSTRAINT `FK_TOKEN_SUBPI` FOREIGN KEY (`SUBPROCESSINSTANCE_`) REFERENCES `jbpm_processinstance` (`ID_`) ) ENGINE=INNODB DEFAULT CHARSET=latin1 Note these Keys: KEY `IDX_TOKEN_PARENT` (`PARENT_`), KEY `FK_TOKEN_PARENT` (`PARENT_`), This is just one example, there are duplicate keys on almost all the tables. This table was created using the script that came with 3.2.6 SP1. Is there a reason for these duplicate keys?? Or is this a bug in the DB create script? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261117#4261117 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261117 From do-not-reply at jboss.com Mon Oct 19 14:18:48 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Mon, 19 Oct 2009 14:18:48 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Duplicate KEYs/Indexes on JBPM tables Message-ID: <3191839.1255976328589.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Regarding jBPM 4 please see this thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=159251 AFAIK the developers are already aware of this in respect to jBPM 4. I just notice you're using jBPM 3.x. I don't know if there are plans to change this in 3.x. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261123#4261123 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261123 From do-not-reply at jboss.com Mon Oct 19 15:00:39 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 19 Oct 2009 15:00:39 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once Message-ID: <21716512.1255978839996.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "Fuchs" wrote : | After some changes the Timer-Tutorial is running. | What changes did you do? The tutorials should not require any changes (maybe just the JBOSS_HOME stuff) to run correctly. So let us know of the changes you did, so that we can fix them (if they are some bugs) accordingly. "Fuchs" wrote : | Now, the Server-Methode should be called every fifth sec. | In my Application it is only once called. | Can you post the logs on the console from both the client and server side? Please do *not* post the server.log. Just the console log should be fine. "Fuchs" wrote : | I also add the following Argument to the Client Application: | Djava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory | That shouldn't be added. Any specific reason you are adding that? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261125#4261125 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261125 From do-not-reply at jboss.com Mon Oct 19 15:21:07 2009 From: do-not-reply at jboss.com (axelerator) Date: Mon, 19 Oct 2009 15:21:07 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: JGroups timing call inomalities Message-ID: <30057925.1255980067513.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Brian, okay - that wasn't the most intelligent post ever. So, let's clear things up. I have a service, which is active on all nodes in the cluster. Nevertheless, if the node a method of this service is invoked on, is not the master node, the call is relayed to that master node (callMethodOnCoordinator). What happens is that the master-node service is called not too heavily, but concurrently 1-2 times/second (to do some mutual exclusive stuff). Therefor, as far as I understand you, the method I use isn't the most intelligent way to do this, since I want multi-threaded access to this services, besides that the service handles semaphore access internally. Does this mean does using JGroups/Jboss Clustering, I can call the same service on each node only sequentially, but not multi-threaded? If so .. what would be your suggestion on handling this issue? I ask because I expected that this remoting call can be handled in a parallel environment. The JIRA case I was referring to, is https://jira.jboss.org/jira/browse/JGRP-829 . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261129#4261129 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261129 From do-not-reply at jboss.com Mon Oct 19 16:32:53 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Mon, 19 Oct 2009 16:32:53 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: JGroups timing call inomalities Message-ID: <43592.1255984373404.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> JGroups is only going to allow one message at a time from a particular sender to proceed up the stack past UNICAST. This is needed to ensure message are delivered in order. So, only one RPC at a time. There's a JGroups JIRA to add an API whereby the application can define the scope to which message ordering is applied; e.g. your app could say all messages associated with "LockA" must be ordered, but a message associated with "LockB" wouldn't have to wait for "LockA" messages. But that won't be in JGroups 2.6. How long does these RPCs take once the RPC is actually invoked on the coordinator? That's what's going to drive your throughput since the RPCs execute in series. Ah, you said 90ms, although AIUI that was for a remote client to get a response, so the actual server-side execution time is probably much less. Worst case, lets assume it's 90ms. Your max throughput would be ~ 11 per second. If you are only executing 1 or 2 per second, serializing the execution shouldn't be adding more than an extra 90 ms delay to one RPC, and often wouldn't delay it at all. The key thing here is the execution time of the RPC. With JBoss AS HTTP session replication, the same basic serialization of RPCs occurs at the JGroups level. Yet we handle hundreds of concurrent requests per node and thousands of requests per second. That's because the execution time of the RPC itself is very low. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261136#4261136 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261136 From do-not-reply at jboss.com Mon Oct 19 17:10:23 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 19 Oct 2009 17:10:23 -0400 (EDT) Subject: [jboss-user] [JMX] - Re: JNDI lookup for all the mbeans in JBoss Message-ID: <30558906.1255986623358.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> When you deploy a *-ds.xml files to define a data source connection, JBoss AS creates 4 (or 5) MBeans for the data source. I looked at all of those MBeans but could not see the connection URL in any of them. So digging through the MBeans to find that information will not work. The MBeans for a web application will not tell you which data source(s) that web app is using, such information is not kept within the metadata for the application because ti could connect to any data source and there is no need to tell JBoss AS beforehand which data source it will use. On the other hand, I could just be misunderstanding your question... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261137#4261137 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261137 From do-not-reply at jboss.com Mon Oct 19 19:11:02 2009 From: do-not-reply at jboss.com (andersoj) Date: Mon, 19 Oct 2009 19:11:02 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - JBoss 5.0.1/5.1.0: java.lang.UnsupportedOperationException: Message-ID: <9365577.1255993862452.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi there, While calling a web service deployed on JBoss 5.0.1 (and 5.1.0) I get the following server side error: 22:40:21,309 ERROR [SOAPFaultHelperJAXWS] SOAP request exception | java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage | at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441) | at org.jboss.ws.core.soap.SOAPMessageImpl.(SOAPMessageImpl.java:87) | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:215) | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:193) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:455) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131) | at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | 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:235) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:619) | 22:40:21,310 ERROR [RequestHandlerImpl] Error processing web service request | org.jboss.ws.WSException: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage | at org.jboss.ws.WSException.rethrow(WSException.java:68) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:336) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131) | at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | 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:235) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:619) | Caused by: java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage | at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441) | at org.jboss.ws.core.soap.SOAPMessageImpl.(SOAPMessageImpl.java:87) | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:169) | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.createSOAPMessage(SOAPFaultHelperJAXWS.java:295) | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:256) | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:187) | at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:102) | at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:671) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:496) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295) | ... 24 more | 22:40:21,310 ERROR [[Xmir]] Servlet.service() for servlet Xmir threw exception | java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage | at javax.xml.soap.SOAPMessage.setProperty(SOAPMessage.java:441) | at org.jboss.ws.core.soap.SOAPMessageImpl.(SOAPMessageImpl.java:87) | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:169) | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.createSOAPMessage(SOAPFaultHelperJAXWS.java:295) | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.toSOAPMessage(SOAPFaultHelperJAXWS.java:256) | at org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS.exceptionToFaultMessage(SOAPFaultHelperJAXWS.java:187) | at org.jboss.ws.core.jaxws.binding.SOAP11BindingJAXWS.createFaultMessageFromException(SOAP11BindingJAXWS.java:102) | at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBinding.java:671) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:496) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:295) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:205) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:131) | at org.jboss.wsf.common.servlet.AbstractEndpointServlet.service(AbstractEndpointServlet.java:85) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | 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:235) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:619) Could someone please help me to find out how to solve this? Misc info: OS: FreeBSD 7.1 Java: java version "1.6.0_07" Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) Diablo Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261144#4261144 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261144 From do-not-reply at jboss.com Mon Oct 19 19:32:48 2009 From: do-not-reply at jboss.com (pwnell) Date: Mon, 19 Oct 2009 19:32:48 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: ClassNotFoundException when moving JCA adaptor from 4.2. Message-ID: <26132648.1255995168551.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It *seems* like my code works in the standard configuration, not in the default. Does this help shed some light? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261146#4261146 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261146 From do-not-reply at jboss.com Mon Oct 19 19:54:02 2009 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 19 Oct 2009 19:54:02 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Manually updating DB Entries Message-ID: <1982292.1255996442846.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> keep in mind though that things in the dev guide are *not supported*. In this case that means they are not fully stabilized yet and can change in the future. They have matured enough though to be in the dev guide, so you can expect certain things not to change 180 degrees View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261147#4261147 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261147 From do-not-reply at jboss.com Mon Oct 19 19:56:53 2009 From: do-not-reply at jboss.com (JBossBorot) Date: Mon, 19 Oct 2009 19:56:53 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Topic Listener MDB problems Message-ID: <28705502.1255996613204.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> MDB doesn't seem to connect to JMS Topic, message posted by j2se client to JMS Topic doesn't seem to show in Topic stats. Setup: WinXP, JBoss 5.1, Eclipse Galileo, JDK 1.6. JBoss setup seems to be functioning, as an EJB app has deployed and was tested just fine. @MessageDriven(activationConfig = { @ActivationConfigProperty( propertyName = "destinationType", propertyValue = "javax.jms.Topic") }, mappedName = "JMSTopic1", name="TopicMDB1") public class TopicMDB1 implements MessageDrivenBean, MessageListener {...} Using Eclipse JEE plugin, the MDB is added to an EAR proj, which is then "deployed" {Run} on JBoss. The deployment seems to conclude without errors, but there are no signs of the bean anywhere. A j2se test client puts a simple text msg to the Topic, but there's no sign of that msg either in the JMS system, nor is it being consumed by anybody {obviously}. I am a noob to JBoss, but have done this in Weblogic many times, if that counts for anything. Any suggestions would be welcome. karoy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261148#4261148 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261148 From do-not-reply at jboss.com Mon Oct 19 20:07:54 2009 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 19 Oct 2009 20:07:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Synchronous process execution Message-ID: <11337931.1255997274682.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> you call it a process, I call it a micro-flow... or orchestration or... what's in a name. You could also you bpel or something else for this. >From a nice article: anonymous wrote : I already have a service execution pipeline, why do I need additional service orchestration mechanisms? | | It might seem that that there is a lot of overlap between a service pipeline and service orchestration. In a nutshell, a service pipeline is a sequential orchestration of actions. The things that it does not support well, but are common orchestration requirements, are decisions, conditional transitions and parallel execution. Although technically you can do a lot these things as part of pipeline definition, it's not always easy. Our preference is to use a service pipeline for bringing together basic business functionality and additional infrastructure support, including data transformation, execution monitoring, etc and use jBPM for orchestration of these services. | | Additional consideration for this choice can be deployment requirements. If the same action(s) is used in a lot of cases, it might make sense to separate it (them) into a separate service so that it will be deployed only once and use jBPM for orchestration. The full article is an interesting read, but yes, it still is debatable. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261150#4261150 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261150 From do-not-reply at jboss.com Mon Oct 19 20:27:11 2009 From: do-not-reply at jboss.com (JBossBorot) Date: Mon, 19 Oct 2009 20:27:11 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Topic Listener MDB problems Message-ID: <28402178.1255998431411.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> By this bit: "I" wrote : ...there's no sign of that msg either in the JMS system... I meant that while the server console log shows all kinds of stuff being done, as the JSM tracing is turned on, using these instructions: http://www.jboss.org/community/wiki/JBossMessagingUserEnablingTRACEloggingonserver. I just don't see it the Topic's statistics that a message passed through or something. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261151#4261151 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261151 From do-not-reply at jboss.com Mon Oct 19 21:32:42 2009 From: do-not-reply at jboss.com (dgarstang) Date: Mon, 19 Oct 2009 21:32:42 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Multiple Instances, single jvm? Message-ID: <23684301.1256002362934.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Good grief. Hope this is the right section to ask in. We are currently running multiple instances of jboss on a single server, arranged somthing like /opt/jboss/server/inst1, /opt/jboss/server/inst2 and so on. Does that mean each instance gets it's owm jvm? Is there a way to run multiple instances of jboss on a single machine, but still use a single JVM to save memory? Thanks, Doug View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261155#4261155 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261155 From do-not-reply at jboss.com Mon Oct 19 22:44:29 2009 From: do-not-reply at jboss.com (gaohoward) Date: Mon, 19 Oct 2009 22:44:29 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Topic Listener MDB problems Message-ID: <728251.1256006669903.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, It seems like a MDB config issue, can you post the question to EJB team? Also JBM has some good examples for users to get started. You can download them from JBoss.org. Especially there is an example ejb3mdb that may be of some interest to you. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261156#4261156 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261156 From do-not-reply at jboss.com Mon Oct 19 22:47:41 2009 From: do-not-reply at jboss.com (gaohoward) Date: Mon, 19 Oct 2009 22:47:41 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Slow consumer is blocking producer Message-ID: <3376552.1256006861253.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What kind of subscriber you create? Can you try durable and non-durable and see if they make any difference? Thanks. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261157#4261157 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261157 From do-not-reply at jboss.com Mon Oct 19 22:49:13 2009 From: do-not-reply at jboss.com (gaohoward) Date: Mon, 19 Oct 2009 22:49:13 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: User: null is NOT authenticated Message-ID: <18547546.1256006953725.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Do you have the stack trace and if you do can you please post here? Thanks. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261158#4261158 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261158 From do-not-reply at jboss.com Mon Oct 19 23:05:38 2009 From: do-not-reply at jboss.com (gaohoward) Date: Mon, 19 Oct 2009 23:05:38 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Message expiration on JBM 1.4.{4, 5} Message-ID: <32755396.1256007938876.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Are your subscribers MDBs or standalone java clients apps? thanks. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261159#4261159 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261159 From do-not-reply at jboss.com Mon Oct 19 23:08:24 2009 From: do-not-reply at jboss.com (bershath27) Date: Mon, 19 Oct 2009 23:08:24 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: User: null is NOT authenticated Message-ID: <7770658.1256008104597.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You'd normally encounter this problem, when your JBM/Persistence configuration is broken. I'd like to see what does the "messaging" application policy has to say on this. Hence, please add the following in your log4j configuration and obtain the logs: Cheers View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261161#4261161 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261161 From do-not-reply at jboss.com Tue Oct 20 00:30:42 2009 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 20 Oct 2009 00:30:42 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Multiple Instances, single jvm? Message-ID: <389534.1256013042135.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Actually, the following forum would have been a better location (not sure why in the new layout all of the AS-related forums are way down on the page...) http://www.jboss.org/index.html?module=bb&op=viewforum&f=61 But to answer your question, you need a JVM per instance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261166#4261166 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261166 From do-not-reply at jboss.com Tue Oct 20 01:58:49 2009 From: do-not-reply at jboss.com (gbansal80) Date: Tue, 20 Oct 2009 01:58:49 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: User: null is NOT authenticated Message-ID: <14945808.1256018329026.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The exception stack trace is provided below: =============================== [org.jboss.jms.server.security.SecurityMetadataStore.authenticate(SecurityMetadataStore.java:200), org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:233), org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpoint.java:171), org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFactoryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:108), org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.createConnectionDelegate(ConnectionFactoryAdvised.java), org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java:91), org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143), org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:862), org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:609), org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:421), org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:174), org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:182), org.jboss.remoting.Client.invoke(Client.java:1858), org.jboss.remoting.Client.invoke(Client.java:718), org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:178), org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java), org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:80), org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java), org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java), org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java), org.jboss.jms.client.container.ClusteringAspect.handleCreateConnectionDelegate(ClusteringAspect.java:134), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source), sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source), java.lang.reflect.Method.invoke(Unknown Source), org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121), org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java), org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.createConnectionDelegate(ClientClusteredConnectionFactoryDelegate.java), org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205), org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87), org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82), com.avaya.sampleconsumer.JMSProducer.connect(JMSProducer.java:104), com.avaya.sampleconsumer.JMSProducer.main(JMSProducer.java:39)] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261174#4261174 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261174 From do-not-reply at jboss.com Tue Oct 20 01:59:56 2009 From: do-not-reply at jboss.com (gbansal80) Date: Tue, 20 Oct 2009 01:59:56 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: User: null is NOT authenticated Message-ID: <2892507.1256018396158.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Tyronne Wickramarathne, You missed to attach the configuration to be added to log4j.xml file View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261175#4261175 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261175 From do-not-reply at jboss.com Tue Oct 20 02:05:51 2009 From: do-not-reply at jboss.com (bershath27) Date: Tue, 20 Oct 2009 02:05:51 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: User: null is NOT authenticated Message-ID: <25989993.1256018751723.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "gbansal80" wrote : Hi Tyronne Wickramarathne, | | You missed to attach the configuration to be added to log4j.xml file my bad, i forgot to format the html elements. there you go : | .... | | | | .... | Cheers View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261176#4261176 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261176 From do-not-reply at jboss.com Tue Oct 20 02:08:37 2009 From: do-not-reply at jboss.com (magicroomy) Date: Tue, 20 Oct 2009 02:08:37 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface Message-ID: <18293076.1256018917703.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, i sent you my eclipse sample project. I hope it reaches you. Thank you for your help. Greetings Volker View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261177#4261177 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261177 From do-not-reply at jboss.com Tue Oct 20 02:28:08 2009 From: do-not-reply at jboss.com (roelof) Date: Tue, 20 Oct 2009 02:28:08 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Message expiration on JBM 1.4.{4, 5} Message-ID: <12712758.1256020088250.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi howard, the clients are not MDB's. just normal subscribers running in the same VM. regards roelof View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261179#4261179 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261179 From do-not-reply at jboss.com Tue Oct 20 02:29:31 2009 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 20 Oct 2009 02:29:31 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: EJB2 SB calls EJB3 SB and gets wrong Remote Interface Message-ID: <18028694.1256020171885.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "magicroomy" wrote : I hope it reaches you. | | Received. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261180#4261180 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261180 From do-not-reply at jboss.com Tue Oct 20 03:03:05 2009 From: do-not-reply at jboss.com (jfrederic.clere@jboss.com) Date: Tue, 20 Oct 2009 03:03:05 -0400 (EDT) Subject: [jboss-user] [Tomcat Integration] - Re: jbossweb-tomcat.sar upgrade to Tomcat 5.5.28 Message-ID: <30030987.1256022185755.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> See http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4260820#4260820 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261183#4261183 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261183 From do-not-reply at jboss.com Tue Oct 20 03:08:32 2009 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 20 Oct 2009 03:08:32 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: JBoss 5.0.1/5.1.0: java.lang.UnsupportedOperationExcepti Message-ID: <20917835.1256022512317.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> See http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158265 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261185#4261185 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261185 From do-not-reply at jboss.com Tue Oct 20 04:19:15 2009 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 20 Oct 2009 04:19:15 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - Re: Classloader question Message-ID: <25227703.1256026755987.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> sure, as long as the the webapp is a bundle. http://jbmuc.dyndns.org/jboss-osgi/userguide/html/ChapProvidedExamples.html#SecWebAppExample Where does the session bean come into play? EJB/OSGi integration is not (yet) supported. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261191#4261191 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261191 From do-not-reply at jboss.com Tue Oct 20 04:22:08 2009 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 20 Oct 2009 04:22:08 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - Re: JBossOSGi vs. Pax-Runner/Pax-Exam Message-ID: <25260089.1256026928235.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Alin Dreghiciu sais: anonymous wrote : | Regarding Pax Exam and Husky these two frameworks are almost the same. And both are working with an remote framework. Remote meaning that the Client Runner and Osgi Framework are running in separate processes. Now, of course that we do not share the same names like Conecor, invoker, bridge but architecture wise is the same. With one diff: we consider that all the tests have to run the osgi container and so we do not have the Bridge part in every test method. In rest, all the things like extender based on manifest headers, injection of bundle context, ... | I would even say that Pax Exam adds more to the table because you can configure the osgi framework use for tests for things like system properties, boot delegation packages, system packages, provisioned bundles, ... IT may be that Husky supports that too but was not obvious from the blog post. | | After all, I do not really care if there are other test frameworks over there beside the split effort. As it looks like we think alike why don't you join us? Pax Exam provides an extension point where you can plug in another test container , beside pax runner based one. Implement that based on JBoss and just have it in the classpath and your pax exam tests will be running in JBoss. | | Actually the collaboration could be batter as we can work on adding support for JBoss in Pax Runner. This will mean that jboss can be easy started and used by pax runner users, directly used in Pax Exam without the need to implement the container explained above, could be used n Eclipse via Pax Runner plugin, ... WDYT? | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261192#4261192 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261192 From do-not-reply at jboss.com Tue Oct 20 04:35:27 2009 From: do-not-reply at jboss.com (freak182) Date: Tue, 20 Oct 2009 04:35:27 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - timer not signalling to right transition Message-ID: <5359969.1256027727934.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I have this process: | | | .............. | | | | | | | | | TimerAction is: | public void execute(ExecutionContext context) throws Exception | { | | jbpmEngine.endTimerTask(context); | } | | @Override | protected void initialiseHandler(BeanFactory factory) | { | jbpmEngine = (JbpmCoreEngine) factory.getBean("wf_core_engine"); | } | CoreEngine is: | public void endTimerTask(ExecutionContext context) | throws WicketJbpmException | { | | try | { | final Collection tasks = context | .getTaskMgmtInstance().getTaskInstances(); | for (TaskInstance tasksInts : tasks) | { | | if (!tasksInts.hasEnded()) | { | tasksInts.end(); | log.info("task name: " + tasksInts.getName() + " has ended."); | } | } | // finally save the process instance contain here in timers | context.getJbpmContext().save( | context.getToken().getProcessInstance()); | when the time is up it always take the: Loan Review transition. am i missing something? im using 3.3.1.GA thanks a lot. cheers. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261195#4261195 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261195 From do-not-reply at jboss.com Tue Oct 20 04:45:38 2009 From: do-not-reply at jboss.com (DrBrain) Date: Tue, 20 Oct 2009 04:45:38 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - [jBPM4] Programatic deployment - DEPLOYPROP table is empty Message-ID: <25782056.1256028338097.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I'm trying to programmatically deploy a process definition, using: NewDeployment newDeployment = processEngine.getRepositoryService().createDeployment(); | newDeployment.addResourceFromString(processName, processDefinition).deploy(); The above creates two entires in my db, in JBPM4_DEPLOYMENT and JBPM4_LOB tables (nothing else is created in any other table). Later on, when I try to start an instance of the above process like: ExecutionService executionService = processEngine.getExecutionService(); | ProcessInstance pi = executionService.startProcessInstanceById(processID); passing as 'processID' the value I obtained during deployment, I get: org.jbpm.api.JbpmException: no process definition with id '15'. (15 is my processID obtained during deployment). Checking hibernate's queries, I see that jBPM is trying to execute: select * from ( select deployment0_.DBID_ as DBID1_81_, deployment0_.DEPLOYMENT_ as DEPLOYMENT2_81_, deployment0_.OBJNAME_ as OBJNAME3_81_, deploym | ent0_.KEY_ as KEY4_81_, deployment0_.STRINGVAL_ as STRINGVAL5_81_, deployment0_.LONGVAL_ as LONGVAL6_81_ from JBPM4_DEPLOYPROP deployment0_ where deployment0_.KEY_='pdid' and deployment0_.STRINGVAL_=' | 15' ) where rownum <= ? The above query obviously fails as JBPM4_DEPLOYPROP is totally empty. Any ideas what I may be doing wrong? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261197#4261197 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261197 From do-not-reply at jboss.com Tue Oct 20 05:03:14 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 20 Oct 2009 05:03:14 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Programatic deployment - DEPLOYPROP table is emp Message-ID: <30526401.1256029394987.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Are you sure you have obtained a process definition id during deployment and not a deployment id? Keep in mind that these are different. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261199#4261199 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261199 From do-not-reply at jboss.com Tue Oct 20 05:09:39 2009 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Tue, 20 Oct 2009 05:09:39 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - Re: JBossOSGi vs. Pax-Runner/Pax-Exam Message-ID: <17972929.1256029779567.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : | And both are working with an remote framework. Remote meaning that the Client Runner and Osgi Framework are running in separate processes. | Husky supports OSGi testing in a remote container. i.e. You can have a jboss instance running somewhere on the network and test osgi bundle functionality in that remote osgi environment. For details on the various runtime model see: http://jbossosgi.blogspot.com/2009/06/jboss-osgi-runtime-as-integration.html anonymous wrote : | we consider that all the tests have to run the osgi container | This is ok for isolated functional tests, but not for integration tests, where osgi bundles need to interact with container provided services. anonymous wrote : | I would even say that Pax Exam adds more to the table because you can configure the osgi framework use for tests for things like system properties, boot delegation packages, system packages, provisioned bundles, ... IT may be that Husky supports that too but was not obvious from the blog post. | Husky does not assume that a framework needs to be configured/started in any way. It is the responsibility of the TestCase or test environment to provide the Framework. A Husky Test gets the system BundleContext injected. The Service Provider Interface (SPI) takes care of the abstraction of the Framework. This includes configuration and also its embedded/remote nature http://jbmuc.dyndns.org/jboss-osgi/userguide/html/ChapDeveloperGuide.html#SecSPI http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta4/apidocs/org/jboss/osgi/spi/testing/package-summary.html I agree that this is not clear enough from the blog post and probably also not covered sufficiently in the user guide. We can fix that documentation aspect in Beta5: https://jira.jboss.org/jira/browse/JBOSGI-185 anonymous wrote : | why don't you join us? Pax Exam provides an extension point where you can plug in another test container , beside pax runner based one. Implement that based on JBoss and just have it in the classpath and your pax exam tests will be running in JBoss. | Currently, I can parametrize the jboss osgi testrun like this | mvn -Dtarget.container=jboss520 -Dframework=felix test | For details please see http://jbmuc.dyndns.org/jboss-osgi/userguide/html/ChapProvidedExamples.html#SecBuildAndRunExamples This is part of the key requirements I have on the testing framework used by JBoss OSGi. Additionally, as we move forward towards integration with existing jboss services. It will become necessary that we can deploy/test various other components. The test framework will have to support the (remote) deployment/access of EJB3, WebBeans, MBeans, ESB endpoints, etc. This might not all be on the PAX-Exam roadmap. Neither is it clear that it even should be. anonymous wrote : | Actually the collaboration could be batter as we can work on adding support for JBoss in Pax Runner. This will mean that jboss can be easy started and used by pax runner users, directly used in Pax Exam | anonymous wrote : | | | | This has a dependency on the JBoss Embedded project. It is not as easy as you might think to bootstrap JBoss as part of a unit test and it can certainly not be done as part of every TestCase setup. In this respect, what applies to an OSGi Framework does not necessarily also apply to a whole Application Server. | | | | Again, strategically it is important that whatever test framework JBoss OSGi uses - it must support integration aspects with a (remote) instance of the JBoss Application Server. | | | | It is mandatory that we actually test what JBoss OSGi users do (i.e. they deploy OSGi bundles in JBoss). | | | | What appears like a big overlap between Husky and PAX-Exam now, might turn out to be not so critical if you consider the scope of test functionality that JBoss OSGi actually has. i.e. we test much more than OSGi bundle functionality in a Framework that runs in a different process. | | | | Nevertheless, I am also open towards cooperation and it would be good if JBoss OSGi could simply "use" a test framework, without being its primary maintainer. | | | | Thanks for your feedback View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261201#4261201 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261201 From do-not-reply at jboss.com Tue Oct 20 05:12:41 2009 From: do-not-reply at jboss.com (DrBrain) Date: Tue, 20 Oct 2009 05:12:41 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Programatic deployment - DEPLOYPROP table is emp Message-ID: <21231731.1256029961589.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sebastian, actually, I think I have obtained a deployment ID and not a process definition ID as you mention. However, I believe the problem lies with the unpopulated table JBPM4_DEPLOYPROP. On some stand-alone testing I'm doing, I deploy the same process and I see this table being populated OK but when trying it on my web-app only JBPM4_DEPLOYMENT and JBPM4_LOB get populated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261202#4261202 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261202 From do-not-reply at jboss.com Tue Oct 20 05:23:11 2009 From: do-not-reply at jboss.com (Kevin.Conner@jboss.com) Date: Tue, 20 Oct 2009 05:23:11 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - Re: JBossOSGi vs. Pax-Runner/Pax-Exam Message-ID: <237098.1256030591943.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "thomas.diesler at jboss.com" wrote : The test framework will have to support the (remote) deployment/access of ... ESB endpoints, etc. It most definitely will not :) Kev View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261203#4261203 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261203 From do-not-reply at jboss.com Tue Oct 20 05:28:27 2009 From: do-not-reply at jboss.com (DrBrain) Date: Tue, 20 Oct 2009 05:28:27 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Programatic deployment - DEPLOYPROP table is emp Message-ID: <8420497.1256030907847.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> And here's the log output in case someone has a hint: 2009-10-20 12:18:52,379 DEBUG org.hibernate.jdbc.JDBCContext - successfully registered Synchronization | 2009-10-20 12:18:52,379 DEBUG org.hibernate.impl.SessionImpl - opened session at timestamp: 5144700241424384 | 2009-10-20 12:18:52,379 DEBUG org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2009-10-20 12:18:52,379 DEBUG org.hibernate.jdbc.ConnectionManager - opening JDBC connection | 2009-10-20 12:18:52,380 DEBUG org.hibernate.SQL - select hibernate_sequence.nextval from dual | 2009-10-20 12:18:52,381 DEBUG org.hibernate.id.SequenceGenerator - Sequence identifier generated: 103 | 2009-10-20 12:18:52,381 DEBUG org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2009-10-20 12:18:52,381 DEBUG org.hibernate.jdbc.ConnectionManager - aggressively releasing JDBC connection | 2009-10-20 12:18:52,381 DEBUG org.hibernate.jdbc.ConnectionManager - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] | 2009-10-20 12:18:52,381 DEBUG org.hibernate.event.def.AbstractSaveEventListener - generated identifier: 103, using strategy: org.hibernate.id.SequenceGenerator | 2009-10-20 12:18:52,382 DEBUG org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2009-10-20 12:18:52,382 DEBUG org.hibernate.jdbc.ConnectionManager - opening JDBC connection | 2009-10-20 12:18:52,382 DEBUG org.hibernate.SQL - select hibernate_sequence.nextval from dual | 2009-10-20 12:18:52,383 DEBUG org.hibernate.id.SequenceGenerator - Sequence identifier generated: 104 | 2009-10-20 12:18:52,383 DEBUG org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2009-10-20 12:18:52,393 DEBUG org.hibernate.jdbc.ConnectionManager - aggressively releasing JDBC connection | 2009-10-20 12:18:52,393 DEBUG org.hibernate.jdbc.ConnectionManager - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] | 2009-10-20 12:18:52,393 DEBUG org.hibernate.event.def.AbstractSaveEventListener - generated identifier: 104, using strategy: org.hibernate.id.SequenceGenerator | 2009-10-20 12:18:52,394 DEBUG .hibernate.event.def.AbstractFlushingEventListener - processing flush-time cascades | 2009-10-20 12:18:52,396 DEBUG .hibernate.event.def.AbstractFlushingEventListener - dirty checking collections | 2009-10-20 12:18:52,396 DEBUG org.hibernate.engine.Collections - Collection found: [org.jbpm.pvm.internal.repository.DeploymentImpl.resources#103], was: [] (initialized) | 2009-10-20 12:18:52,396 DEBUG .hibernate.event.def.AbstractFlushingEventListener - Flushed: 2 insertions, 0 updates, 0 deletions to 2 objects | 2009-10-20 12:18:52,396 DEBUG .hibernate.event.def.AbstractFlushingEventListener - Flushed: 1 (re)creations, 0 updates, 0 removals to 1 collections | 2009-10-20 12:18:52,398 DEBUG org.hibernate.pretty.Printer - listing entities: | 2009-10-20 12:18:52,398 DEBUG org.hibernate.pretty.Printer - org.jbpm.pvm.internal.lob.Lob{blob=org.hibernate.lob.SerializableBlob at 139160e, dbid=104, dbversion=0} | 2009-10-20 12:18:52,398 DEBUG org.hibernate.pretty.Printer - org.jbpm.pvm.internal.repository.DeploymentImpl{timestamp=0, resources=[org.jbpm.pvm.internal.lob.Lob#104], name=null, objectProperties=nul | l, state=active, dbid=103} | 2009-10-20 12:18:52,401 DEBUG org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2009-10-20 12:18:52,401 DEBUG org.hibernate.jdbc.ConnectionManager - opening JDBC connection | 2009-10-20 12:18:52,401 DEBUG org.hibernate.SQL - insert into JBPM4_DEPLOYMENT (NAME_, TIMESTAMP_, STATE_, DBID_) values (?, ?, ?, ?) | 2009-10-20 12:18:52,401 DEBUG org.hibernate.jdbc.AbstractBatcher - Executing batch size: 1 | 2009-10-20 12:18:52,403 DEBUG org.hibernate.jdbc.Expectations - success of batch update unknown: 0 | 2009-10-20 12:18:52,403 DEBUG org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2009-10-20 12:18:52,403 DEBUG org.hibernate.jdbc.ConnectionManager - skipping aggressive-release due to flush cycle | 2009-10-20 12:18:52,403 DEBUG org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2009-10-20 12:18:52,403 DEBUG org.hibernate.SQL - insert into JBPM4_LOB (DBVERSION_, BLOB_VALUE_, DBID_) values (?, ?, ?) | 2009-10-20 12:18:52,404 DEBUG org.hibernate.jdbc.AbstractBatcher - Executing batch size: 1 | 2009-10-20 12:18:52,407 DEBUG org.hibernate.jdbc.Expectations - success of batch update unknown: 0 | 2009-10-20 12:18:52,407 DEBUG org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2009-10-20 12:18:52,407 DEBUG org.hibernate.jdbc.ConnectionManager - skipping aggressive-release due to flush cycle | 2009-10-20 12:18:52,407 DEBUG e.persister.collection.AbstractCollectionPersister - Inserting collection: [org.jbpm.pvm.internal.repository.DeploymentImpl.resources#103] | 2009-10-20 12:18:52,407 DEBUG org.hibernate.jdbc.AbstractBatcher - about to open PreparedStatement (open PreparedStatements: 0, globally: 0) | 2009-10-20 12:18:52,407 DEBUG org.hibernate.SQL - update JBPM4_LOB set DEPLOYMENT_=?, NAME_=? where DBID_=? | 2009-10-20 12:18:52,409 DEBUG e.persister.collection.AbstractCollectionPersister - done inserting collection: 1 rows inserted | 2009-10-20 12:18:52,409 DEBUG org.hibernate.jdbc.AbstractBatcher - Executing batch size: 1 | 2009-10-20 12:18:52,410 DEBUG org.hibernate.jdbc.Expectations - success of batch update unknown: 0 | 2009-10-20 12:18:52,410 DEBUG org.hibernate.jdbc.AbstractBatcher - about to close PreparedStatement (open PreparedStatements: 1, globally: 1) | 2009-10-20 12:18:52,411 DEBUG org.hibernate.jdbc.ConnectionManager - skipping aggressive-release due to flush cycle | 2009-10-20 12:18:52,412 DEBUG org.hibernate.jdbc.ConnectionManager - aggressively releasing JDBC connection | 2009-10-20 12:18:52,412 DEBUG org.hibernate.jdbc.ConnectionManager - releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)] | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261205#4261205 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261205 From do-not-reply at jboss.com Tue Oct 20 06:28:23 2009 From: do-not-reply at jboss.com (Fuchs) Date: Tue, 20 Oct 2009 06:28:23 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once Message-ID: <18705449.1256034503867.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Excuse that I have not explained my post enough. Now, I want to make up this. build.xml: The build.xml script generates an *.ejbjar file which is not deployed by my jboss 5.0.1.GA default server. So I changed the build-script to make a *.jar file. I also changed the directories, where EJB is found, from "/server/default/deploy/ejb3.deployer" to "/server/default/deployers/ejb3.deployer". The path to "jboss-aop-jdk50.deployer", I changed to "/server/default/deployers/jboss-aop-jboss5.deployer". That was all what I changed on the server-side. Client.java: The client.java in the tutorial looks like this: | InitialContext ctx = new InitialContext(); | ExampleTimer timer = (ExampleTimer) ctx.lookup(ExampleTimer.class.getName()); | timer.scheduleTimer(5000); | It use a "jndi.properties" which looks like this: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=localhost With this Configuration, I get the following exception: com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl | WARNUNG: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: xxx.xx.xx.xxx; port: 900" | org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 201 completed: No | ... | Caused by: java.net.ConnectException: Connection refused: connect 900 is the wrong port, so I implemented the following in the client.java: try { | Properties p = new Properties(); | p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | p.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | p.put(Context.PROVIDER_URL, "jnp://localhost:1099"); | Context ctx = new InitialContext(p); | Object ref = ctx.lookup("TimerBean/remote"); | ExampleTimer cbr =(ExampleTimer) PortableRemoteObject.narrow(ref, ExampleTimer.class); | cbr.scheduleTimer(5000); | | } catch (NamingException e){ | e.printStackTrace(); | } The next exception was: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory] | ... | Caused by: java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory After I added the jbossall-client.jar it deployed. I could not reproduce why I added these arguments (-Djava.naming.factory.initial=com.sun.jndi.cosnaming.CNCtxFactory), so I removed them. Client-Console: HELLO FROM CLIENT ! | log4j:WARN No appenders could be found for logger (org.jnp.interfaces.TimedSocketFactory). | log4j:WARN Please initialize the log4j system properly. Server-Console: | Jboss start | ... | 10:58:20,775 INFO [JndiSessionRegistrarBase] Binding the following Entries in G | lobal JNDI: | | SecureDeploymentManager/remote - EJB3.x Default Remote Business Interfac | e | SecureDeploymentManager/remote-org.jboss.deployers.spi.management.deploy | .DeploymentManager - EJB3.x Remote Business Interface | | 10:58:20,934 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice | -secured.jar,name=SecureManagementView,service=EJB3 | 10:58:20,934 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.Secu | reManagementView ejbName: SecureManagementView | 10:58:20,966 INFO [JndiSessionRegistrarBase] Binding the following Entries in G | lobal JNDI: | | SecureManagementView/remote - EJB3.x Default Remote Business Interface | SecureManagementView/remote-org.jboss.deployers.spi.management.Managemen | tView - EJB3.x Remote Business Interface | | 10:58:21,156 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=profileservice | -secured.jar,name=SecureProfileService,service=EJB3 | 10:58:21,156 INFO [EJBContainer] STARTED EJB: org.jboss.profileservice.ejb.Secu | reProfileServiceBean ejbName: SecureProfileService | 10:58:21,204 INFO [JndiSessionRegistrarBase] Binding the following Entries in G | lobal JNDI: | | SecureProfileService/remote - EJB3.x Default Remote Business Interface | SecureProfileService/remote-org.jboss.profileservice.spi.ProfileService | - EJB3.x Remote Business Interface | | 10:58:21,744 INFO [TomcatDeployment] deploy, ctxPath=/admin-console | 10:58:22,649 INFO [config] Initializing Mojarra (1.2_12-b01-FCS) for context '/ | admin-console' | 10:58:29,398 INFO [TomcatDeployment] deploy, ctxPath=/ | 10:58:29,763 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console | 10:58:30,001 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8 | 080 | 10:58:30,112 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 | 10:58:30,128 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag= | JBoss_5_1_0_GA date=200905221053)] Started in 1m:55s:949ms | | | After deploy: | 11:01:13,169 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFS | DeploymentContext at 16634496{vfszip:/D:/server/exp-server/jboss-5.1.0.GA/server/de | fault/deploy/tutorial.jar/} | 11:01:13,201 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFS | DeploymentContext at 16634496{vfszip:/D:/server/exp-server/jboss-5.1.0.GA/server/de | fault/deploy/tutorial.jar/} | 11:01:13,421 INFO [JBossASKernel] Created KernelDeployment for: tutorial.jar | 11:01:13,421 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=tutorial.jar, | name=TimerBean,service=EJB3 | 11:01:13,421 INFO [JBossASKernel] with dependencies: | 11:01:13,421 INFO [JBossASKernel] and demands: | 11:01:13,421 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService | 11:01:13,421 INFO [JBossASKernel] and supplies: | 11:01:13,421 INFO [JBossASKernel] jndi:TimerBean/remote | 11:01:13,421 INFO [JBossASKernel] jndi:TimerBean/remote-ejb.timer.createbi | ll.ExampleTimer | 11:01:13,421 INFO [JBossASKernel] Class:ejb.timer.createbill.ExampleTimer | 11:01:13,421 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=tutorial.jar,name=T | imerBean,service=EJB3) to KernelDeployment of: tutorial.jar | 11:01:13,421 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at 150f2ec{na | me=jboss.j2ee:jar=tutorial.jar,name=TimerBean,service=EJB3_endpoint bean=org.jbo | ss.ejb3.endpoint.deployers.impl.EndpointImpl properties=[container] constructor= | null autowireCandidate=true} | 11:01:13,499 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=tutorial.jar,n | ame=TimerBean,service=EJB3 | 11:01:13,499 INFO [EJBContainer] STARTED EJB: ejb.timer.createbill.TimerBean ej | bName: TimerBean | 11:01:13,515 INFO [JndiSessionRegistrarBase] Binding the following Entries in G | lobal JNDI: | | TimerBean/remote - EJB3.x Default Remote Business Interface | TimerBean/remote-ejb.timer.createbill.ExampleTimer - EJB3.x Remote Busin | ess Interface | | After start | 11:13:50,323 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsF | actory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the b | ean container | 11:13:50,323 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsF | actory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the b | ean container | 11:13:55,497 INFO [STDOUT] --------------------- | 11:13:55,497 INFO [STDOUT] * Received Timer event: Hello World | 11:13:55,497 INFO [STDOUT] --------------------- But the receiving of the timer event appears only once. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261215#4261215 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261215 From do-not-reply at jboss.com Tue Oct 20 06:57:17 2009 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 20 Oct 2009 06:57:17 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once Message-ID: <16103326.1256036237485.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "Fuchs" wrote : | | build.xml: | The build.xml script generates an *.ejbjar file which is not deployed by my jboss 5.0.1.GA default server. So I changed the build-script to make a *.jar file. | I also changed the directories, where EJB is found, from "/server/default/deploy/ejb3.deployer" to "/server/default/deployers/ejb3.deployer". | The path to "jboss-aop-jdk50.deployer", I changed to "/server/default/deployers/jboss-aop-jboss5.deployer". | That was all what I changed on the server-side. | | Could you point us to the URL of the tutorial you are referring to? I have a feeling that you are running the 4.x tutorials against AS-5.x. The build.xml for the latest tutorials targeted against AS-5.x, which are available here http://www.jboss.org/ejb3/docs/, has no references to any of the files you mentioned. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261223#4261223 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261223 From do-not-reply at jboss.com Tue Oct 20 06:59:12 2009 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 20 Oct 2009 06:59:12 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once Message-ID: <11071412.1256036352084.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> 11:01:13,499 INFO [EJBContainer] STARTED EJB: ejb.timer.createbill.TimerBean ejbName: TimerBean You definitely are running AS-4.x tutorials against AS-5 :) The new EJB3 tutorials for AS-5 are available at the link that i posted in my previous reply. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261224#4261224 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261224 From do-not-reply at jboss.com Tue Oct 20 08:19:12 2009 From: do-not-reply at jboss.com (GajananM) Date: Tue, 20 Oct 2009 08:19:12 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: java.lang.LinkageError: loader constraint violation:(In Message-ID: <28123035.1256041152697.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> please refer the below link for jbossws patch(http://www.jboss.org/jbossws/downloads/) and follow the instruction which is given in readme. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261246#4261246 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261246 From do-not-reply at jboss.com Tue Oct 20 08:21:36 2009 From: do-not-reply at jboss.com (GajananM) Date: Tue, 20 Oct 2009 08:21:36 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: java.lang.LinkageError: loader constraint violation:(In Message-ID: <23949159.1256041296376.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> download the below patch http://www.jboss.org/jbossws/downloads/ follow the instruction which is given in readme .txt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261249#4261249 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261249 From do-not-reply at jboss.com Tue Oct 20 08:25:37 2009 From: do-not-reply at jboss.com (DrBrain) Date: Tue, 20 Oct 2009 08:25:37 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Programatic deployment - DEPLOYPROP table is emp Message-ID: <21114637.1256041537180.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> And to reply to myself, the problem is with the 'addResourceFromString'. As a first argument you need to pass a name ending in ".jpdl.xml". After that, everything works fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261250#4261250 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261250 From do-not-reply at jboss.com Tue Oct 20 08:31:11 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Tue, 20 Oct 2009 08:31:11 -0400 (EDT) Subject: [jboss-user] [Security] - ejb not validating user role at session bean methods + JAAS Message-ID: <26188793.1256041871504.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Im using ejb3 with JAAS and has defined the security policy in login-config.xml file. The policy is specified in my ear's META-INF/jboss.xml file. But i see that even when i define the server method with a role that is not in the role list of the user calling the server method, the container allows the method to be accessed. for debugging i tried printing SessionContext.isCallerInRole(role) within the method with the role as my method role. Now this is returned false as expected. In such a case ejb should not have allowed the calling function to access the method at all... My configuration was something that has worked well for jboss4. all these problems started once after i migrated to jboss5... What am i doing wrong here, or is there anything else that has to be configured.... Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261251#4261251 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261251 From do-not-reply at jboss.com Tue Oct 20 09:29:26 2009 From: do-not-reply at jboss.com (Ovi) Date: Tue, 20 Oct 2009 09:29:26 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Bridge error because of network problems also influences Message-ID: <13444844.1256045366271.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I had the same problem which on my side was caused by accessing 2 different data-sources within the same transaction (XA transaction on Oracle database). E.g. Method X is calling method Y which does an database A insert and calls method Z which does a database B update. The solution was to annotate method Y and method Z with: @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) Hope this helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261262#4261262 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261262 From do-not-reply at jboss.com Tue Oct 20 09:32:39 2009 From: do-not-reply at jboss.com (Ovi) Date: Tue, 20 Oct 2009 09:32:39 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Weird transaction error Message-ID: <4891084.1256045559964.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I had the same problem which on my side was caused by accessing 2 different data-sources within the same transaction (XA transaction on Oracle database). E.g. Method X is calling method Y which does an database A insert and calls method Z which does a database B update. The solution was to annotate method Y and method Z with: @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) Hope this helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261263#4261263 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261263 From do-not-reply at jboss.com Tue Oct 20 10:15:05 2009 From: do-not-reply at jboss.com (bwestrich) Date: Tue, 20 Oct 2009 10:15:05 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Catching invalid transition names in jBPM4 Message-ID: <14534385.1256048105703.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You're absolutely right, I could just call take() and see if it throws an exception. That approach would be simpler than the one I suggested. Thanks for pointing it out. So to summarize, it looks like the Execution interface does provide a way to see if a transition is valid (i.e. call take and see if it throws an exception). On the other hand, to get the list of valid transitions one must use the underlying implementation classes (ExecutionImpl, etc.). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261274#4261274 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261274 From do-not-reply at jboss.com Tue Oct 20 10:22:22 2009 From: do-not-reply at jboss.com (Krohm) Date: Tue, 20 Oct 2009 10:22:22 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Store long strings as variables Message-ID: <26539624.1256048542186.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I am currently trying to store strings of various lengths into JBPM4 context. This works fine until the string reaches the maximum size defined in the database, then crashes. The behavior I am trying to obtain is the following : * String is stored as a String if shorted than the limit. * String is stored as a Blob if it longer than the limit. I have tried to remove the following line in the jbpm.variables.types.xml file : This works just fine, as all strings are saved a Blobs as Strings are Serializable . (which is not what I am aiming at). Is my understanding correct when I assume it is not possible to have my strings handled as Strings or as Blobs depending on their size just with configuration ? I was thinking of implementing another Variable class in order to replace org.jbpm.pvm.internal.type.variable.StringVariable and handle this. Does it make any sense or is there a much simpler way to do this ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261277#4261277 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261277 From do-not-reply at jboss.com Tue Oct 20 10:25:53 2009 From: do-not-reply at jboss.com (anil.saldhana@jboss.com) Date: Tue, 20 Oct 2009 10:25:53 -0400 (EDT) Subject: [jboss-user] [Security] - Re: JBoss Negotiation 2.0.3.GA issue with Windows Vista ( Message-ID: <27977464.1256048753459.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Eduardo, are you interested in submitting a patch? I don't think we have tested with a Vista Client yet. Your patch seems non-intrusive at the moment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261278#4261278 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261278 From do-not-reply at jboss.com Tue Oct 20 10:31:20 2009 From: do-not-reply at jboss.com (mwx.dennis) Date: Tue, 20 Oct 2009 10:31:20 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Role check is not executed Message-ID: <28944398.1256049080197.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm getting started with security stuff and have a very basic question concerning authorization. In my stateless session bean, deployed in a JBoss AS 5.1.0, I marked a business method with @DenyAll to see how security prevents me from calling this method. I did not change the security setup, i.e. did not modify the login-config.xml. My problem is, the method is executed as if there was no @DenyAll annotation. I also tried to put it in the remote interface and tried @RolesAllowed(..) too. Is this correct behavior? I would have expected the container to block these calls. What do I have to do to make it work? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261280#4261280 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261280 From do-not-reply at jboss.com Tue Oct 20 11:03:50 2009 From: do-not-reply at jboss.com (mwx.dennis) Date: Tue, 20 Oct 2009 11:03:50 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Role check is not executed Message-ID: <29300309.1256051030783.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> When I add a @SecurityDomain annotation to my EJB the call fails as expected. This feels a bit dicey - when I forget to put the @SecurityDomain annotation in an EJB my authorization checks won't work and there will be no warning. Is there a way to assign a security domain globally, i.e. for an entire application? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261291#4261291 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261291 From do-not-reply at jboss.com Tue Oct 20 11:06:12 2009 From: do-not-reply at jboss.com (Fuchs) Date: Tue, 20 Oct 2009 11:06:12 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once Message-ID: <22040610.1256051172490.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks! thats correct, I used the old example. This explains why I had to change so much things. :-). But now, if I use the timer-example for jboss 5, the result is the same: | 16:52:33,365 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFS | DeploymentContext at 5005412{vfszip:/D:/server/exp-server/jboss-5.1.0.GA/server/def | ault/deploy/jboss-ejb3-tutorial-timer.jar/} | 16:52:33,381 INFO [Ejb3DependenciesDeployer] Encountered deployment AbstractVFS | DeploymentContext at 5005412{vfszip:/D:/server/exp-server/jboss-5.1.0.GA/server/def | ault/deploy/jboss-ejb3-tutorial-timer.jar/} | 16:52:33,725 INFO [JBossASKernel] Created KernelDeployment for: jboss-ejb3-tuto | rial-timer.jar | 16:52:33,725 INFO [JBossASKernel] installing bean: jboss.j2ee:jar=jboss-ejb3-tu | torial-timer.jar,name=ExampleTimerBean,service=EJB3 | 16:52:33,725 INFO [JBossASKernel] with dependencies: | 16:52:33,725 INFO [JBossASKernel] and demands: | 16:52:33,725 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService | 16:52:33,725 INFO [JBossASKernel] and supplies: | 16:52:33,725 INFO [JBossASKernel] Class:jboss5ejb3.timer.bean.ExampleTimer | | 16:52:33,725 INFO [JBossASKernel] jndi:ExampleTimerBean/remote-jboss5ejb3. | timer.bean.ExampleTimer | 16:52:33,725 INFO [JBossASKernel] jndi:ExampleTimerBean/remote | 16:52:33,725 INFO [JBossASKernel] Added bean(jboss.j2ee:jar=jboss-ejb3-tutorial | -timer.jar,name=ExampleTimerBean,service=EJB3) to KernelDeployment of: jboss-ejb | 3-tutorial-timer.jar | 16:52:33,725 INFO [EJB3EndpointDeployer] Deploy AbstractBeanMetaData at 1d3da65{na | me=jboss.j2ee:jar=jboss-ejb3-tutorial-timer.jar,name=ExampleTimerBean,service=EJ | B3_endpoint bean=org.jboss.ejb3.endpoint.deployers.impl.EndpointImpl properties= | [container] constructor=null autowireCandidate=true} | 16:52:33,787 INFO [SessionSpecContainer] Starting jboss.j2ee:jar=jboss-ejb3-tut | orial-timer.jar,name=ExampleTimerBean,service=EJB3 | 16:52:33,803 INFO [EJBContainer] STARTED EJB: jboss5ejb3.timer.bean.ExampleTime | rBean ejbName: ExampleTimerBean | 16:52:33,803 INFO [JndiSessionRegistrarBase] Binding the following Entries in G | lobal JNDI: | | ExampleTimerBean/remote - EJB3.x Default Remote Business Interface | ExampleTimerBean/remote-jboss5ejb3.timer.bean.ExampleTimer - EJB3.x Remo | te Business Interface | | 16:52:40,068 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsF | actory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the b | ean container | 16:52:40,068 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsF | actory with a ManagedObjectAdvisor, InterceptorRegistry should be used via the b | ean container | 16:52:40,381 INFO [STDOUT] --------------------- | 16:52:40,381 INFO [STDOUT] Created a timer event to be triggered after 5000 mil | li seconds | 16:52:40,381 INFO [STDOUT] --------------------- | 16:52:45,115 INFO [STDOUT] --------------------- | 16:52:45,115 INFO [STDOUT] * Received Timer event: Hello World | 16:52:45,115 INFO [STDOUT] --------------------- | Do I have to add additional things to the Jboss, like special libraries ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261294#4261294 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261294 From do-not-reply at jboss.com Tue Oct 20 11:16:52 2009 From: do-not-reply at jboss.com (eduardo_thp) Date: Tue, 20 Oct 2009 11:16:52 -0400 (EDT) Subject: [jboss-user] [Security] - Re: JBoss Negotiation 2.0.3.GA issue with Windows Vista ( Message-ID: <2230667.1256051812631.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yes, I can do it without problems, I just need directions on how submit it. It would also be good to have someone with more knowledge about the Token structure having a look at the code, as the fix I did was mostly based on observations. I tested the fix on two different environments and worked well. Regards, Eduardo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261301#4261301 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261301 From do-not-reply at jboss.com Tue Oct 20 11:18:07 2009 From: do-not-reply at jboss.com (Brian13) Date: Tue, 20 Oct 2009 11:18:07 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - RichFaces Portlet causes timeout Exception Message-ID: <10695130.1256051887657.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I have implemented a RichFaces portlet which has just one page view from which the actions do not cause the portlet to navigate away. The Portlet has quite a few RichFaces components including rich:tree ... for the most part these components interact and work fine. But the portlet after about 10 minutes of inactivity throws the following Exception and crashes here is the stack trace ... javax.faces.FacesException: No saved portlet window state for an id 736b023d-3b0d-480d-9c23-6027130534ab:view:8c4c06b4-d05d-41b1-9689-3a6e1b763829 at org.jboss.portletbridge.context.ServletExternalContextImpl.(ServletExternalContextImpl.java:101) at org.jboss.portletbridge.context.FacesContextFactoryImpl.getFacesContext(FacesContextFactoryImpl.java:164) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:260) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) 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:182) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 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:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:619) I have set the following parameter as well but it seems to have no impact: 120 Any pointers to why this is perhaps occurring would be deeply appreciated ... Regards, -- Brian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261302#4261302 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261302 From do-not-reply at jboss.com Tue Oct 20 11:22:15 2009 From: do-not-reply at jboss.com (Brian13) Date: Tue, 20 Oct 2009 11:22:15 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: RichFaces Portlet causes timeout Exception Message-ID: <1280366.1256052135652.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Clarification to this post -- the Portlet is a JBOSS Portlet with Rich Faces components ... -- Brian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261303#4261303 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261303 From do-not-reply at jboss.com Tue Oct 20 11:38:05 2009 From: do-not-reply at jboss.com (Brian13) Date: Tue, 20 Oct 2009 11:38:05 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: RichFaces Portlet causes timeout Exception Message-ID: <28473930.1256053085364.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> JBoss Portal Version - 2.7. 2 JBoss AS Version - 4.2.3 OS Platform -- Ubuntu Linux 8.10 RichFaces -- 3.3.1 GA JBoss Portlet Bridge -- 1.0.0. CR2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261308#4261308 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261308 From do-not-reply at jboss.com Tue Oct 20 11:56:57 2009 From: do-not-reply at jboss.com (mwx.dennis) Date: Tue, 20 Oct 2009 11:56:57 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Role check is not executed Message-ID: <15846433.1256054217541.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> OK, to make this a perfect monolog and for reference.. ;-) I found the answer in the EJB3.0 book (OReilly), in the JBoss workbook. In the jboss.xml (in the EJB jar's META-INF) add the following entry: other This defines "other" as the global security domain. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261312#4261312 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261312 From do-not-reply at jboss.com Tue Oct 20 12:01:46 2009 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 20 Oct 2009 12:01:46 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once Message-ID: <6845068.1256054506273.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Now that we know you are looking at the correct examples, let's look into the details :) "Fuchs" wrote : | Now, the Server-Methode should be called every fifth sec. | In my Application it is only once called. If you look at the bean implementation http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/docs/tutorial/timer/src/org/jboss/tutorial/timer/bean/ExampleTimerBean.java, we are calling the createTimer with 2 arguments: ctx.getTimerService().createTimer(new Date(new Date().getTime() + milliseconds), "Hello World"); | This will create a timer which is scheduled to be triggered at the specified time, only once. If you want it to repeat every x milli seconds, then you will have to use the overloaded method which accepts 3 arguments http://java.sun.com/javaee/5/docs/api/javax/ejb/TimerService.html#createTimer(java.util.Date,%20long,%20java.io.Serializable) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261313#4261313 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261313 From do-not-reply at jboss.com Tue Oct 20 12:06:03 2009 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 20 Oct 2009 12:06:03 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Role check is not executed Message-ID: <12933676.1256054763765.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You can add it to the jboss.xml so that it applies to the entire ejb application: | | | ... | blah | ... | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261314#4261314 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261314 From do-not-reply at jboss.com Tue Oct 20 12:07:35 2009 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 20 Oct 2009 12:07:35 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Role check is not executed Message-ID: <28950171.1256054855841.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ah, you did not give me a change to break your monologue ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261315#4261315 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261315 From do-not-reply at jboss.com Tue Oct 20 12:07:41 2009 From: do-not-reply at jboss.com (kadrim) Date: Tue, 20 Oct 2009 12:07:41 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - how to programatically list actitities from one activity Message-ID: <4466086.1256054861486.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> === Environment ============================== - jBPM Version : jbpm 4.1 on WinXP - Database : Mysql 5.1 - JDK : 1.5.0.11 - Container : Tomcat 6.0.20 - Configuration : importing files from the jbpm.jar - Libraries : I had to replace el-jar from tomcat with juel* from jbpm === Process ================================== < process name="StateSequence" xmlns="http://jbpm.org/4.0/jpdl" > < start g="16,18,48,48" > < transition to="a" / > < /start > < state name="a" g="96,16,75,52" > < transition to="b" / > < transition to="c" / > < /state > < state name="b" g="203,16,73,52" > < transition to="c" / > < /state > < end name="c" g="308,16,76,52" / > < /process > === Problem description ========================= How do I do to know programatically that state "a" has to two transitions: "b" and "c"? because : Execution.getExecutions(): Only lists active executions Execution.findActiveActivityNames(): Only lists active activities I need something like: Execution.listActivities(): List activities of current activity so I'd get transtion "b" and "c". Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261316#4261316 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261316 From do-not-reply at jboss.com Tue Oct 20 12:12:31 2009 From: do-not-reply at jboss.com (mwx.dennis) Date: Tue, 20 Oct 2009 12:12:31 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Role check is not executed Message-ID: <26014217.1256055151060.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry :-o But thanks for answering anyway. I'm sure I will have more questions which will not end up in a monologue ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261318#4261318 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261318 From do-not-reply at jboss.com Tue Oct 20 12:38:38 2009 From: do-not-reply at jboss.com (anil.saldhana@jboss.com) Date: Tue, 20 Oct 2009 12:38:38 -0400 (EDT) Subject: [jboss-user] [Security] - Re: JBoss Negotiation 2.0.3.GA issue with Windows Vista ( Message-ID: <8661016.1256056718499.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Eduardo, very simple: https://jira.jboss.org/jira/browse/SECURITY-439 Sign yourself up for the JBoss JIRA and assign the issue to yourself. Attach the patch to the jira issue (if you please). Better approach: 1) Sign a simple contributor agreement as an individual or corporate (whatever works for you). http://jboss.org/contribute 2) After that, once the agreement is done, I will give you the commit rights for you to apply the patch yourself (as a token of appreciation for the work you did). Deal? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261324#4261324 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261324 From do-not-reply at jboss.com Tue Oct 20 12:39:56 2009 From: do-not-reply at jboss.com (bwestrich) Date: Tue, 20 Oct 2009 12:39:56 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - are there event handlers at the process definition level in Message-ID: <2252351.1256056796662.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, Are process definition level event handlers implemented in jBPM 4.x? Here's a 3.2.3 example... | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261326#4261326 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261326 From do-not-reply at jboss.com Tue Oct 20 12:57:11 2009 From: do-not-reply at jboss.com (anil.saldhana@jboss.com) Date: Tue, 20 Oct 2009 12:57:11 -0400 (EDT) Subject: [jboss-user] [Security] - Re: JBoss Negotiation with Win Vista Message-ID: <18410618.1256057831245.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> https://jira.jboss.org/jira/browse/SECURITY-439 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261329#4261329 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261329 From do-not-reply at jboss.com Tue Oct 20 13:13:00 2009 From: do-not-reply at jboss.com (anil.saldhana@jboss.com) Date: Tue, 20 Oct 2009 13:13:00 -0400 (EDT) Subject: [jboss-user] [Security] - Re: SSO on JBOSS with Kerberos Message-ID: <23541401.1256058780158.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What is wrong with JBossNegotiation that is prompting people to go look for solutions elsewhere? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261332#4261332 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261332 From do-not-reply at jboss.com Tue Oct 20 13:14:35 2009 From: do-not-reply at jboss.com (eduardo_thp) Date: Tue, 20 Oct 2009 13:14:35 -0400 (EDT) Subject: [jboss-user] [Security] - Re: JBoss Negotiation 2.0.3.GA issue with Windows Vista ( Message-ID: <2786741.1256058876002.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Deal ! The agreement has been signed :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261334#4261334 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261334 From do-not-reply at jboss.com Tue Oct 20 13:17:17 2009 From: do-not-reply at jboss.com (markroy) Date: Tue, 20 Oct 2009 13:17:17 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - [jBPM4.1] Update hibernate-type process variables via form t Message-ID: <583655.1256059037209.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In the Freemarker template attached to my task node, if I have a form field that references a process variable of a simple type, String e.g., [input type="text" name="stringProcVar" value="${stringProcVar}"] the process variable stringProcVar is updated on form submit. However, if I have a form field that references 'objvar', a process variable that is of type 'hibernate entity with a string id': [input type="text" name="objvar.property" value="${objvar.property}"] the properties of 'objvar' are displayed correctly in the form. However, updates to the value (input field on form post) do not update objvar's properties. Instead, a new process variable is created: (server.log) DEBUG [org.jbpm.pvm.internal.model.ScopeInstanceImpl] (http-127.0.0.1-8080-5) create variable 'objvar.property' in 'execution[ESP-9]' with value 'abc123' Is this something that should work? If so, what should the field 'name' property be set to? Thanks, Mark View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261335#4261335 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261335 From do-not-reply at jboss.com Tue Oct 20 13:43:26 2009 From: do-not-reply at jboss.com (rams.rapo) Date: Tue, 20 Oct 2009 13:43:26 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity Message-ID: <28965085.1256060606921.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Take a Look at GetOutcomes.java | ExecutionImpl execution = (task != null ? task.getExecution() : null); | ActivityImpl activity = (execution != null ? execution.getActivity() : null); | List outgoingTransitions = (activity != null ? activity.getOutgoingTransitions() : null); | | if (outgoingTransitions != null) { | for (Transition transition : outgoingTransitions) { | //transition.getName() is transition name (name on arrow) | //transition.getDestination().getName() is final end node where | } | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261336#4261336 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261336 From do-not-reply at jboss.com Tue Oct 20 13:51:32 2009 From: do-not-reply at jboss.com (anil.saldhana@jboss.com) Date: Tue, 20 Oct 2009 13:51:32 -0400 (EDT) Subject: [jboss-user] [Security] - Re: JBoss Negotiation 2.0.3.GA issue with Windows Vista ( Message-ID: <3127867.1256061092005.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Next assign the jira issue to yourself. Once that is done, I give you commit rights. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261337#4261337 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261337 From do-not-reply at jboss.com Tue Oct 20 14:03:07 2009 From: do-not-reply at jboss.com (piotr.sobczyk) Date: Tue, 20 Oct 2009 14:03:07 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - re: where is a Message-ID: <26538071.1256061787524.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Rob, thanks for thorough answer, now I understand why "clean" button is not here. anonymous wrote : But I can add the clean action to my view temporarily until I get around to removing the JBoss Servers View entirely =] It would be really cool! :) anonymous wrote : As for what "publish" does, some people run with the automatic publishing NOT enabled. This means when they make changes to their workspace, they do NOT publish the changes right away. These users love being in control of when the publish occurs, and prefer to have the button there to do it. Hey, I didn't know about this! I will also switch for manual publishing, because system slowing down for several seconds every time I save is very irritating. I wish I knew about such option earlier but anyways good to know. And would id be hard to make JBoss Tools deploy application automatically when it's "dirty" (not synchronized with AS) and user wants to launch as opposed to everytime he saves it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261341#4261341 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261341 From do-not-reply at jboss.com Tue Oct 20 14:20:55 2009 From: do-not-reply at jboss.com (JBossBorot) Date: Tue, 20 Oct 2009 14:20:55 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Topic Listener MDB problems Message-ID: <31865300.1256062855018.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> So, indeed, the fix seems to have been related to a missing Activation Property: @ActivationConfigProperty(propertyName = "destination", propertyValue = "JMSTopic1"). This is kinda strange, since the setting mappedName, already names the Topic. The bean wasn't deploying properly, but the error was swallowed until the JBoss log4j settings were set to TRACE, which ended up spelling out the details. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261347#4261347 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261347 From do-not-reply at jboss.com Tue Oct 20 14:22:28 2009 From: do-not-reply at jboss.com (rob.stryker@jboss.com) Date: Tue, 20 Oct 2009 14:22:28 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Where is a Message-ID: <6866535.1256062948372.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We have a bug opened on eclipse webtools / servertools to add automatic publish on BUILD events. I do not think they will accept the idea of automatic publishing on LAUNCH. I don't think that fits in very well with the current options. Also it took a bit of fighting to get WTP to add the on-build so I think it would take even longer for on-launch! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261349#4261349 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261349 From do-not-reply at jboss.com Tue Oct 20 14:30:10 2009 From: do-not-reply at jboss.com (jbossphan) Date: Tue, 20 Oct 2009 14:30:10 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: are there event handlers at the process definition level Message-ID: <3623911.1256063410777.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The http://docs.jboss.com/jbpm/v4/schemadocs allows this although event handling has changed. The syntax for events changed from: | | | | to: | | | | I think the event name for a transition is now "take" although I haven't tried this. Because of changes in the underlying environment I have been able to get rid of "global" event handlers in 4.1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261353#4261353 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261353 From do-not-reply at jboss.com Tue Oct 20 14:44:01 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 20 Oct 2009 14:44:01 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4] Programatic deployment - DEPLOYPROP table is emp Message-ID: <31101115.1256064241228.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> There are lots of unittests for this in the source. Maybe you can have a look there and take note of the differences. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261358#4261358 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261358 From do-not-reply at jboss.com Tue Oct 20 15:27:22 2009 From: do-not-reply at jboss.com (lixlix) Date: Tue, 20 Oct 2009 15:27:22 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - Re: Classloader question Message-ID: <22049458.1256066842956.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Thomas, thanks for your quick response. I either need to access an OSGi-provided service in a SLSB or in a JSF Backing Bean. Are there any plans for EJB/OSGi support I have a further, related question: If I deploy the WAR into the OSGi container, is its functionality distributed via the JBossAS or via the OSGi-embedded Jetty? Kindest, Falk View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261361#4261361 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261361 From do-not-reply at jboss.com Tue Oct 20 15:54:17 2009 From: do-not-reply at jboss.com (bwalker55) Date: Tue, 20 Oct 2009 15:54:17 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: 'table does not exist' error after changing default data Message-ID: <9416978.1256068457919.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have turned on audiiting in Oracle. The results are: OWNER OBJ_NAME ACTION_NAME ------------------------------------------------- JBOSS JMS_USERS CREATE TABLE JBOSS JMS_ROLES CREATE TABLE JBOSS JMS_SUBSCRIPTIONS CREATE TABLE JBOSS JMS_ROLES SESSION REC JBOSS JMS_USERS SESSION REC JBOSS JMS_TRANSACTIONS SELECT It would appear that the table that is missing is JMS_TRANSACTIONS. Note that the other three tables have a CREATE TABLE attempt (which will only be successful the first time), then a SELECT. JMS_TRANSACTIONS is never created, so the SELECT statement always fails. I have verified this by created a dummy JMS_TRANSACTIONS table. The error in the log file has changed to: ... Caused by: java.sql.SQLException: ORA-00904: "TXID": invalid identifier ... So obviously TXID is at least one of the column names in JMS_TRANSACTIONS. Can someone please post the schema for JMS_TRANSACTIONS. Thanks, Bob. PS Might also want to raise this issue in the appropriate place to get a CREATE TABLE statement added. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261364#4261364 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261364 From do-not-reply at jboss.com Tue Oct 20 16:05:30 2009 From: do-not-reply at jboss.com (kadrim) Date: Tue, 20 Oct 2009 16:05:30 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity Message-ID: <30225744.1256069130051.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Interesting.... Thanks rams.rapo for your time... But this means I have to use some classes of internal pvm, for instance : org.jbpm.pvm.internal.cmd.GetOutcomes.java , and GetOutComes needs an instance of Environment in its execute method... "... public Set execute(Environment environment) { ..." I've been looking at the code of org.jbpm.pvm.internal.cmd and it seems simple to use. Besides, I've been reading the developer's guide and this enlightment came to me: "... JbpmConfiguration jbpmcfg = new JbpmConfiguration(); ProcessEngine proceng = jbpmcfg.buildProcessEngine(); EnvironmentImpl envimpl = jbpmcfg.openEnvironment(); GetOutcomes goc = new GetOutcomes( ) Set outcome = goc.execute( envimpl ); ..." Is this what you've tried to tell me? Also, I've got some questions about this: 1) Is the order of statements correct? I mean : JbpmConfiguration jbpmcfg = new JbpmConfiguration(); ProcessEngine proceng = jbpmcfg.buildProcessEngine(); EnvironmentImpl envimpl = jbpmcfg.openEnvironment(); 2) I'm supposing I can do the same with commands that make reads to the database like: GetStartActivityNamesCmd.java, is this right? 3) Will there be any problems in this way because I'm not using the User API directly? With problems I mean: exceptions, runtime exceptions, logic errors made by jbpm. It's obvious that this will change in future. Any comments would be appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261365#4261365 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261365 From do-not-reply at jboss.com Tue Oct 20 16:10:13 2009 From: do-not-reply at jboss.com (kadrim) Date: Tue, 20 Oct 2009 16:10:13 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity Message-ID: <31425165.1256069413563.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The code is wrong when instanciating the GetOutcomes class. It is supposed that, by using ProcessEngine I'll get the taskid, and then I pass it to GetOutcomes on its constructor like this: GetOutcomes goc = new GetOutcomes( taskid ) ; View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261366#4261366 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261366 From do-not-reply at jboss.com Tue Oct 20 16:48:30 2009 From: do-not-reply at jboss.com (ran488) Date: Tue, 20 Oct 2009 16:48:30 -0400 (EDT) Subject: [jboss-user] [Persistence] - How to use 2 different Oracle drivers in same server? Message-ID: <569881.1256071710321.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We are using Jboss AS 4.2.2-GA and have hit a snag. One application needs to connect to an older Oracle 8 database, so we need to use the older Oracle JDBC driver. For all of our other applications, we need to use the newer Oracle JDBC driver. But the classnames for the drivers are the same, so we can't figure a way to tell one *-ds.xml file to deploy under the early driver and everything else to use the newer driver. We tried adding the older driver JAR file and the *-ds.xml file right in our application EAR file, but when deploying it picked up the newer Oracle driver from the server's lib directory anyways. This puzzled me as we are using ear-scoped classloaders. Both applications are SEAM applications using EJB3/Hibernate. We can get one or the other to work depending on which Oracle driver we put in lib/ but can't get both to work at once. I've been searching Google and the Jboss forums and wiki for the past 2 hours, and find lots of newbie "this is how to deploy a datasource" stuff, but nothing on 2 conflicting versions of a vendor's driver. HELP! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261367#4261367 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261367 From do-not-reply at jboss.com Tue Oct 20 17:41:38 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Tue, 20 Oct 2009 17:41:38 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Cluster invocation error Message-ID: <21218139.1256074898537.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What AS release is this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261371#4261371 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261371 From do-not-reply at jboss.com Tue Oct 20 17:50:30 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Tue, 20 Oct 2009 17:50:30 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Cluster invocation error Message-ID: <17959031.1256075430589.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> That exception is thrown when the ClusterChooserInterceptor cannot find any more targets to try; the "Caused by: org.jboss.remoting.CannotConnectException" is telling you what the exception was from the last target it attempted. So the question is why there are no other targets to try if you've got an eight node cluster and only one node is being shut down. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261372#4261372 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261372 From do-not-reply at jboss.com Tue Oct 20 18:10:29 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Tue, 20 Oct 2009 18:10:29 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Lifecycle methods with HASingletonDeployer Message-ID: <11676739.1256076629376.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What did your Service bean implementation look like? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261374#4261374 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261374 From do-not-reply at jboss.com Tue Oct 20 18:21:44 2009 From: do-not-reply at jboss.com (rmoskal) Date: Tue, 20 Oct 2009 18:21:44 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Querying Against Process Variables Message-ID: <23539786.1256077304178.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'd like to get a list of running processes where a process variable has a certain value. The createProcessInstanceQuery doesn't support this. Can anyone suggest the simplest and or most idiomatic way to do this? Thanks and regards Robert Moskal Brooklyn, USA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261375#4261375 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261375 From do-not-reply at jboss.com Tue Oct 20 18:26:12 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Tue, 20 Oct 2009 18:26:12 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Sending JMX notifications to all nodes in a cluster Message-ID: <3425409.1256077572639.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> How are you deploying this LayoutMBean? You opened another thread asking whether an HAServiceMBeanSupport subclass could be deployed via a war. I suppose it could, but your code in your war (presumably a ServletContextListener) would have to do all the normal stuff JBoss AS does when it deploys a service: all the wiring, registration with JMX, taking service through the create/start/stop/destroy lifecycle. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261376#4261376 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261376 From do-not-reply at jboss.com Tue Oct 20 18:26:21 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 20 Oct 2009 18:26:21 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Querying Against Process Variables Message-ID: <8464816.1256077581198.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Personally, I'd start by searching the forum (e.g. with its embedded search engine or maybe google), but that is just me... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261377#4261377 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261377 From do-not-reply at jboss.com Tue Oct 20 19:44:09 2009 From: do-not-reply at jboss.com (anil.saldhana@jboss.com) Date: Tue, 20 Oct 2009 19:44:09 -0400 (EDT) Subject: [jboss-user] [Security] - Re: JBoss Negotiation 2.0.3.GA issue with Windows Vista ( Message-ID: <21828382.1256082249833.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Eduardo, you should have commit rights with your jboss.org username/passwd. Additionally, you may want to hang around irc server: irc.freenode.net channel: #jboss-dev for design discussions etc. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261378#4261378 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261378 From do-not-reply at jboss.com Tue Oct 20 23:20:32 2009 From: do-not-reply at jboss.com (rmoskal) Date: Tue, 20 Oct 2009 23:20:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Querying Against Process Variables Message-ID: <21253399.1256095232281.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ronald: You could interpret more charitably. I have indeed searched the forums and the length and breadth of the internet. Perhaps I need a custom hibernate query. Maybe somebody has already thought this through and would share it with the rest of us (saving me a bit of trouble). As I am happy to to do when I can help others. Thanks. Rob View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261383#4261383 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261383 From do-not-reply at jboss.com Wed Oct 21 00:36:25 2009 From: do-not-reply at jboss.com (joelmatt) Date: Wed, 21 Oct 2009 00:36:25 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - NullPointerException in JobExecutorMessageSession.send while Message-ID: <21646456.1256099785250.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I have an application which is using spring and jbpm 4.0. The application works fine if all the tasks are synchronous . But when I add an asynchronous task in between it is giving me Null pointerException in JobExecutorMessageSession.send. It seems like the transaction is not injected into the JobExecutorMessageSession. I have JobExecuter configured in my jbpm.cfg.xml and my spring config contain | | | I tried jbpm 4.0 but it it is also giving the same exception. Can anybody suggest what i am doing wrong... Regards, Joel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261387#4261387 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261387 From do-not-reply at jboss.com Wed Oct 21 01:21:49 2009 From: do-not-reply at jboss.com (santon2000) Date: Wed, 21 Oct 2009 01:21:49 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - ejb-local-ref problem Message-ID: <3896719.1256102509202.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello I have two jar files with session beans, in one of them in ejb-jar.xml i have ejb-local-ref tag to bean in second jar file, after deploying first jar file i deploy second jar file with ejb-local-ref tag and i have next error: (where archive1.jar its a first jar file with one session bean that have local interface, and archive2.jar its a second jar file with ejb-local-ref tag) | 16:36:13,955 ERROR [AbstractKernelController] Error installing to | PostClassLoader: | name=vfszip:/home/santon/jboss_510/server/default/deploy/th_web/archive2.jar/ state=ClassLoader mode=Manual requiredState=PostClassLoader | org.jboss.deployers.spi.DeploymentException: | java.lang.IllegalStateException: Failed to find | ContainerDependencyMetaData for interface: model.Session1EJBLocal | at | org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.internalDeploy(MappedReferenceMetaDataResolverDeployer.java:159) | at | org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at | org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at | org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at | org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentLast(DeployersImpl.java:1299) | at | org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1100) | at | org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at | org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at | org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at | org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at | org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at | org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at | org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at | org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at | org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at | org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at | org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362) | at | org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255) | at java.util.concurrent.Executors | $RunnableAdapter.call(Executors.java:441) | at java.util.concurrent.FutureTask | $Sync.innerRunAndReset(FutureTask.java:317) | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) | at java.util.concurrent.ScheduledThreadPoolExecutor | $ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) | at java.util.concurrent.ScheduledThreadPoolExecutor | $ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) | at java.util.concurrent.ScheduledThreadPoolExecutor | $ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) | at java.util.concurrent.ThreadPoolExecutor | $Worker.runTask(ThreadPoolExecutor.java:886) | at java.util.concurrent.ThreadPoolExecutor | $Worker.run(ThreadPoolExecutor.java:908) | at java.lang.Thread.run(Thread.java:619) | Caused by: java.lang.IllegalStateException: Failed to find | ContainerDependencyMetaData for interface: model.Session1EJBLocal | at | org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolveEjbInterface(MappedReferenceMetaDataResolverDeployer.java:1146) | at | org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolveEjbLocalRefs(MappedReferenceMetaDataResolverDeployer.java:877) | at | org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolve(MappedReferenceMetaDataResolverDeployer.java:743) | at | org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.resolve(MappedReferenceMetaDataResolverDeployer.java:768) | at | org.jboss.deployment.MappedReferenceMetaDataResolverDeployer.internalDeploy(MappedReferenceMetaDataResolverDeployer.java:155) | ... 26 more | 16:36:14,001 WARN [HDScanner] Failed to process changes | org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of | incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): | | *** DEPLOYMENTS IN ERROR: Name -> Error | | vfszip:/home/santon/jboss_510/server/default/deploy/th_web/archive2.jar/ | -> org.jboss.deployers.spi.DeploymentException: | java.lang.IllegalStateException: Failed to find | ContainerDependencyMetaData for interface: model.Session1EJBLocal | | | DEPLOYMENTS IN ERROR: | Deployment | "vfszip:/home/santon/jboss_510/server/default/deploy/th_web/archive2.jar/" is in error due to the following reason(s): java.lang.IllegalStateException: Failed to find ContainerDependencyMetaData for interface: model.Session1EJBLocal | | at | org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993) | at | org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939) | at | org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873) | at | org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128) | at | org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369) | at | org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255) | at java.util.concurrent.Executors | $RunnableAdapter.call(Executors.java:441) | at java.util.concurrent.FutureTask | $Sync.innerRunAndReset(FutureTask.java:317) | at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) | at java.util.concurrent.ScheduledThreadPoolExecutor | $ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) | at java.util.concurrent.ScheduledThreadPoolExecutor | $ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) | at java.util.concurrent.ScheduledThreadPoolExecutor | $ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) | at java.util.concurrent.ThreadPoolExecutor | $Worker.runTask(ThreadPoolExecutor.java:886) | at java.util.concurrent.ThreadPoolExecutor | $Worker.run(ThreadPoolExecutor.java:908) | at java.lang.Thread.run(Thread.java:619) | ejb-jar.xml of archive1.jar | | | | | Session Bean ( Stateless ) | Session1EJB | Session1EJB | model.Session1EJBHome | model.Session1EJB | model.Session1EJBLocalHome | model.Session1EJBLocal | model.Session1EJBBean | Stateless | Container | | | | | | | | marketing_user | | | marketing_user | | Session1EJB | * | | | | | Session1EJB | * | | Required | | | | | ejb-jar.xml of archive2.jar file | | | | | Session Bean ( Stateless ) | Session2EJB | Session2EJB | model.Session2EJBHome | model.Session2EJB | model.Session2EJBBean | Stateless | Container | | ejb/local/Session1EJB | Session | model.Session1EJBLocalHome | model.Session1EJBLocal | archive1.jar#Session1EJB | | | | | | | | | marketing_user | | | marketing_user | | Session2EJB | * | | | | | Session2EJB | * | | Required | | | | | jboss.xml of this files | | java:/jaas/test | | | | | Session1EJB | ejb/web_shop/Session1EJB | | | | | | | java:/jaas/test | | | | | Session2EJB | ejb/web_shop/Session2EJB | | | | | all file names of classes located in proper dir in jar files, after remove ejb-local-ref tag, deploy of this two files work well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261388#4261388 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261388 From do-not-reply at jboss.com Wed Oct 21 01:40:31 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 21 Oct 2009 01:40:31 -0400 (EDT) Subject: [jboss-user] [Persistence] - Re: How to use 2 different Oracle drivers in same server? Message-ID: <28452725.1256103631057.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : We tried adding the older driver JAR file and the *-ds.xml file right in our application EAR file, but when deploying it picked up the newer Oracle driver from the server's lib directory anyways. This puzzled me as we are using ear-scoped classloaders. See this http://www.jboss.org/community/wiki/IWantToDeployMyOwnJdbcDriverInAScopedClassloader View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261391#4261391 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261391 From do-not-reply at jboss.com Wed Oct 21 01:58:37 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 21 Oct 2009 01:58:37 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: 'table does not exist' error after changing default data Message-ID: <19396818.1256104717480.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "bwalker55" wrote : I've changed the default database (DefaultDS) to Oracle as per instructions elsewhere. Which exact JBoss AS version do you use? And can you point us to the exact steps you followed to change the default DB. The creation of appropriate tables should already have been taken care by the xml files for jms. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261392#4261392 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261392 From do-not-reply at jboss.com Wed Oct 21 02:01:32 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 21 Oct 2009 02:01:32 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: 'table does not exist' error after changing default data Message-ID: <29812260.1256104892848.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Also have a look at this http://www.jboss.org/community/wiki/ChangeDefaultDataSource View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261393#4261393 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261393 From do-not-reply at jboss.com Wed Oct 21 03:23:57 2009 From: do-not-reply at jboss.com (makarandk502) Date: Wed, 21 Oct 2009 03:23:57 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 - Taskform ( Task Variable ) Message-ID: <30911365.1256109837199.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Anybody who can guide me in this ? It seems that this is a bug which should be raised in JIRA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261400#4261400 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261400 From do-not-reply at jboss.com Wed Oct 21 03:55:45 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 21 Oct 2009 03:55:45 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 - Taskform ( Task Variable ) Message-ID: <2075412.1256111745474.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Since I don't really use taskforms I don't know. Have you searched the forum and JIRA for an issue like this? If you come to the conclusion this is a bug fill a JIRA issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261403#4261403 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261403 From do-not-reply at jboss.com Wed Oct 21 04:38:53 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Wed, 21 Oct 2009 04:38:53 -0400 (EDT) Subject: [jboss-user] [Security] - Re: ejb not validating user role at session bean methods + J Message-ID: <29133522.1256114333920.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, do you have "@RolesAllowed" annotations on your bean class? Post the snippets of bean declarations and the relevant XML file parts. You might activate logging of the security layer (see sticky post "FAQ", question 4) to check whether your login config is working as expected. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261405#4261405 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261405 From do-not-reply at jboss.com Wed Oct 21 04:48:43 2009 From: do-not-reply at jboss.com (praenti) Date: Wed, 21 Oct 2009 04:48:43 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <8240497.1256114923806.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Wolfgang, yes I've enabled the security layer debugging. There is no more output on my JBoss then that waht I've posted already. I don't know what you have expected. After trying a simple Servlet application with WebAuthentication as described in the blog, the same error "Caller unauthorized" comes up on the access of an EJB3 bean when there is a @RunAs annotation. So for now I continued with checking if the EJB3 context gets the user authentication correctly. Now I have tried to see what happens when I do a | log.info(request.getUserPrincipal()); | log.info(request.getRemoteUser()); | log.info(request.isUserInRole("AdminUser")); | The results are: | extern.michael.obster | extern.michael.obster | false | The conclusion from my point is that there are 3 possible errors: 1. The authentication gets lost, so the request don't know the role of the user. 2. The JAAS gets confused about which ID has to be used to get the role for the user 3. The roles query has a wrong result. After some debugging I found out, that my roles query returns a result with some other columns the JAAS system does not expect. So correcting the roles query fixed my problem. But thank you for your help. It was not useless, because I got some more knowlegde how to debug the security layer ;-). For people who have the same problem, check if your result from the roles query contains the columns "name" (with the name of the role) and "role_group"! Cheers, Michael View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261407#4261407 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261407 From do-not-reply at jboss.com Wed Oct 21 05:20:42 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Wed, 21 Oct 2009 05:20:42 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Caller unauthorized on using a ejb3 statetlesssessionbea Message-ID: <26056801.1256116842727.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Michael, glad you solved your problem. That was a nasty "bug" ;-). If you see a chance that JBoss might error check this condition, you might raise a JIRA issue. But it happened in your custom login module, didn't it? So maybe no JBoss error ;-)? Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261416#4261416 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261416 From do-not-reply at jboss.com Wed Oct 21 05:34:27 2009 From: do-not-reply at jboss.com (remiel512) Date: Wed, 21 Oct 2009 05:34:27 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - JpdlProcessDefinition cannot be cast to java.util.List Message-ID: <32028207.1256117667747.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> === Environment ============================== - jBPM Version : 4.1 - Database : oracle - JDK : 1.6 - Container : which Java version are you using? use 'java -version' to find out - Configuration : no - Libraries : no === Process ================================== none === API =================================== ProcessDefinition pd = repositoryService.createProcessDefinitionQuery().processDefinitionId(historyService.createHistoryProcessInstanceQuery().processInstanceId(pid).uniqueResult().getProcessDefinitionId()).uniqueResult(); === Stacktrace ============================== java.lang.ClassCastException: org.jbpm.jpdl.internal.model.JpdlProcessDefinition cannot be cast to java.util.List | org.jbpm.pvm.internal.repository.ProcessDeployer.deploy(ProcessDeployer.java:64) | org.jbpm.pvm.internal.repository.DeployerManager.deploy(DeployerManager.java:46) | org.jbpm.pvm.internal.repository.RepositorySessionImpl.getObject(RepositorySessionImpl.java:120) | org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.execute(ProcessDefinitionQueryImpl.java:72) | org.jbpm.pvm.internal.query.AbstractQuery.execute(AbstractQuery.java:81) | org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) | org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.executeInNewTx(JtaTransactionInterceptor.java:79) | org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:61) | org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) | org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.executeWithRetry(JtaRetryInterceptor.java:52) | org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:45) | org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46) | org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:62) | org.jbpm.pvm.internal.query.AbstractQuery.untypedUniqueResult(AbstractQuery.java:69) | org.jbpm.pvm.internal.query.ProcessDefinitionQueryImpl.uniqueResult(ProcessDefinitionQueryImpl.java:145) | com.gaia.jbpm.core.ProcessManager.getProcessDefinitionByProcessInstanceId(ProcessManager.java:398) | com.gaia.jbpm.core.ProcessManager.getActivityCoordinatesInfo(ProcessManager.java:349) | com.gaia.jbpm.action.GetActiveNodeInfo.execute(GetActiveNodeInfo.java:66) | com.gaia.dispatcher.ActionDispatcher.process(ActionDispatcher.java:35) | com.sol2.web.dispatcher.SOL2_ActionDispatcher.processRequest(SOL2_ActionDispatcher.java:69) | com.sol2.web.dispatcher.SOL2_ActionDispatcher.doGet(SOL2_ActionDispatcher.java:52) | javax.servlet.http.HttpServlet.service(HttpServlet.java:617) | javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | com.gaia.filter.ActionFilter.doFilter(ActionFilter.java:129) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) === Debug logs ============================== past debug logs here === Problem description ========================= Please help me to find out what's the metter of my app. Thanks all. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261418#4261418 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261418 From do-not-reply at jboss.com Wed Oct 21 06:30:44 2009 From: do-not-reply at jboss.com (p4w3l) Date: Wed, 21 Oct 2009 06:30:44 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: identities from LDAP example pls! Message-ID: <33093486.1256121044184.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I googled that people trying own identity systems with jBPM even 2 years ago ( example: http://jelmer.jteam.nl/2007/10/08/extensibility-jbpm-style/ ). jBPM doc mentions about it and its config files seems to be prepared to configure this. Just wandered if you have any example. I cannot synch hundreds of users and roles from in-house systems into jBPM manually. Till identities are not pluggable I understand jBPM is in early development stage. For me it is first thing to do :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261429#4261429 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261429 From do-not-reply at jboss.com Wed Oct 21 06:32:18 2009 From: do-not-reply at jboss.com (p4w3l) Date: Wed, 21 Oct 2009 06:32:18 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: identities from LDAP example pls! Message-ID: <18650810.1256121138227.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Well, if your question about version was not sarcastic then I answer: 4.1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261430#4261430 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261430 From do-not-reply at jboss.com Wed Oct 21 07:09:58 2009 From: do-not-reply at jboss.com (Sunay) Date: Wed, 21 Oct 2009 07:09:58 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - JBPM3.2 :: Reassign Task to another User Message-ID: <26994933.1256123398365.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello All, I am new to JBPM, is there anyway to reassign the task to the another User Please Reply asap. Thanks & Regards Sunay Shah View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261438#4261438 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261438 From do-not-reply at jboss.com Wed Oct 21 07:13:49 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Wed, 21 Oct 2009 07:13:49 -0400 (EDT) Subject: [jboss-user] [Security] - Re: ejb not validating user role at session bean methods + J Message-ID: <11583772.1256123629918.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I configured my log4j with the details, but did not receive any log of concern.. --------------------------------------------------------------------------------- My login-config.xml snippet is given below defaultuser true defaultuser true --------------------------------------------------------------------------------- content of the jboss.xml within my ear java:/jaas/SecurityPolicy --------------------------------------------------------------------------------- content of the jboss-web.xml in the war file within my ear java:/jaas/SecurityPolicy --------------------------------------------------------------------------------- I have defined the role as @RolesAllowed("WRONG_ROLE__FOR_FAILURE") for my ejb session bean method. There is no such role, but still i can access the method.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261440#4261440 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261440 From do-not-reply at jboss.com Wed Oct 21 07:57:50 2009 From: do-not-reply at jboss.com (flokay) Date: Wed, 21 Oct 2009 07:57:50 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - URL is not valid and cannot be loaded. Message-ID: <32797530.1256126270232.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I've tried to add my own google gadget to JBOSS Portal! When the portal is loaded the upper warning message appears. When I click "OK" the gadget's caption is shown but there is no content in it. Could anybody help me? Best regards, flokay View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261450#4261450 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261450 From do-not-reply at jboss.com Wed Oct 21 08:34:12 2009 From: do-not-reply at jboss.com (bdamato) Date: Wed, 21 Oct 2009 08:34:12 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Message History Survive a Restart? Message-ID: <19429214.1256128452206.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is it possible to configure the message counters for a queue so that they survive a restart? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261469#4261469 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261469 From do-not-reply at jboss.com Wed Oct 21 08:43:21 2009 From: do-not-reply at jboss.com (ataylor) Date: Wed, 21 Oct 2009 08:43:21 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Message History Survive a Restart? Message-ID: <26698883.1256129001397.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> No this is not possible. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261473#4261473 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261473 From do-not-reply at jboss.com Wed Oct 21 08:58:58 2009 From: do-not-reply at jboss.com (sawan1424) Date: Wed, 21 Oct 2009 08:58:58 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - JBOSS CXF + Eclipse 3.5 Galileo Message-ID: <29714543.1256129938630.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi All, I am new to JBoss CXF. I downloaded CXF version from JBoss website.I followed the installation instruction and successfully completed. Now I want to know how to use JBoss CXF Web-Service in new dynamic Web project.I have another Question What is the flavor that JBoss Tools incudes in JBoss WS tools ? 1. Native 2. Metro 3. CXF Please provide me any simple installation steps of JBoss CXF WS in Eclipse. Thanks in advance Sandy [/url] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261479#4261479 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261479 From do-not-reply at jboss.com Wed Oct 21 09:16:09 2009 From: do-not-reply at jboss.com (ran488) Date: Wed, 21 Oct 2009 09:16:09 -0400 (EDT) Subject: [jboss-user] [Persistence] - Re: How to use 2 different Oracle drivers in same server? Message-ID: <28871397.1256130969609.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you for the reply, we followed the advice in the link you posted and it all works fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261486#4261486 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261486 From do-not-reply at jboss.com Wed Oct 21 09:20:13 2009 From: do-not-reply at jboss.com (hot33331) Date: Wed, 21 Oct 2009 09:20:13 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Migrate from Jboss 4.2.2GA to 5.1.0GA - HELP! Message-ID: <26097963.1256131213311.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> That was exactly my problem - I had to change something in the persistence.xml. Thanks a lot! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261487#4261487 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261487 From do-not-reply at jboss.com Wed Oct 21 09:51:19 2009 From: do-not-reply at jboss.com (czujnik) Date: Wed, 21 Oct 2009 09:51:19 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - [JBPM 4] Process variable Message-ID: <33336654.1256133079096.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> === Environment ============================== - jBPM Version : 4 - Database : Oracle 10g XE - JDK : 1.5 - Container : standalone App - Configuration : standard JBPM 4, changed jbpm.hibernate.cfg.xml, added line for Hibernate entity mapping class: <mapping resource="pl/test/jbpm/entity/Persisted.hbm.xml" /> === Process ================================== Process from example: Comments === API =================================== ExecutionService executionService = procEngine.getExecutionService(); Map variables = new HashMap(); Persisted p = new Persisted(); p.setName("Variable"); p.setValue("Value"); SessionFactory sf = procEngine.get(SessionFactory.class); Session sess = sf.openSession(); sess.beginTransaction(); sess.save(p); sess.flush(); sess.getTransaction().commit(); variables.put("content", "java"); ProcessInstance processInstance = executionService.startProcessInstanceByKey("TaskVariables", variables); executionService.setVariable(processInstance.getId(), "persistence", p); === Stacktrace ============================== Exception in thread "main" org.hibernate.HibernateException: instance not of expected entity type: org.jbpm.pvm.internal.type.variable.UnpersistableVariable is not a: org.jbpm.pvm.internal.type.Variable at org.hibernate.persister.entity.AbstractEntityPersister.getSubclassEntityPersister(AbstractEntityPersister.java:3663) at org.hibernate.impl.SessionImpl.getEntityPersister(SessionImpl.java:1374) at org.hibernate.engine.ForeignKeys.isTransient(ForeignKeys.java:203) at org.hibernate.event.def.AbstractSaveEventListener.getEntityState(AbstractSaveEventListener.java:535) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.performSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:103) at org.hibernate.event.def.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:93) at org.hibernate.impl.SessionImpl.fireSaveOrUpdate(SessionImpl.java:534) at org.hibernate.impl.SessionImpl.saveOrUpdate(SessionImpl.java:526) at org.hibernate.engine.CascadingAction$5.cascade(CascadingAction.java:241) at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:291) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:239) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:192) at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:319) at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:265) at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:242) at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:192) at org.hibernate.engine.Cascade.cascade(Cascade.java:153) at org.hibernate.event.def.AbstractFlushingEventListener.cascadeOnFlush(AbstractFlushingEventListener.java:154) at org.hibernate.event.def.AbstractFlushingEventListener.prepareEntityFlushes(AbstractFlushingEventListener.java:145) at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:88) at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:49) at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1027) at org.jbpm.pvm.internal.tx.HibernateSessionResource.prepare(HibernateSessionResource.java:54) at org.jbpm.pvm.internal.tx.StandardTransaction.commit(StandardTransaction.java:106) at org.jbpm.pvm.internal.tx.StandardTransaction.complete(StandardTransaction.java:65) at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:61) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:54) at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) at org.jbpm.pvm.internal.svc.ExecutionServiceImpl.setVariable(ExecutionServiceImpl.java:145) at pl.test.jbpm.Main.main(Main.java:63) === Debug logs ============================== [ScopeInstanceImpl] create variable 'persistence-id' in 'execution[TaskVariables.342]' with value 'pl.test.jbpm.entity.Persisted at 970c0e' === Problem description ========================= Persistent is a hibernate entity class (configured using XML). The problem is when i'm trying to set hibernate entity as process variable i got exception as above :( I have no problem to store simple variable as String or Long or even as Serializable class, but for my application i have to store variable as whole entity (in table in DB). Can You help me with my problem? Did i missed some configuration? Maybe anyone can point complete example of store process variable in DB table ? Thanks Czujnik View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261503#4261503 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261503 From do-not-reply at jboss.com Wed Oct 21 10:43:15 2009 From: do-not-reply at jboss.com (mohitanchlia) Date: Wed, 21 Oct 2009 10:43:15 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Cluster invocation error Message-ID: <12930929.1256136195608.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We are on AS 4.2. But all other targets are up at that point and they are in the cluster. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261516#4261516 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261516 From do-not-reply at jboss.com Wed Oct 21 10:59:39 2009 From: do-not-reply at jboss.com (dgodbey) Date: Wed, 21 Oct 2009 10:59:39 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Portal giving way to GateIn Message-ID: <22793090.1256137179917.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We are in the process of deploying a new Jboss Portal for a customer. We want to install AS 5.1, but notice that portal is not supported on 5.1. Is this because Jboss is moving its portal work to GateIn? Should we focus on GateIn for this customer? Is GateIn ready for prime time? Or should we present portal 2.7.2 on AS 4.2.3 for this customer? Thanks, Dave View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261522#4261522 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261522 From do-not-reply at jboss.com Wed Oct 21 11:06:32 2009 From: do-not-reply at jboss.com (mike_burton) Date: Wed, 21 Oct 2009 11:06:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - [JBPM 4] - Process Definition Message-ID: <27338115.1256137592934.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi I am new to jBPM. Is there any way to create process definition programactilly without using designer tool. Also is it possible in jBPM to maintain different versions of process definition. Thanks in advance for your valuable reply... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261524#4261524 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261524 From do-not-reply at jboss.com Wed Oct 21 11:11:42 2009 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Wed, 21 Oct 2009 11:11:42 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Portal giving way to GateIn Message-ID: <24205310.1256137902166.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> EPP is the productized version, this is the ready for prime-time version. The current version is Enterprise Portal Platform 4.3 which embeds EAP 4.3 http://www.jboss.com/products/platforms/portals/ Next EPP will be running on EAP 5, it will depend on your delivery date. You should contact our sales team. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261526#4261526 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261526 From do-not-reply at jboss.com Wed Oct 21 11:14:34 2009 From: do-not-reply at jboss.com (KeithHenn) Date: Wed, 21 Oct 2009 11:14:34 -0400 (EDT) Subject: [jboss-user] [Security] - Error using DatabaseServerLoginModule Message-ID: <24270882.1256138074741.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello Here is a bit of the relevant code I'm using: web.xml | constraint1 | /index.jsp | GET | POST | | FORM | myrealm | | /login.jsp | /loginFailure.jsp | | jboss-web.xml java:/jaas/marsPolicy login-config.xml | | | java:/datasource/marquis-backup | SELECT password FROM [user] WHERE loginId = ? | select description, 'roles' from role r, userrole ur, [user] u where u.userId = ur.userId and ur.roleId = r.roleId and u.loginid = ? | | | When I enter invalid credentials I'm properly forwarded to loginFailure.jsp, when I enter valid credentials I get the following error: anonymous wrote : message: Invalid direct reference to form login page | | description: The request sent by the client was syntactically incorrect (Invalid direct reference to form login page). How can I correct this error? Thank you. Keith View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261527#4261527 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261527 From do-not-reply at jboss.com Wed Oct 21 11:27:57 2009 From: do-not-reply at jboss.com (sui_kiun) Date: Wed, 21 Oct 2009 11:27:57 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Related to EJB Deployment in JBoss Message-ID: <32959937.1256138877569.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, I just installed JBoss Application Server 5.1.0 GA. I had google around and found out that I need to put the ejb.jar into /server/deploy directory. But currently, I am having following folder under /server: \server\all\deploy \server\default\deploy \server\standard\deploy \server\minimal\deploy \server\web\deploy so, in which directory I have to put in the ejb.jar so that I can deploy it successfully? Thanks :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261530#4261530 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261530 From do-not-reply at jboss.com Wed Oct 21 11:49:06 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 21 Oct 2009 11:49:06 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM 4] - Process Definition Message-ID: <4690730.1256140146830.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> AFAIK you can create process definitions programmatically. I just don't recall if they're based upon jPDL or PVM. Look it up in the javadocs. Should be there. Regarding creating a process definition file (I am not sure about your question) you should accomplish this on your own by using some XML tool since the jPDL language is XML-based and not to complicated. And yes, it is possible to maintain different version and use them on the same time. Should be in the userguide. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261536#4261536 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261536 From do-not-reply at jboss.com Wed Oct 21 11:55:18 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 21 Oct 2009 11:55:18 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Related to EJB Deployment in JBoss Message-ID: <712230.1256140518691.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Each one of the "all", "default", "minimal" etc... server configurations provide a different set of functionalities. "all" has clustering features and is a superset of the other configurations. "default" has all the services (like EJB support) without the clustering services. So usually, it's the "default" configuration that users go for. You can place that file in server/default/deploy and start the server using the run.sh/run.bat scripts. By default the "default" configuration will be started. However, if you want to start a different configuration, you can use the -c option and pass it the name of the server configuration. For example, to start the "all" config: ./run.sh -c all View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261537#4261537 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261537 From do-not-reply at jboss.com Wed Oct 21 12:00:54 2009 From: do-not-reply at jboss.com (roger0681) Date: Wed, 21 Oct 2009 12:00:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Jbpm/MySQL not working on linux, but fine on Windows Message-ID: <30928703.1256140854081.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm not running JBPM on MySQL, but once I had a similar problem. I solved it not by renamig tables, because I didn't know if they were called using different caps from different modules (obviously, it wasn't using Hibernate), but by using Mysql Proxy. In it I wrote a script that replaced table names used with any case to the case the tables were named. It worked fine, though the solution includes another intermediary to the database. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261538#4261538 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261538 From do-not-reply at jboss.com Wed Oct 21 12:01:53 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Wed, 21 Oct 2009 12:01:53 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Cluster invocation error Message-ID: <5178368.1256140913918.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What's the call pattern? Were the other nodes up and available when the client dowloaded the ejb proxy from JNDI or last invoked on it? (Last == the time before the call that failed). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261539#4261539 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261539 From do-not-reply at jboss.com Wed Oct 21 12:04:09 2009 From: do-not-reply at jboss.com (mhossein) Date: Wed, 21 Oct 2009 12:04:09 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - jboss-messaging-1.4.5.GA and JBoss AS 5.1 Message-ID: <12241722.1256141049258.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi: Does JBM 1.4.5 work with JBoss AS 5.1? I know that JBM 1.4.4 didn't. Based on JBM 1.4.5's user guide, it requires JBoss Remoting 2.2.3.SP1, which doesn't work with JBoss AS 5. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261540#4261540 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261540 From do-not-reply at jboss.com Wed Oct 21 12:29:32 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 21 Oct 2009 12:29:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List Message-ID: <31454238.1256142572448.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> How does the process definition look like? For me this is somehow not enough information to help you. I encountered this problem already when browsing process definitions with the console and I had java classes referenced in the process definition which were missing in the classpath. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261546#4261546 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261546 From do-not-reply at jboss.com Wed Oct 21 12:34:21 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 21 Oct 2009 12:34:21 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM 4] Process variable Message-ID: <22367706.1256142861542.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am not very proficient in this field but my hint would be to take a look at jbpm.variable.types.xml. In the source I even read something about a user configuration file so there should be no need to change the file shipped with the distro. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261547#4261547 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261547 From do-not-reply at jboss.com Wed Oct 21 13:14:54 2009 From: do-not-reply at jboss.com (rlamie) Date: Wed, 21 Oct 2009 13:14:54 -0400 (EDT) Subject: [jboss-user] [MQ] - JmsXA and remote queues Message-ID: <10190729.1256145294889.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Env : JBoss 4.2.3, JbossMQ shipped with Jboss 4.2.3 Hi all, I have a pretty simple question, but dont manage to find the solution through google/forum searchs. Inside an MDB, I need to enlist the sending of JMS messages in a JTA transaction. The queue is a remote queue located on another JBossMQ server. The need to enlist in a JTA transaction with multiples resources decided me to turn to JmsXA pool. Here is the code : | @MessageDriven( | activationConfig = {...}... | @PoolClass (value=org.jboss.ejb3.StrictMaxPool.class, maxSize=1, timeout=30000) | @Depends("jboss.j2ee:service=EARDeployment,url='xxx.ear'") | public class Test1MDB implements MessageListener { | public void onMessage(Message msg) { | ... do operations on database (XADataSource) | | Context jndi = new InitialContext(); | QueueConnection connection = (QueueConnectionFactory) jndi.lookup("java:JmsXA"); | QueueSession = connection.createQueueSession(true, QueueSession.AUTO_ACKNOWLEDGE); | Queue queue = (Queue) jndi.lookup("jnp://174.54.12.144:1099/queue/test2"); | QueueSender sender = session.createSender(queue); | ObjectMessage msg = MessageHelper.create(session, messageDTO); | sender.send(msg); | ... | } | The result is that code works well if I target a local queue, but fails when I target a remote queue (like in my example). I add that the queues targeted are test queues (created temporarly by the MDB) The following logs appear at the end of the onMessage method (commit time) : | 16:53:40,413 WARN [loggerI18N] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] [com.arjuna.ats.internal.jta.resources.arjunacore.preparefailed] XAResourceRecord.prepare - prepare failed with exception XAException.XAER_RMFAIL | 16:53:40,416 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_50] - Prepare phase of action 7f000101:81ea:4adf0cd5:1255 received heuristic decision: TwoPhaseOutcome.HEURISTIC_HAZARD | 16:53:40,416 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_36] - BasicAction.End() - prepare phase of action-id 7f000101:81ea:4adf0cd5:1255 failed. | 16:53:40,416 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_37] - Received heuristic: TwoPhaseOutcome.HEURISTIC_HAZARD . | 16:53:40,416 WARN [arjLoggerI18N] [com.arjuna.ats.arjuna.coordinator.BasicAction_38] - Action Aborting | And it chains to replay the same input message, until the following exception occurs : | 16:53:40,449 ERROR [JmsServerSession] org.jboss.resource.adapter.jms.inflow.JmsServerSession at 1c7811a failed to commit/rollback | javax.transaction.HeuristicMixedException | at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.commitAndDisassociate(TransactionImple.java:1397) | at com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction.commit(BaseTransaction.java:135) | at com.arjuna.ats.jbossatx.BaseTransactionManagerDelegate.commit(BaseTransactionManagerDelegate.java:87) | at org.jboss.resource.adapter.jms.inflow.JmsServerSession$XATransactionDemarcationStrategy.end(JmsServerSession.java:494) | at org.jboss.resource.adapter.jms.inflow.JmsServerSession.run(JmsServerSession.java:248) | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204) | at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275) | at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:756) | at java.lang.Thread.run(Thread.java:595) | Strangely, that occurs only for remote queues. Any pointers? Thank you for your help. RL View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261554#4261554 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261554 From do-not-reply at jboss.com Wed Oct 21 13:23:07 2009 From: do-not-reply at jboss.com (bwestrich) Date: Wed, 21 Oct 2009 13:23:07 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List Message-ID: <30144506.1256145787039.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Usually when I've gotten this error I can resolve it by deleting all the process definitions that are in my database, then redeploying the process definition. Possibly I had an old process definition in my database that refers to a Java class that no longer exists? Not that this fix is practical to do in a production environment, but it might help as a short term fix while looking into the root cause. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261556#4261556 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261556 From do-not-reply at jboss.com Wed Oct 21 13:35:07 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Wed, 21 Oct 2009 13:35:07 -0400 (EDT) Subject: [jboss-user] [Clustering] - Failure when cleaning up HTTP Session in JBoss AS Cluster? Message-ID: <10499606.1256146507898.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Let me know if this should be posted somewhere else. JBoss 5.1.0 JBoss Cache 3.2.1 Three servers in cluster, HTTP Session replication, UDP, total replication, passivation enabled We recently rolled out two changes to our system, HTTP Session passivation and an upgrade to JBoss Cache 3.2.1. The changes were tested for several days under load on two other systems, but now that we've deployed to our primary data center we've run into an issue. Things ran fine for about 22 hours, then server A and server B went into a loop where each server getting the following two stack traces repeatedly. This happened twice in 24 hours. We've not disabled session passivation and have not seen the issue. In order to get the servers out of the loop we had to restart jboss on both servers (one of them twice). JBoss was still responding but the cluster was in an obviously degraded state. 2009-10-20 15:40:29,709 ERROR [org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AttributeBasedJBossCacheService] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) IOException occurred unmarshalling value | java.io.OptionalDataException | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1349) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) | at javolution.util.FastMap.readObject(Unknown Source) | at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:974) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1849) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) | at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947) | at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351) | at org.jboss.ha.framework.server.SimpleCachableMarshalledValue.get(SimpleCachableMarshalledValue.java:94) | at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.getUnMarshalledValue(AbstractJBossCacheService.java:660) | at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AttributeBasedJBossCacheService.getSessionAttributes(AttributeBasedJBossCacheService.java:166) | at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.getDistributableSessionData(AbstractJBossCacheService.java:581) | at org.jboss.web.tomcat.service.session.distributedcache.impl.jbc.AbstractJBossCacheService.getSessionData(AbstractJBossCacheService.java:364) | at org.jboss.web.tomcat.service.session.JBossCacheManager.loadSession(JBossCacheManager.java:1832) | at org.jboss.web.tomcat.service.session.JBossCacheManager.findSession(JBossCacheManager.java:489) | at org.jboss.web.tomcat.service.session.JBossCacheManager.processExpirationPassivation(JBossCacheManager.java:1603) | at org.jboss.web.tomcat.service.session.JBossManager.backgroundProcess(JBossManager.java:385) | at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1327) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1612) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1621) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1621) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1601) | at java.lang.Thread.run(Thread.java:619) | | 2009-10-20 15:40:29,713 ERROR [org.jboss.web.tomcat.service.session.JBossCacheManager.] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) processExpirationPassivation(): failed handling unloaded session O-lgMwkUSLW1vVpTRQzExg__ | java.lang.NullPointerException | at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881) | at java.util.concurrent.ConcurrentHashMap.putAll(ConcurrentHashMap.java:909) | at org.jboss.web.tomcat.service.session.ClusteredSession.populateAttributes(ClusteredSession.java:1661) | at org.jboss.web.tomcat.service.session.ClusteredSession.update(ClusteredSession.java:1120) | at org.jboss.web.tomcat.service.session.JBossCacheManager.loadSession(JBossCacheManager.java:1835) | at org.jboss.web.tomcat.service.session.JBossCacheManager.findSession(JBossCacheManager.java:489) | at org.jboss.web.tomcat.service.session.JBossCacheManager.processExpirationPassivation(JBossCacheManager.java:1603) | at org.jboss.web.tomcat.service.session.JBossManager.backgroundProcess(JBossManager.java:385) | at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1327) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1612) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1621) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1621) | at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1601) | at java.lang.Thread.run(Thread.java:619) | It appears that both servers were trying to clean up the exact same "unloaded" session at the same time. That might be normal, but something in the session data seemed to have gotten corrupted? It's not clear yet, I'm currently looking at the JBossCacheManager code. Relevant configs: >From jboss-web.xml | | true | -1 | 300 | | >From jboss-cache-manager-jboss-beans.xml | | | true | false | | | | | | ${jboss.server.data.dir}${/}session | | false | true | true | false | false | | | | | | Has anyone seen this issue? I see other people referencing java.io.OptinalDataException in the context of JBoss, but nothing that sounds like this exact same issue. Any input would be greatly appreciated, we'd really like to get HTTP session passivation enabled again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261558#4261558 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261558 From do-not-reply at jboss.com Wed Oct 21 13:50:59 2009 From: do-not-reply at jboss.com (dgodbey) Date: Wed, 21 Oct 2009 13:50:59 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Portal giving way to GateIn Message-ID: <6962023.1256147459367.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Will JBoss Portal be released for AS 5.x? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261560#4261560 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261560 From do-not-reply at jboss.com Wed Oct 21 14:08:20 2009 From: do-not-reply at jboss.com (thomas.heute@jboss.com) Date: Wed, 21 Oct 2009 14:08:20 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Portal giving way to GateIn Message-ID: <14610738.1256148500092.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> No, all development efforts are going in the GateIn project and the EPP5 product, no new feature should be expected in JBoss Portal. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261565#4261565 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261565 From do-not-reply at jboss.com Wed Oct 21 14:30:29 2009 From: do-not-reply at jboss.com (bwestrich) Date: Wed, 21 Oct 2009 14:30:29 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List Message-ID: <3583768.1256149829656.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Actually, I ran into one of these errors just now (java.lang.ClassCastException: org.jbpm.jpdl.internal.model.JpdlProcessDefinition cannot be cast to j ava.util.List) and clearing the database didn't solve it. Digging a little deeper, it looks like (at least when a model is deployed in a JUnit environment) when the jBPM parser parses a model file, if there's an error (such as a java class is defined that can't be found, or a class cast exception), the exception is thrown to the console but parsing continues on. This leads to the above (hard to understand) error message occurring. If you look at your system console, you hopefully will see an exception just prior to the above one, which is more informative. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261574#4261574 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261574 From do-not-reply at jboss.com Wed Oct 21 15:49:26 2009 From: do-not-reply at jboss.com (bwalker55) Date: Wed, 21 Oct 2009 15:49:26 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: 'table does not exist' error after changing default data Message-ID: <14826584.1256154566459.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for the response. I think I'm getting there. JBoss version is 4.2.3 on server in question. For information on changing the default datasource, I used the Installation and Getting Started Guide. http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Installation_And_Getting_Started_Guide/5/pdf/Installation_And_Getting_Started_Guide.pdf Unfortunately, there's no mention of JMS in this document. I also referenced the following (and translated to Oracle) http://www.jboss.org/community/wiki/SetUpAMysqlDatasource but must admit that I skipped the JMS part (as I was initially attempting to bring up jBoss without messaging, before I realized this would leave me without the admin consoles). I have since found: http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Administration_And_Configuration_Guide/5/html/alternative_DBs.html and more specifically http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Administration_And_Configuration_Guide/5/html/ch13s08s01.html I have followed the advice of these documents and replaced the hsqldb-jdbc2-service.xml with oracle-jdbc2-service.xml Note that the document you reference: http://www.jboss.org/community/wiki/ConfigDefaultDSJBossMQDB is similar, but does not indicate that the oracle-jdbc2-service.xml must also be edited, changing OracleDS to DefaultDS (if the DefaultDS is redefined). If you don't make this change, which I initially missed, there are no database errors on startup, but the JMS_TRANSACTIONS and JMS_MESSAGES tables do not get created. Once this change is made, the startup looks the same from the log file, and the JMS_TRANSACTIONS and JMS_MESSAGES tables are created in Oracle. Of course, this is all for 4.2. I believe the change for 5.1 is simlar, but the file names and locations of the -service.xml files are different. Thanks, Bob. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261586#4261586 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261586 From do-not-reply at jboss.com Wed Oct 21 15:55:01 2009 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 21 Oct 2009 15:55:01 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Querying Against Process Variables Message-ID: <5441549.1256154901848.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "rmoskal" wrote : Ronald: | | You could interpret more charitably. I have indeed searched the forums and the length and breadth of the internet Next time, mention this. Nothing from your post gives me the intention you did. And since I'm pretty sure it has been discussed before multiple times, I posted what I posted. "rmoskal" wrote : | . Perhaps I need a custom hibernate query. Maybe somebody has already thought this through and would share it with the rest of us (saving me a bit of trouble). As I am happy to to do when I can help others. | That is indeed what has been discussed before, combined with the (dis)advantages, the usage of the businesskey etc... So sorry if you feel offended, next time add the information in this second post to the first one....Then you would have gotten a different response from me. Something like: Yes that is the way to go, or use the businesskey for this. Keep in mind that indexes might need to be created on each variable type column. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261587#4261587 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261587 From do-not-reply at jboss.com Wed Oct 21 15:55:46 2009 From: do-not-reply at jboss.com (maheshb) Date: Wed, 21 Oct 2009 15:55:46 -0400 (EDT) Subject: [jboss-user] [Clustering] - Every Call to any method in SFSB takes 60 Sec in clustering Message-ID: <14177658.1256154946629.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi I have facing following issue in Stateful Session Bean (Clustering). Happens when using jboss instance for some time 1. SFSB.create(); // no wait 2. SFSB.ABC() ; // waits / takes 60 sec 3. SFSB.XYZ(); // waits / takes 60 sec 4. SFSB.remove(); // waits / takes 60 sec After I restart jboss instance, wait goes away Any help in this regards will be helpful Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261588#4261588 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261588 From do-not-reply at jboss.com Wed Oct 21 15:57:07 2009 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 21 Oct 2009 15:57:07 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 - Taskform ( Task Variable ) Message-ID: <19904357.1256155027548.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It is not a bug, it is something that is not implemented afaik. The Forum of the bpm console is a better place to ask I think. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261589#4261589 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261589 From antonio.mailing at gmail.com Wed Oct 21 16:01:45 2009 From: antonio.mailing at gmail.com (Antonio Goncalves) Date: Wed, 21 Oct 2009 22:01:45 +0200 Subject: [jboss-user] [Installation, Configuration & Deployment] Can't find jbossweb-service in the Maven repository In-Reply-To: <4ADB954B.9040609@freenet.carleton.ca> References: <4ADB954B.9040609@freenet.carleton.ca> Message-ID: Thanks, I've posted it to the forum Antonio 2009/10/19 Stephen Davidson > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Antonio. > > It looks like you sent this to the JBoss User Mailing list, rather than > the Forums. Is this correct? If so, you might want to try the Forums, > as the mailing list does not seem to be monitored anymore by anyone from > the JBoss Group (or the users in general). > > Regards, > Steve > > Antonio Goncalves wrote: > > Hi all, > > > > I'm working on a project that wasn't build with Maven, and now we are > > migrating it to Maven. We need some classes that are located in > > the org.jboss.web.tomcat.security package. There are in the > > jbossweb-service.jar file. But we can't find this artifact in the Maven > > repository. The only way we managed to make it work is by : > > > > > > jboss > > jbossweb-service > > ${jboss.version} > > system > > ${basedir}/lib/jbossweb-service.jar > > > > > > But we can't find it in the JBoss Maven repository (we've found an entry > > in MvnBrowser web site but > > > http://www.mvnbrowser.com/artifact-details.html?groupId=jboss&artifactId=jbossweb-service > > < > http://www.mvnbrowser.com/artifact-details.html?groupId=jboss&artifactId=jbossweb-service > >) > > > > > > Any idea ? > > Thanks, > > Antonio > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > jboss-user mailing list > > jboss-user at lists.jboss.org > > https://lists.jboss.org/mailman/listinfo/jboss-user > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (GNU/Linux) > Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org > > iEYEARECAAYFAkrblUsACgkQSphIUSiVzgbZDQCgtUwE+a83T3tF5xV0y2BLiyZC > +3MAnjLuaTWfhJ4q1zNq1HF1A8FAxqKn > =MWK/ > -----END PGP SIGNATURE----- > -- -- Antonio Goncalves (antonio.goncalves at gmail.com) Software architect Web site : www.antoniogoncalves.org Blog: agoncal.wordpress.com Feed: feeds2.feedburner.com/AntonioGoncalves Paris JUG leader : www.parisjug.org LinkedIn: www.linkedin.com/in/agoncal -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20091021/26d58d7a/attachment.html From do-not-reply at jboss.com Wed Oct 21 16:02:47 2009 From: do-not-reply at jboss.com (urandom) Date: Wed, 21 Oct 2009 16:02:47 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: jbossws - DOM vs SAX Message-ID: <32931817.1256155367563.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I agree with you that dom is a better choice, on the whol you shouldn't send big data via ws. But, what is going to happen when somebody sends to my jboss-ws big request ? He may invoke the OutOfMemoryError and the jvm will go down. Can I set maximum size of request in jboss-ws or tomcat? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261591#4261591 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261591 From do-not-reply at jboss.com Wed Oct 21 16:04:58 2009 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 21 Oct 2009 16:04:58 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: identities from LDAP example pls! Message-ID: <15976319.1256155498442.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In jBPM4 the identity service is much more plugable. A search in google resulted in https://jira.jboss.org/jira/browse/JBPM-2172 This gives you some hints on the status, in combination with some hints on where to look at the sourcecode as an example. And yes, it was kind of sarcastic since you did not mention anything at all.... 4.1 is good to start with. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261592#4261592 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261592 From do-not-reply at jboss.com Wed Oct 21 16:07:21 2009 From: do-not-reply at jboss.com (kukeltje) Date: Wed, 21 Oct 2009 16:07:21 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM3.2 :: Reassign Task to another User Message-ID: <8666876.1256155641325.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Can anyone answer this? My answer would be: Yes there is But that is probably not what the original poster wants to hear. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261593#4261593 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261593 From do-not-reply at jboss.com Wed Oct 21 16:10:45 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Wed, 21 Oct 2009 16:10:45 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Failure when cleaning up HTTP Session in JBoss AS Cluste Message-ID: <26672088.1256155845465.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Please clarify what you mean by "went into a loop." I want to make sure what you saw happen is what I think would happen. What I think is: 1) The ContainerBackgroundProcessor runs every 10 seconds. 2) When it operates on JBossCacheManager it loops through a set of passivated sessions to see if they are overaged and need to be expired. This fails on a session as shown in the logging in your post. If whatever condition caused that failure also exists in multiple other sessions, you'll get a lot of such logging; i.e. a loop over the affected sessions. When the ContainerBackgroundProcessor runs again 10 seconds later, the logging will repeat. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261594#4261594 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261594 From do-not-reply at jboss.com Wed Oct 21 16:17:47 2009 From: do-not-reply at jboss.com (richard.opalka@jboss.com) Date: Wed, 21 Oct 2009 16:17:47 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: jbossws - DOM vs SAX Message-ID: <14403172.1256156267025.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> JBossWS doesn't provide input stream hooks where you could check message size. Maybe tomcat can do it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261596#4261596 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261596 From do-not-reply at jboss.com Wed Oct 21 16:19:44 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Wed, 21 Oct 2009 16:19:44 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Failure when cleaning up HTTP Session in JBoss AS Cluste Message-ID: <15771411.1256156384813.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The core issue here is to figure out the cause of the java.io.OptionalDataException. What's being deserialized here is a value object your application is putting into the session via setAttribute(). The handling of this by the AS could certainly be better. 1) When the deserialization failure occurs, it's being handled in a poor manner: https://jira.jboss.org/jira/browse/JBCLUSTER-243 2) The background processing logic shouldn't keep trying to work with the session cleanly for ever; it should detect a session with a recurring problem and just hard delete it: https://jira.jboss.org/jira/browse/JBAS-7397 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261598#4261598 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261598 From do-not-reply at jboss.com Wed Oct 21 16:29:17 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Wed, 21 Oct 2009 16:29:17 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Failure when cleaning up HTTP Session in JBoss AS Cluste Message-ID: <14016833.1256156957109.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You can experiment a bit to try to figure out what the problem attribute is. On your classpath you'd need to have jboss-ha-client.jar and jboss-ha-server-api.jar (found in $JBOSS_HOME/common/lib) as well as jboss-common-core.jar and jboss-logging-spi.jar (found in $JBOSS_HOME/lib). Then, in pseudo-code: | import org.jbossha.framework.server.*; | . | Object toTest = ... whatever attribute value you want to test | | SimpleCachableMarshelledValue mv = new SimpleCachableMarshalledValue(toTest); | mv.toByteArray(); // internally serializes toTest | mv.get(); // deserializes View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261600#4261600 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261600 From do-not-reply at jboss.com Wed Oct 21 17:28:56 2009 From: do-not-reply at jboss.com (bwalker55) Date: Wed, 21 Oct 2009 17:28:56 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: 'table does not exist' error after changing default data Message-ID: <5945639.1256160536095.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Update for jBoss 5.1 The instructions for moving messaging/JMS/persistance to a database other than HSQL(example below is Oracle) on jBoss 5.1 are: 1) remove file server/xxx/deploy/messaging/hsqldb-persistence-service.xml 2) copy docs/examples/jms/oracle-persistance-service* to server/xxx/deploy/messaging 3) restart jBoss. *Note that this file no longer needs to be edited. The DataSourceBinding is already set to DefaultDS. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261607#4261607 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261607 From do-not-reply at jboss.com Wed Oct 21 19:08:52 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Wed, 21 Oct 2009 19:08:52 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Failure when cleaning up HTTP Session in JBoss AS Cluste Message-ID: <30046928.1256166532943.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> After looking closer at the logs, the exceptions were being logged every 10 seconds, not in a tight loop like I had originally thought. It felt like a tight loop while watching two production servers throw new errors ;) So it appears that it was a single session that got corrupted and the ContainerBackgroundProcessor was trying to clean up the same bad session on 2 of the 3 servers in the cluster. It's unclear how the third did not get caught up in the problem as well. Finding something invalid that is put into our sessions is a bit of a needle in a haystack, it's a fairly large app. We've been doing session replication (with failover / deserialization of replicated sessions) working well for several month. It's just when we turned on passivation that this error occurs. I would think that if a session were serialized ok/without errors (granted errors might be happening and not caught on serialization), that it could be deserialized ok. To me this implies that it was corrupted / changed while in its serialized form. Is it possible that using the org.jboss.cache.loader.FileCacheLoader could cause such corruption of a session? The docs do mention using caution with this in high load environments. I'm currently working on testing the JDBC based loader for passivation. Thanks for writing up those two jira issues, those directly describe what we ran into. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261616#4261616 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261616 From do-not-reply at jboss.com Wed Oct 21 19:25:44 2009 From: do-not-reply at jboss.com (RichardTaylor) Date: Wed, 21 Oct 2009 19:25:44 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Failure when cleaning up HTTP Session in JBoss AS Cluste Message-ID: <28391505.1256167544305.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Just to clarify, we saw this issue twice, both within two hours. The following lines might help describe what happened in terms of which servers got caught up in the problem. Just want to communicate that it was a different session each time, but in each failure, two servers were trying to clean up the same session if that makes sense. First time, i.e. 3:40pm Server A - failing to clean up session "ABC" Server B - failing to clean up session "ABC" Server C - seemingly OK, no errors being logged Second time, i.e. 5:05pm Server A - seemingly OK, no errors being logged Server B - failing to clean up session "XYZ" Server C - failing to clean up session "XYZ" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261617#4261617 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261617 From do-not-reply at jboss.com Wed Oct 21 19:26:40 2009 From: do-not-reply at jboss.com (rmoskal) Date: Wed, 21 Oct 2009 19:26:40 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Querying Against Process Variables Message-ID: <10659115.1256167600317.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> No worries. businesskey, that was the key search term. So now hopefully we have a clearer connection between the two concepts. There were a few posts and that showed some hsql that worked with the TaskInstance class from 3.x. But no joy with the new 4.o domain objects. I see that we can get the execution from org.jbpm.pvm.internal.type.Variable. It should be easy enough. I was just looking for a shortcut. I will post the code when I'm done. Regards, Robert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261618#4261618 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261618 From do-not-reply at jboss.com Wed Oct 21 20:19:45 2009 From: do-not-reply at jboss.com (ebross) Date: Wed, 21 Oct 2009 20:19:45 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - EJB Injection into Managed bean returns NullPointerException Message-ID: <9150085.1256170785308.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> EJB Injection and NullPointerExcception Development tools: --------------- Linux Java 6.x JSF 1.2 richfaces-ui-3.3.1.GA JBoss 5.1.0.GA Liferay-5.2.3 Outline: When EJB Stateless bean is injected into JSF/RichFaces managed bean and ran, the result is NullPointerException. I have tried using one of the followings without success: (i) @EJB (ii) @EJB(name = "DataConstraintController") (iii) @javax.ejb.EJB(name = "DataConstraintController", mappedName="odms/DataConstraintDAOImpl/local") (iv) With explicit JNDI lookup: javax.naming.InitialContext initialContext = new javax.naming.InitialContext(); | return (DataConstraintLocal) initialContext.lookup("odms/DataConstraintController/local"); | } catch (Exception e) { | e.printStackTrace(); | throw new RuntimeException("couldn't lookup DataConstraintLocal", e); | } | It is an ongoing project so changes are often made to the java files, but the deployment files have not changed for the past three months and it was runing until two days ago. And no one seem to know why EJB injection is failing. The ejb.jar, ejbClient.jar and *.war are in the same ear. Could it be a corrupt library? Should I re-install JBoss? Help! and thanks in advance. -------------------------------------------------------------------------------------- EJB Local Interface: DataConstraintLocal -------------------------------------------------------------------------------------- @javax.ejb.Local | public interface DataConstraintLocal extends com.xxxxx.xxxx.ejb.intf.DataConstraintService, java.io.Serializable{ | | } -------------------------------------------------------------------------------------- EJB Remote Interface: DataConstraintRemote -------------------------------------------------------------------------------------- @javax.ejb.Local | public interface DataConstraintRemote extends com.xxxxx.xxxx.ejb.intf.DataConstraintService, java.io.Serializable{ | | } | -------------------------------------------------------------------------------------- EJB Session Bean: DataConstraintController -------------------------------------------------------------------------------------- | import com.xxxxx.xxxx.domain.bean.DataConstraintEntity; | import com.xxxxx.xxxx.dao.intf.DataConstraintDAOLocal; | | @javax.ejb.Stateless(name="DataConstraintController") | public class DataConstraintController implements com.xxxxx.xxxx.ejb.intf.DataConstraintRemote, com.xxxxx.xxxx.ejb.intf.DataConstraintLocal{ | | | @javax.ejb.EJB(mappedName="odms/DataConstraintDAOImpl/local") | private DataConstraintDAOLocal delegate; | | public DataConstraintController() { | } | | /** | * Finder method for DataConstraintEntity object held in a database | * | * @return the list of DataConstraintEntity objects in the database | */ | @javax.ejb.TransactionAttribute(javax.ejb.TransactionAttributeType.NOT_SUPPORTED) | public DataConstraintEntity[] findAll() throws com.xxxxx.xxxx.gen.exception.EJBException { | | java.util.List retList = delegate.findAll(); | return (DataConstraintEntity[]) retList.toArray(new DataConstraintEntity[retList.size()]); | } | .... | } -------------------------------------------------------------------------------------- Backing Bean: NewUserBkBean -------------------------------------------------------------------------------------- public class NewUserBkBean implements java.io.Serializable{ | | private static final String CRUD_MODE = "all"; | private static final String TABLE_NAME = com.xxxxx.xxxx.domain.bean.UserEntity.TABLE_NAME; | | | public NewUserBkBean(){ | init(); | } | | private void init(){ | java.util.Map propertyValues = new java.util.HashMap(); | propertyValues.put("parentTable", TABLE_NAME); | propertyValues.put("crudMode", CRUD_MODE); | try { | if(dataConstraintController == null){ | //throw new NullPointerException("Null dataConstraintController"); | } | DataConstraintEntity[] retList = dataConstraintController.findAll(); | if(retList == null || retList.length == 0){ | throw new NullPointerException("DataConstraintEntity is empty: common cause is absence of data in the DataConstraint db table"); | } | UserFormBean userFormBean = new UserFormBean(retList, new com.xxxxx.xxxx.web.model.UserCredential(), UserFormBean.class); | if(userFormBean != null){ | setFormBean(userFormBean); | renderUserComponents(); | renderDocumentComponents(); | renderObjectExComponents(); | } | } catch (Exception e) { | e.printStackTrace(); | } | } | -------------------------------------------------------------------------------------- StackTrace -------------------------------------------------------------------------------------- 18:35:05,670 INFO [faces] Process headers request for portlet MainUserPortlet | 18:35:05,675 INFO [faces] Process view request for portlet MainUserPortlet | 18:36:02,257 ERROR [STDERR] java.lang.NullPointerException | 18:36:02,293 ERROR [STDERR] at com.xxxxx.xxxx.web.bean.NewUserBkBean.init(NewUserBkBean.java:230) | 18:36:02,294 ERROR [STDERR] at com.xxxxx.xxxx.web.bean.NewUserBkBean.(NewUserBkBean.java:209) | 18:36:02,294 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | 18:36:02,294 ERROR [STDERR] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | 18:36:02,295 ERROR [STDERR] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | 18:36:02,295 ERROR [STDERR] at java.lang.reflect.Constructor.newInstance(Constructor.java:513) | 18:36:02,295 ERROR [STDERR] at java.lang.Class.newInstance0(Class.java:355) | 18:36:02,296 ERROR [STDERR] at java.lang.Class.newInstance(Class.java:308) | 18:36:02,296 ERROR [STDERR] at com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:186) | 18:36:02,296 ERROR [STDERR] at com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:106) | 18:36:02,297 ERROR [STDERR] at com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:368) | 18:36:02,297 ERROR [STDERR] at com.sun.faces.mgbean.BeanManager.create(BeanManager.java:230) | 18:36:02,298 ERROR [STDERR] at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:86) | 18:36:02,298 ERROR [STDERR] at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:54) | 18:36:02,299 ERROR [STDERR] at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72) | 18:36:02,299 ERROR [STDERR] at org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:61) | 18:36:02,299 ERROR [STDERR] at org.apache.el.parser.AstValue.getValue(AstValue.java:107) | 18:36:02,300 ERROR [STDERR] at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) | 18:36:02,300 ERROR [STDERR] at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | 18:36:02,300 ERROR [STDERR] at | ... | | 18:36:02,321 ERROR [STDERR] at com.xxxxx.xxxx.web.portlet.bean.MainFacesPortlet.doView(MainFacesPortlet.java:84) | 18:36:02,322 ERROR [STDERR] at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328) | 18:36:02,322 ERROR [STDERR] at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:445) | 18:36:02,323 ERROR [STDERR] at com.xxxxx.xxxx.web.portlet.bean.MainFacesPortlet.doDispatch(MainFacesPortlet.java:104) | 18:36:02,324 ERROR [STDERR] at javax.portlet.GenericPortlet.render(GenericPortlet.java:233) | 18:36:02,324 ERROR [STDERR] at com.sun.portal.portletcontainer.appengine.filter.FilterChainImpl.doFilter(FilterChainImpl.java:126) | 18:36:02,325 ERROR [STDERR] at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:69) | 18:36:02,325 ERROR [STDERR] at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:100) | ... | 18:36:18,016 INFO [faces] Process resource request for portlet MainUserPortlet | 18:36:19,501 INFO [faces] Process resource request for portlet MainUserPortlet | 18:36:20,319 | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261621#4261621 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261621 From samk at twinix.com Fri Oct 16 09:57:01 2009 From: samk at twinix.com (samk at twinix.com) Date: Fri, 16 Oct 2009 08:57:01 -0500 (CDT) Subject: [jboss-user] JAVA_HOME is not set. Unexpected results may occur.? JBoss Message-ID: <18134110.01255701422442.JavaMail.SYSTEM@larkin> See Thread at: http://www.techienuggets.com/Detail?tx=45643 Posted on behalf of a User You must make sure your JAVA_HOME is not in variable enviroment but in system enviroment . The other thing is when you install jdk they say you should difine the directory C:\Program Files\Java\jdk1.5.0_14\jre\bin you should change that to C:\Program Files\Java\jdk1.5.0_14 In Response To: When I install JBoss as windows service, it works fine, but after several test on VPC, I hit this error: anonymous wrote : Starting JBoss Application Server 5.0 [2008-07-24 04:18:06] | ECHO is off. | JAVA_HOME is not set. Unexpected results may occur. | Set JAVA_HOME to the directory of your local JDK to avoid this message. | =============================================================================== | | JBoss Bootstrap Environment | | JBOSS_HOME: C:\jboss-4.2.2.GA | | JAVA: java | | JAVA_OPTS: -Xrs -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 | | CLASSPATH: C:\jboss-4.2.2.GA\bin\run.jar | | =============================================================================== | | Error: no `server' JVM at `C:\Program Files\Java\jre1.5.0_15\bin\server\jvm.dll'. | Shutdown JBoss Application Server 5.0 service [2008-07-24 04:18:07] I found this post but nobody answered http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987689#3987689. anyone? From do-not-reply at jboss.com Wed Oct 21 23:37:09 2009 From: do-not-reply at jboss.com (MaxKevinC) Date: Wed, 21 Oct 2009 23:37:09 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - About add widget google Message-ID: <3054441.1256182629846.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, it's big exception when add widget google by Gadget URI or fresh the next page of Gadget Directory . Do u have some solutions about this question? | ERROR | Cause: javax.portlet.PortletException: Error process faces request | Message: Error process faces request | StackTrace: | javax.portlet.PortletException: Error process faces request | at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:326) | at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:557) | at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109) | at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72) | at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:505) | at org.jboss.portal.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(TransactionInterceptor.java:117) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_N7979132061380150447.invokeNext(TransactionInterceptor$invokeRequired_N7979132061380150447.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_N7979132061380150447.invokeNext(TransactionInterceptor$invokeRequired_N7979132061380150447.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_N7979132061380150447.invokeNext(TransactionInterceptor$invokeRequired_N7979132061380150447.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeRequired(TransactionInterceptor.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:74) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:196) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.SignOutInterceptor.invoke(SignOutInterceptor.java:43) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:49) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:46) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:82) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:48) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49) | at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123) | at org.jboss.portal.web.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:74) | at sun.reflect.GeneratedMethodAccessor354.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.portal.web.command.CommandServlet.doGet(CommandServlet.java:130) | at org.jboss.portal.web.command.CommandServlet.doPost(CommandServlet.java:161) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) | 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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481) | at org.jboss.portal.web.command.CommandServlet.include(CommandServlet.java:79) | at org.jboss.portal.web.command.CommandDispatcher.include(CommandDispatcher.java:50) | at org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:66) | at org.jboss.portal.web.impl.DefaultServletContainer.include(DefaultServletContainer.java:190) | at org.jboss.portal.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69) | at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:75) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:116) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:221) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortletInvoker$invoke$aop(ProducerPortletInvoker.java:53) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java) | at org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:145) | at org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:149) | at org.jboss.portal.core.model.instance.InstanceInvoker.invoke(InstanceInvoker.java:42) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:93) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:93) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:229) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.org$jboss$portal$core$impl$model$instance$InstanceContainerImpl$invoke$aop(InstanceContainerImpl.java:408) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.invoke(InstanceContainerImpl.java) | at org.jboss.portal.core.impl.model.instance.AbstractInstance.invoke(AbstractInstance.java:231) | at org.jboss.portal.core.controller.portlet.ControllerPortletControllerContext.internalInvoke(ControllerPortletControllerContext.java:255) | at org.jboss.portal.core.controller.portlet.ControllerPortletControllerContext.invoke(ControllerPortletControllerContext.java:208) | at org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:332) | at org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:58) | at org.jboss.portal.portlet.controller.RequestHandler.handle(RequestHandler.java:64) | at org.jboss.portal.portlet.controller.PortletController.process(PortletController.java:179) | at org.jboss.portal.core.model.portal.command.action.InvokePortletWindowActionCommand.execute(InvokePortletWindowActionCommand.java:183) | at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:124) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:134) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:48) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:55) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157) | at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134) | at org.jboss.portal.core.controller.Controller.processCommand(Controller.java:279) | at org.jboss.portal.core.controller.Controller.handle(Controller.java:261) | at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:196) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.IdentityCacheInterceptor.invoke(IdentityCacheInterceptor.java:68) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49) | at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253) | at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262) | at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java) | at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69) | at org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157) | at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252) | 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.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:182) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | 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:262) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | at java.lang.Thread.run(Thread.java:595) | javax.portlet.faces.BridgeException: Error processing render lifecycle | at org.jboss.portletbridge.ExceptionHandlerImpl.processActionException(ExceptionHandlerImpl.java:63) | at org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:383) | at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:323) | at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:557) | at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109) | at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72) | at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:505) | at org.jboss.portal.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(TransactionInterceptor.java:117) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_N7979132061380150447.invokeNext(TransactionInterceptor$invokeRequired_N7979132061380150447.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_N7979132061380150447.invokeNext(TransactionInterceptor$invokeRequired_N7979132061380150447.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_N7979132061380150447.invokeNext(TransactionInterceptor$invokeRequired_N7979132061380150447.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeRequired(TransactionInterceptor.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:74) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:196) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.SignOutInterceptor.invoke(SignOutInterceptor.java:43) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:49) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:46) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:82) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:48) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49) | at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123) | at org.jboss.portal.web.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:74) | at sun.reflect.GeneratedMethodAccessor354.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.portal.web.command.CommandServlet.doGet(CommandServlet.java:130) | at org.jboss.portal.web.command.CommandServlet.doPost(CommandServlet.java:161) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) | 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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481) | at org.jboss.portal.web.command.CommandServlet.include(CommandServlet.java:79) | at org.jboss.portal.web.command.CommandDispatcher.include(CommandDispatcher.java:50) | at org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:66) | at org.jboss.portal.web.impl.DefaultServletContainer.include(DefaultServletContainer.java:190) | at org.jboss.portal.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69) | at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:75) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:116) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:221) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortletInvoker$invoke$aop(ProducerPortletInvoker.java:53) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java) | at org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:145) | at org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:149) | at org.jboss.portal.core.model.instance.InstanceInvoker.invoke(InstanceInvoker.java:42) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:93) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:93) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:229) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.org$jboss$portal$core$impl$model$instance$InstanceContainerImpl$invoke$aop(InstanceContainerImpl.java:408) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.invoke(InstanceContainerImpl.java) | at org.jboss.portal.core.impl.model.instance.AbstractInstance.invoke(AbstractInstance.java:231) | at org.jboss.portal.core.controller.portlet.ControllerPortletControllerContext.internalInvoke(ControllerPortletControllerContext.java:255) | at org.jboss.portal.core.controller.portlet.ControllerPortletControllerContext.invoke(ControllerPortletControllerContext.java:208) | at org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:332) | at org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:58) | at org.jboss.portal.portlet.controller.RequestHandler.handle(RequestHandler.java:64) | at org.jboss.portal.portlet.controller.PortletController.process(PortletController.java:179) | at org.jboss.portal.core.model.portal.command.action.InvokePortletWindowActionCommand.execute(InvokePortletWindowActionCommand.java:183) | at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:124) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:134) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:48) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:55) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157) | at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134) | at org.jboss.portal.core.controller.Controller.processCommand(Controller.java:279) | at org.jboss.portal.core.controller.Controller.handle(Controller.java:261) | at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:196) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.IdentityCacheInterceptor.invoke(IdentityCacheInterceptor.java:68) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49) | at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253) | at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262) | at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java) | at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69) | at org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157) | at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252) | 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.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:182) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | 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:262) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | at java.lang.Thread.run(Thread.java:595) | javax.faces.application.ViewExpiredException: viewId:/jsf/dashboard/dashboard.xhtml - View /jsf/dashboard/dashboard.xhtml could not be restored. | at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:186) | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) | at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) | at org.jboss.portletbridge.AjaxPortletBridge.execute(AjaxPortletBridge.java:836) | at org.jboss.portletbridge.AjaxPortletBridge.doFacesRequest(AjaxPortletBridge.java:343) | at javax.portlet.faces.GenericFacesPortlet.processAction(GenericFacesPortlet.java:323) | at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl$Invoker.doFilter(PortletContainerImpl.java:557) | at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:109) | at org.jboss.portal.portlet.impl.jsr168.api.FilterChainImpl.doFilter(FilterChainImpl.java:72) | at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:505) | at org.jboss.portal.portlet.container.ContainerPortletDispatcher.invoke(ContainerPortletDispatcher.java:42) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeRequired$aop(TransactionInterceptor.java:117) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_N7979132061380150447.invokeNext(TransactionInterceptor$invokeRequired_N7979132061380150447.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_N7979132061380150447.invokeNext(TransactionInterceptor$invokeRequired_N7979132061380150447.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeRequired_N7979132061380150447.invokeNext(TransactionInterceptor$invokeRequired_N7979132061380150447.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeRequired(TransactionInterceptor.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:74) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.EventPayloadInterceptor.invoke(EventPayloadInterceptor.java:196) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.RequestAttributeConversationInterceptor.invoke(RequestAttributeConversationInterceptor.java:119) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.SignOutInterceptor.invoke(SignOutInterceptor.java:43) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:49) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.aspects.portlet.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:46) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:49) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:82) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:48) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.access$001(ContextDispatcherInterceptor.java:49) | at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:123) | at org.jboss.portal.web.command.CommandDispatcher$CallbackCommand.execute(CommandDispatcher.java:74) | at sun.reflect.GeneratedMethodAccessor354.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.portal.web.command.CommandServlet.doGet(CommandServlet.java:130) | at org.jboss.portal.web.command.CommandServlet.doPost(CommandServlet.java:161) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:710) | 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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) | at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:557) | at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:481) | at org.jboss.portal.web.command.CommandServlet.include(CommandServlet.java:79) | at org.jboss.portal.web.command.CommandDispatcher.include(CommandDispatcher.java:50) | at org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:66) | at org.jboss.portal.web.impl.DefaultServletContainer.include(DefaultServletContainer.java:190) | at org.jboss.portal.portlet.impl.spi.AbstractServerContext.dispatch(AbstractServerContext.java:69) | at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:77) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:69) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:75) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.container.ContainerPortletInvoker.invoke(ContainerPortletInvoker.java:116) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.state.producer.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java:221) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.org$jboss$portal$core$impl$portlet$state$ProducerPortletInvoker$invoke$aop(ProducerPortletInvoker.java:53) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker$invoke_N8654503705355129869.invokeNext(ProducerPortletInvoker$invoke_N8654503705355129869.java) | at org.jboss.portal.core.impl.portlet.state.ProducerPortletInvoker.invoke(ProducerPortletInvoker.java) | at org.jboss.portal.portlet.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:145) | at org.jboss.portal.portlet.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:149) | at org.jboss.portal.core.model.instance.InstanceInvoker.invoke(InstanceInvoker.java:42) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:93) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:93) | at org.jboss.portal.portlet.PortletInvokerInterceptor.invoke(PortletInvokerInterceptor.java:82) | at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:229) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.org$jboss$portal$core$impl$model$instance$InstanceContainerImpl$invoke$aop(InstanceContainerImpl.java:408) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java) | at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl$invoke_N8654503705355129869.invokeNext(InstanceContainerImpl$invoke_N8654503705355129869.java) | at org.jboss.portal.core.impl.model.instance.InstanceContainerImpl.invoke(InstanceContainerImpl.java) | at org.jboss.portal.core.impl.model.instance.AbstractInstance.invoke(AbstractInstance.java:231) | at org.jboss.portal.core.controller.portlet.ControllerPortletControllerContext.internalInvoke(ControllerPortletControllerContext.java:255) | at org.jboss.portal.core.controller.portlet.ControllerPortletControllerContext.invoke(ControllerPortletControllerContext.java:208) | at org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:332) | at org.jboss.portal.portlet.controller.PortletRequestHandler.invoke(PortletRequestHandler.java:58) | at org.jboss.portal.portlet.controller.RequestHandler.handle(RequestHandler.java:64) | at org.jboss.portal.portlet.controller.PortletController.process(PortletController.java:179) | at org.jboss.portal.core.model.portal.command.action.InvokePortletWindowActionCommand.execute(InvokePortletWindowActionCommand.java:183) | at org.jboss.portal.core.controller.ControllerCommand$1.invoke(ControllerCommand.java:68) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.core.aspects.controller.node.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:124) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor.invoke(PageCustomizerInterceptor.java:134) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:78) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.node.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:81) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.BackwardCompatibilityInterceptor.invoke(BackwardCompatibilityInterceptor.java:48) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.ControlInterceptor.invoke(ControlInterceptor.java:56) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.NavigationalStateInterceptor.invoke(NavigationalStateInterceptor.java:42) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.controller.ajax.AjaxInterceptor.invoke(AjaxInterceptor.java:55) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.controller.ResourceAcquisitionInterceptor.invoke(ResourceAcquisitionInterceptor.java:50) | at org.jboss.portal.core.controller.ControllerInterceptor.invoke(ControllerInterceptor.java:40) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157) | at org.jboss.portal.core.controller.ControllerContext.execute(ControllerContext.java:134) | at org.jboss.portal.core.controller.Controller.processCommand(Controller.java:279) | at org.jboss.portal.core.controller.Controller.handle(Controller.java:261) | at org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) | at org.jboss.portal.core.cms.aspect.IdentityBindingInterceptor.invoke(IdentityBindingInterceptor.java:47) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:68) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.PortalContextPathInterceptor.invoke(PortalContextPathInterceptor.java:45) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:96) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:196) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.server.aspects.server.SignOutInterceptor.invoke(SignOutInterceptor.java:98) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.impl.api.user.UserEventBridgeTriggerInterceptor.invoke(UserEventBridgeTriggerInterceptor.java:65) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.IdentityCacheInterceptor.invoke(IdentityCacheInterceptor.java:68) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49) | at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:253) | at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java) | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79) | at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262) | at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java) | at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java) | at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:38) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.server.aspects.LockInterceptor$InternalLock.invoke(LockInterceptor.java:69) | at org.jboss.portal.server.aspects.LockInterceptor.invoke(LockInterceptor.java:130) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) | at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157) | at org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:252) | 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.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:182) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | 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:262) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | at java.lang.Thread.run(Thread.java:595) | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261631#4261631 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261631 From do-not-reply at jboss.com Wed Oct 21 23:43:47 2009 From: do-not-reply at jboss.com (Sunay) Date: Wed, 21 Oct 2009 23:43:47 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM3.2 :: Reassign Task to another User Message-ID: <3400772.1256183027112.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "kukeltje" wrote : Can anyone answer this? My answer would be: | | Yes there is | | But that is probably not what the original poster wants to hear. Thanks for the Prompt Reply, After googling i found the way to reassign work to the actor. Once again thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261632#4261632 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261632 From do-not-reply at jboss.com Thu Oct 22 01:35:31 2009 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 22 Oct 2009 01:35:31 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: 'table does not exist' error after changing default data Message-ID: <11857999.1256189731812.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Bob, Thank you for letting others know about these steps. Feel free to add/edit to wiki any of such relevant information so that it will be easily available to others. As for JBoss Messaging in AS-5 and the steps to change the default DB, there's a wiki here http://www.jboss.org/community/wiki/ConfigMessagingDB View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261634#4261634 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261634 From do-not-reply at jboss.com Thu Oct 22 02:18:00 2009 From: do-not-reply at jboss.com (rkidd) Date: Thu, 22 Oct 2009 02:18:00 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Installation Jboss AS 5 for jdk6 failed.... Message-ID: <31624852.1256192280865.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> All attempts to run run.bat fail and result in this statement printing out to the screen: "Calling C:\jboss\bin\run.con.bat" I'm brand new at this so I followed this tutorial: http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Installation_And_Getting_Started_Guide/5/html/index.html help? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261636#4261636 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261636 From do-not-reply at jboss.com Thu Oct 22 02:26:44 2009 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 22 Oct 2009 02:26:44 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Installation Jboss AS 5 for jdk6 failed.... Message-ID: <13699746.1256192804610.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You probably haven't set the JAVA_HOME variable to point correctly to the JDK? What does echo %JAVA_HOME% print when run from the same command prompt? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261638#4261638 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261638 From do-not-reply at jboss.com Thu Oct 22 03:46:02 2009 From: do-not-reply at jboss.com (Krohm) Date: Thu, 22 Oct 2009 03:46:02 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM 4] Process variable Message-ID: <14447726.1256197562746.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The problem is that JBPM does not recognize your Object as a persistable object. JBPM is capable of persisting Beans by itself, as long as the primary key is a Long or a String, as well as Standard Java Objects. If the Object you are trying to persist does not enter in that category, you will have to : * modify jbpm.variable.types.xml to make JBPM know this Class * Possibly to write a new class implementing org.jbpm.pvm.internal.type.variable (then refer to it in jbpm.variable.types.xml ) * Possibly to write a Converter also. My choice would be to handle all the persistance in the Variable Class. Hope this helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261644#4261644 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261644 From do-not-reply at jboss.com Thu Oct 22 03:49:41 2009 From: do-not-reply at jboss.com (rohit.macherla) Date: Thu, 22 Oct 2009 03:49:41 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Logging in JBoss Message-ID: <17737377.1256197781668.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am developing WebServices on JBoss 4.2.3.GA application server. I am planning to use Logger facility for logging the information, instead of the System.out.println's. I have found that the "Logger" class comes in various packages(jar's). For the list given below, I am unable to select a better jar for using them. Please give me some details regarding the advantages/disadvantages of using the following Logger's: java.util.logging.Logger org.jboss.logging.Logger org.apache.log4j.Logger I am assuming : Using JBoss logging might make my code tightly coupled with the application server (I am not sure we'll change the application server) but it may offer greater performance as it is JBoss specific logging. However, it would be great if someone provides insights into this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261645#4261645 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261645 From do-not-reply at jboss.com Thu Oct 22 03:50:59 2009 From: do-not-reply at jboss.com (czujnik) Date: Thu, 22 Oct 2009 03:50:59 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM 4] Process variable Message-ID: <1410575.1256197859995.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for Your info. I found that there is a problem with persistence of variables in JBPM 4.0 which has been solved in 4.1. I've changed jBPM version and my code works correctly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261646#4261646 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261646 From torsten.reinhard at gi-de.com Thu Oct 22 03:53:57 2009 From: torsten.reinhard at gi-de.com (torsten.reinhard at gi-de.com) Date: Thu, 22 Oct 2009 09:53:57 +0200 Subject: [jboss-user] how to access ManagedConnectionFactory properties In-Reply-To: <27964264.1255565578177.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Message-ID: Hi, with JMX i can retrieve the properties of a managed (database) connection: private Element getManagedConnectionFactoryProperties(final MBeanServerConnection server, final String jndiName) throws Exception { String objectNameParam = "jboss.jca:service=ManagedConnectionFactory,name=" + jndiName; ObjectName oJdbc = new ObjectName(objectNameParam); return (Element) server.getAttribute(oJdbc, "ManagedConnectionFactoryProperties"); } The "element" looks like: * * jdbc:db2://10.9.33.186:50001/cams181u * com.ibm.db2.jcc.DB2Driver * camsuser * camsuser * select 1 from SYSIBM.SYSDUMMY1 * false * true * * progressiveStreaming=2 * currentSchema=CAMSSCHEMA * currentFunctionPath="SYSIBM","SYSFUN","SYSPROC","SYSIBMADM","CAMSSCHEMA" * progressiveStreaming=2 * * Is there a common class availabe I could pass this Element, and access the config-property values with get...() methods? Or do I need to write my own DOM parsing, using XPath for example? Thanx, Torsten -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20091022/27e874f6/attachment.html From do-not-reply at jboss.com Thu Oct 22 03:56:36 2009 From: do-not-reply at jboss.com (rkidd) Date: Thu, 22 Oct 2009 03:56:36 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Installation Jboss AS 5 for jdk6 failed.... Message-ID: <5188439.1256198196615.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "jaikiran" wrote : You probably haven't set the JAVA_HOME variable to point correctly to the JDK? What does | | echo %JAVA_HOME% | | print when run from the same command prompt? it says "C:\Program Files\Java\jdk1.6.0_16\bin\java" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261647#4261647 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261647 From do-not-reply at jboss.com Thu Oct 22 03:57:38 2009 From: do-not-reply at jboss.com (rams.rapo) Date: Thu, 22 Oct 2009 03:57:38 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity Message-ID: <14180770.1256198258237.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You would need to extend few jbpm classes and override the GetOutcomes behaviour. At a very high level: a) Extend WireDescriptorBinding, implement corresponding descriptor by extending ObjectDescriptor, etc b) Add entry for extended WireDescriptorBinding class in jbpm.wire.bindings.xml. c) Extend jbpm springconfiguration class, override the buildProcessEngine, getTaskService methods. getTaskService should return the class which you extend from TaskService. d) Extend AbstractCommand and pass in custom taskservice class created in above step. Here you override the behaviour... p.s: search the forum, i remember few threads explaining more in detail on this implementation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261648#4261648 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261648 From do-not-reply at jboss.com Thu Oct 22 04:19:45 2009 From: do-not-reply at jboss.com (bershath27) Date: Thu, 22 Oct 2009 04:19:45 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Slow consumer is blocking producer Message-ID: <8292107.1256199585546.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What's your client application? Is it a plain JMS client ? Can I take a look at your client code please? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261651#4261651 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261651 From do-not-reply at jboss.com Thu Oct 22 04:23:16 2009 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 22 Oct 2009 04:23:16 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Installation Jboss AS 5 for jdk6 failed.... Message-ID: <25849913.1256199796211.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "rkidd" wrote : | | it says "C:\Program Files\Java\jdk1.6.0_16\bin\java" 1) It's always recommended *not* to install Java or JBoss in any folder containing a space in its path name. It's better to move the Java installation to maybe C:\Java 2) The JAVA_HOME should point to the root folder of the JDK installation. In your case, it should point to C:\Program Files\Java\jdk1.6.0_16 So set it appropriately. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261652#4261652 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261652 From do-not-reply at jboss.com Thu Oct 22 05:50:19 2009 From: do-not-reply at jboss.com (rasa) Date: Thu, 22 Oct 2009 05:50:19 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Deployment related Issue Message-ID: <10477016.1256205019776.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, When i deploy my application in jboss 4.2.3 GA i am getting following error | ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:jndiName=local/testbean at 24099325,service=EJB | State: NOTYETINSTALLED | I Depend On: | jboss.j2ee:jndiName=local/MessageMDB,service=EJB,plugin=invoker,binding=test-message-driven-bean | Before this message In the log it is shown that [EjbModule] Deploying MessageMDB I am not able to identify the issue. Regards, Rasa. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261669#4261669 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261669 From do-not-reply at jboss.com Thu Oct 22 07:35:35 2009 From: do-not-reply at jboss.com (shiva0) Date: Thu, 22 Oct 2009 07:35:35 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Store long strings as variables Message-ID: <28216334.1256211335638.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I had the same problem persisting persisting objects in xml converted with XMLEncoder My quick fix for this was to convert it as byte[] before saving the variables. That way it is automatically stored in the LOB table. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261688#4261688 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261688 From do-not-reply at jboss.com Thu Oct 22 07:40:13 2009 From: do-not-reply at jboss.com (shiva0) Date: Thu, 22 Oct 2009 07:40:13 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: identities from LDAP example pls! Message-ID: <32081877.1256211613833.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Here is the module I've coded to access a LDAP on ADS. Should get you started on what you need. public class IdentitySessionImpl implements IdentitySession { | | private static IdentitySessionProperties props = null; | | public Group findGroupById(String iGroupId) { | Timer lTimer = Timer.getInstance(getClass(), "findGroupById"); | InitialDirContext lContext = null; | GroupImpl lGroup = null; | | try | { | lContext = getLDAPContext(); | | // Set up Search Controls | SearchControls lSearchControls = new SearchControls(); | lSearchControls.setSearchScope( SearchControls.SUBTREE_SCOPE ); | | // set time limit for query. Useful for preventing the application from being blocked | lSearchControls.setTimeLimit( 3000 ); | lSearchControls.setReturningObjFlag( true ); | | // set filter | String lSearchString = "(&(cn=" + iGroupId + ")(objectclass=group))"; | | // perform search on directory | NamingEnumeration lResults = lContext.search( getProps().getLdapBase(), lSearchString, lSearchControls ); | | if ( lResults.hasMore() ) | lGroup = getGroup(lResults.next()); | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | finally | { | lTimer.log(); | try { if (lContext != null ) lContext.close(); } catch (NamingException e) { } | } | | return lGroup; | } | | public List findGroupsByUser(String iUserId) { | Timer lTimer = Timer.getInstance(getClass(), "findGroupsByUser"); | InitialDirContext lContext = null; | List lGroups = null; | | try | { | lContext = getLDAPContext(); | | // Set up Search Controls | SearchControls lSearchControls = new SearchControls(); | lSearchControls.setSearchScope( SearchControls.SUBTREE_SCOPE ); | | // set time limit for query. Useful for preventing the application from being blocked | lSearchControls.setTimeLimit( 3000 ); | lSearchControls.setReturningObjFlag( true ); | | // set filter | String lSearchString = "(&(|(cn=" + iUserId + ")(samAccountName=" + iUserId + "))(objectclass=user))"; | | // perform search on directory | NamingEnumeration lResults = lContext.search( getProps().getLdapBase(), lSearchString, lSearchControls ); | | if ( lResults.hasMore() ) | lGroups = getGroups(lResults.next()); | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | finally | { | lTimer.log(); | try { if (lContext != null ) lContext.close(); } catch (NamingException e) { } | } | | return lGroups; | } | | public List findGroupsByUserAndGroupType(String iUserId, String iGroupType) { | return findGroupsByUser(iUserId); | } | | public User findUserById(String iUserId) { | Timer lTimer = Timer.getInstance(getClass(), "findUserById"); | InitialDirContext lContext = null; | UserImpl lUser = null; | | try | { | lContext = getLDAPContext(); | | // Set up Search Controls | SearchControls lSearchControls = new SearchControls(); | lSearchControls.setSearchScope( SearchControls.SUBTREE_SCOPE ); | | // set time limit for query. Useful for preventing the application from being blocked | lSearchControls.setTimeLimit( 3000 ); | lSearchControls.setReturningObjFlag( true ); | | // set filter | String lSearchString = "(&(|(cn=" + iUserId + ")(samAccountName=" + iUserId + "))(objectclass=user))"; | | // perform search on directory | NamingEnumeration lResults = lContext.search( getProps().getLdapBase(), lSearchString, lSearchControls ); | | if ( lResults.hasMore() ) | lUser = getUser(lResults.next()); | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | finally | { | lTimer.log(); | try { if (lContext != null ) lContext.close(); } catch (NamingException e) { } | } | | return lUser; | } | | public List findUsers() { | Timer lTimer = Timer.getInstance(getClass(), "findUsers"); | List lUsers = new ArrayList(); | InitialDirContext lContext = null; | | try | { | lContext = getLDAPContext(); | | // Set up Search Controls | SearchControls lSearchControls = new SearchControls(); | lSearchControls.setSearchScope( SearchControls.SUBTREE_SCOPE ); | | // set time limit for query. Useful for preventing the application from being blocked | lSearchControls.setTimeLimit( 3000 ); | lSearchControls.setReturningObjFlag( true ); | | // set filter | String lSearchString = "(&(objectclass=user))"; | | // perform search on directory | NamingEnumeration lResults = lContext.search( getProps().getLdapBase(), lSearchString, lSearchControls ); | | while ( lResults.hasMore() ) | lUsers.add( getUser(lResults.next()) ); | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | finally | { | lTimer.log(); | try { if (lContext != null ) lContext.close(); } catch (NamingException e) { } | } | | return lUsers; | } | | public List findUsersByGroup(String iGroup) { | Timer lTimer = Timer.getInstance(getClass(), "findUsersByGroup"); | List lUsers = new ArrayList(); | InitialDirContext lContext = null; | | try | { | lContext = getLDAPContext(); | | // Set up Search Controls | SearchControls lSearchControls = new SearchControls(); | lSearchControls.setSearchScope( SearchControls.SUBTREE_SCOPE ); | | // set time limit for query. Useful for preventing the application from being blocked | lSearchControls.setTimeLimit( 3000 ); | lSearchControls.setReturningObjFlag( true ); | | // set filter | String lSearchString = "(&(memberof=CN=" + iGroup + ",CN=Users," + getProps().getLdapBase() + ")(objectclass=user))"; | | // perform search on directory | NamingEnumeration lResults = lContext.search( getProps().getLdapBase(), lSearchString, lSearchControls ); | | while ( lResults.hasMore() ) | { | lUsers.add( getUser(lResults.next()) ); | } | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | finally | { | lTimer.log(); | try { if (lContext != null ) lContext.close(); } catch (NamingException e) { } | } | | return lUsers; | } | | public List findUsersById(String... iUserIds) { | Timer lTimer = Timer.getInstance(getClass(), "findUsersById"); | List lUsers = new ArrayList(iUserIds.length); | | try | { | for (String lUserId : iUserIds) { | lUsers.add( findUserById(lUserId) ); | } | } | finally | { | lTimer.log(); | } | | return lUsers; | } | | private UserImpl getUser(SearchResult iResult) throws NamingException, IOException { | final String iUserId = getAttributeValue(iResult, getProps().getUserIdAttr()); | final String lEmail = getAttributeValue(iResult, getProps().getUserEmailAttr()); | final String lFirstname = getAttributeValue(iResult, getProps().getUserFirstNameAttr()); | final String lLastname = getAttributeValue(iResult, getProps().getUserLastNameAttr()); | | final UserImpl lUser = new UserImpl(iUserId, lFirstname, lLastname); | lUser.setBusinessEmail(lEmail + "@DUMMY.gc.ca"); | | return lUser; | } | | private GroupImpl getGroup(SearchResult iResult) throws NamingException, IOException { | final String iGroupId = getAttributeValue(iResult, getProps().getGroupIdAttr()); | | final GroupImpl lGroup = new GroupImpl(iGroupId); | | return lGroup; | } | | private List getGroups(SearchResult iResult) throws NamingException, IOException { | NamingEnumeration lAllAttrValues = null; | | final List lGroups = new ArrayList(); | final Attribute lAttr = iResult.getAttributes().get(getProps().getMemberOfAttr()); | | if ( lAttr != null ) | lAllAttrValues = lAttr.getAll(); | | while ( lAllAttrValues.hasMore() ) | { | String lGroupDN = (String) lAllAttrValues.next(); | lGroups.add(new GroupImpl(getExtractedIdFromDN(lGroupDN))); | } | | return lGroups; | } | | /** | * Remove the DN information and extract on the group CN (id) | * CN=BPE-Management,CN=Users,DC=portaildev,DC=,DC=gc,DC=ca becomes BPE-Management | * @param iGroupDN | * @return | */ | private String getExtractedIdFromDN(String iGroupDN) { | StringTokenizer lTok = new StringTokenizer(iGroupDN, ","); | | String lGroupCN = lTok.nextToken(); | | return lGroupCN.substring(3); | } | | private String getAttributeValue(SearchResult iResult, String iAttributeName) throws NamingException { | NamingEnumeration lAllAttrValues = null; | Attribute lAttr = iResult.getAttributes().get(iAttributeName); | | if ( lAttr != null ) | lAllAttrValues = lAttr.getAll(); | | if ( lAllAttrValues != null && lAllAttrValues.hasMore() ) | return (String) lAllAttrValues.next(); | else | return null; | } | | /** | * Fetch the LDAP Initial Context | * | * @return The InitialDirContext | * | * @throws NamingException | * @throws IOException | */ | private InitialDirContext getLDAPContext() throws NamingException, IOException { | InitialDirContext lLdapCtx = null; | | // Set up LDAP configuration settings | Hashtable lContextValues = new Hashtable(); | | lContextValues.put("java.naming.ldap.version", "3"); | lContextValues.put("java.naming.factory.initial", "com.sun.jndi.ldap.LdapCtxFactory"); | lContextValues.put("java.naming.security.authentication", "Simple"); | lContextValues.put("java.naming.referral", "follow"); | lContextValues.put("java.naming.provider.url", getProps().getLdapUrl()); | lContextValues.put("java.naming.security.principal", getProps().getLdapProvider()); | lContextValues.put("java.naming.security.credentials", getProps().getLdapCredentials()); | | // Make LDAP connection | lLdapCtx = new InitialDirContext(lContextValues); | | return lLdapCtx; | } | | private static IdentitySessionProperties getProps() throws IOException | { | if ( props == null ) | { | props = new IdentitySessionProperties(); | } | | return props; | } | | /* The following methods won't be implemented */ | public String createGroup(String arg0, String arg1, String arg2) { | throw new UnsupportedOperationException(); | } | | public void createMembership(String arg0, String arg1, String arg2) { | throw new UnsupportedOperationException(); | } | | public String createUser(String arg0, String arg1, String arg2, String arg3) { | throw new UnsupportedOperationException(); | } | | public void deleteGroup(String arg0) { | throw new UnsupportedOperationException(); | } | | public void deleteMembership(String arg0, String arg1, String arg2) { | throw new UnsupportedOperationException(); | } | | public void deleteUser(String arg0) { | throw new UnsupportedOperationException(); | } | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261691#4261691 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261691 From do-not-reply at jboss.com Thu Oct 22 07:49:29 2009 From: do-not-reply at jboss.com (vchira) Date: Thu, 22 Oct 2009 07:49:29 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Querying Against Process Variables Message-ID: <7038217.1256212169824.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I also need a solution for this..and yes I searched the forums. It would be greate if you could post some code. thx. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261693#4261693 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261693 From do-not-reply at jboss.com Thu Oct 22 07:53:18 2009 From: do-not-reply at jboss.com (ravi_eze) Date: Thu, 22 Oct 2009 07:53:18 -0400 (EDT) Subject: [jboss-user] [JBoss Remoting Users] - Re: JBoss RMI + Serialization performance issue Message-ID: <22770220.1256212398858.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi, Here's a new test. Even here the jboss socket comm (with/ without jboss serialization) does badly.The machines are the same linux boxes and no other process is runnin on it. First we ran the test for 1000 times(say this as a batch) and 15 such batches. Took the average of last 12 of them(considering jvm warmups etc). We did this for Java RMI with raw_socket (or javaRMI with java serialization) Then we did the same with Jboss RMI over socket (socket transport with jboss serialization). We did this as the same process and as a different processes. In all the cases socket transport with java serialization took abt 35% more time than java RMI with java serialization. Now considering jboss RMI with jboss serialization it takes more than 10 times w.r.t. java RMI with java serialization. I am not sure where i am doing wrong. below is the code public class Person implements Serializable { | int id; | private Vector personVector = null; | | //HERE WE POPULATE A TREE WITH A GIVEN DEPTH AND BREADTH. | public Person populateDepth(Person person, int currentDepth, int breadth, int finalDepth) { | if (currentDepth >= finalDepth) { | return person; | } else { | person.personVector = new Vector(breadth); | this.id = this.personID++; | for (int i = 0; i < breadth; i++) { | Person p = new Person(); | person.personVector.add(p); | populateDepth(p, currentDepth + 1, breadth, finalDepth); | } | } | return person; | } | | //DOES THE JAVA SERIALIZATION | public byte[] getJavaBytes() throws Exception { | ByteArrayOutputStream st = new ByteArrayOutputStream(64 * 1024); | ObjectOutputStream os = new ObjectOutputStream(st); | os.writeObject(this); | byte[] s = st.toByteArray(); | return s; | } | | //DOES JBOSS SERIALIZATION. | public byte[] getJbossBytes() throws Exception { | ByteArrayOutputStream st = new ByteArrayOutputStream(64 * 1024); | ObjectOutputStream os = new JBossObjectOutputStream(st); | os.writeObject(this); | byte[] s = st.toByteArray(); | return s; | } | | //STRESS CODE | public static long stress(IRemote playerInterface, Person player, int hits) throws Exception { | long startingTime; | long endTime; | startingTime = System.currentTimeMillis(); | for (int i = 0; i < hits; i++) { | Person result = playerInterface.execute(player); | } | endTime = System.currentTimeMillis(); | return endTime - startingTime; | } | | } | | Also we see Jboss serialization to produce 40% more bytes than java serialization for the above prog. Cleint prog is as follows | uri= "socket://10.1.131.96:8092?serializationtype=jboss"; | int depth=15; | int breadth =2; | remote = (IRemote) TransporterClient.createTransporterClient(uri, IRemote.class); | Person p = new Person(); | p = p.populateDepth(p, 0, breadth, depth); | return Person.stress(remote, p, hits); | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261694#4261694 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261694 From do-not-reply at jboss.com Thu Oct 22 08:06:15 2009 From: do-not-reply at jboss.com (vchira) Date: Thu, 22 Oct 2009 08:06:15 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to Message-ID: <22056393.1256213175173.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "kukeltje" wrote : please can you search the forum first (either with google or directly) and then get back with more detailed questions. In general my answers would be: | | 1: Yes, but not that easy / Depends | 2: No I don't know who you think you are but can you frikin' stop posting this c..p in all posts? i searched google like crazy without an definite answer waht kind of deployment is officialy supported in jBPM 4.1 and how can we migrate Processes from one version to another. this is a Problem that all serios jBPM users have it!!! why don't you just write something about it in User docu or developer docu if you are so frikin' smart!!!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261697#4261697 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261697 From do-not-reply at jboss.com Thu Oct 22 08:08:20 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Thu, 22 Oct 2009 08:08:20 -0400 (EDT) Subject: [jboss-user] [Security] - Re: ejb not validating user role at session bean methods + J Message-ID: <21898719.1256213300212.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Got it.. my mistake.... There was no jboss.xml within the ejb's META-INF. Instead i had places it in the META-INF of the containing ear file... Now.. my application uses only a single security domain for all the ejb's and i have a multi jar setup within the ear. Is there any way by which i define something at the ear level to avoid having a similar jboss.xml in all my ejb jars? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261698#4261698 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261698 From do-not-reply at jboss.com Thu Oct 22 08:19:01 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 22 Oct 2009 08:19:01 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to Message-ID: <15922166.1256213941467.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> To answer your question, vchira: He's the guy answering the biggest amount of questions in a competent and friendly way in this forum in his free time (!!). Features only make it into the user guide if they are considered to be stable, in the dev guide if they are considered to have at least a certain level of stability which means they are not supposed to still change a lot (there exceptions of course). For you both: Looking trough the issue list to be fixed in jBPM 4.3 easily brings up this issue which was reopened: https://jira.jboss.org/jira/browse/JBPM-165 Note the link Tom posted in the comments: http://calebpowell.blogspot.com/2009/06/jbpm-migrations-our-approach.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261699#4261699 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261699 From do-not-reply at jboss.com Thu Oct 22 08:50:21 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 22 Oct 2009 08:50:21 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: identities from LDAP example pls! Message-ID: <19824000.1256215821128.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello shiva, hello everybody thanks for posting this code. What do you and the developers think about taking this as a base to develop an out-of-the-box LDAP-integration? Of course there will be an integration of JBoss in the future and thus LDAP-support via IDM. But would be nice for people who do not want to use IDM. Let me know what you think. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261704#4261704 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261704 From do-not-reply at jboss.com Thu Oct 22 08:51:03 2009 From: do-not-reply at jboss.com (tomeicher) Date: Thu, 22 Oct 2009 08:51:03 -0400 (EDT) Subject: [jboss-user] [JBoss Remoting Users] - Re: JMS receiving connection dropped (ConnectionValidator), Message-ID: <2623898.1256215863632.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> see: https://jira.jboss.org/jira/browse/JBESB-2902 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261705#4261705 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261705 From do-not-reply at jboss.com Thu Oct 22 09:20:42 2009 From: do-not-reply at jboss.com (vchira) Date: Thu, 22 Oct 2009 09:20:42 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to Message-ID: <33108758.1256217642877.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "sebastian.s" wrote : To answer your question, vchira: He's the guy answering the biggest amount of questions in a competent and friendly way in this forum in his free time (!!). | maybe i saw only a small selection of his posts..if so than i bag your pardon. Even the most friendly advice in the world can not compare with the official docu. Why isn't anywhere documented if deploying with "overwrite" is possible and if not how could one migrate the old definition process instances to the new process definition? "sebastian.s" wrote : | Features only make it into the user guide if they are considered to be stable, in the dev guide if they are considered to have at least a certain level of stability which means they are not supposed to still change a lot (there exceptions of course). | | For you both: | | Looking trough the issue list to be fixed in jBPM 4.3 easily brings up this issue which was reopened: | | https://jira.jboss.org/jira/browse/JBPM-165 | | Note the link Tom posted in the comments: | | http://calebpowell.blogspot.com/2009/06/jbpm-migrations-our-approach.html | i found that feature request too,but id doesn't mean anything as log as jBPM 4.3 is not available.. or does it? ;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261708#4261708 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261708 From do-not-reply at jboss.com Thu Oct 22 09:22:00 2009 From: do-not-reply at jboss.com (navaneethforu) Date: Thu, 22 Oct 2009 09:22:00 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - problem using JmsXA resouce adapter Message-ID: <26373337.1256217720876.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am using JmsXA connection factory for transacted JMS. It is working fine for small messages, but is giving following exception when message size is large while putting the message in queue javax.jms.JMSException: Failed to route Reference[-1363948824515837952]:RELIABLE to xyzQueue if i use ClusteredXAConnectionFactory insted of JmsXA then the same message is processed successfully. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261709#4261709 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261709 From do-not-reply at jboss.com Thu Oct 22 09:34:55 2009 From: do-not-reply at jboss.com (chrismm) Date: Thu, 22 Oct 2009 09:34:55 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - JBoss 4.2.2 Deployment/class loader problem Message-ID: <10464372.1256218495502.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Im getting this error from one of my EJBs (several hundred others deploy fine) when I startup jboss 4.2.2 ? 2009-10-22 12:10:52,177 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation: Bean : TimedFeeReport Section: 22.2 Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods in the element. Info : Class not found on 'com.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportEJB': No ClassLoaders found for: com.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportEJB 2009-10-22 12:10:52,180 ERROR [org.jboss.deployment.MainDeployer] Could not create deployment: file:/spd1/home/jboss/jboss-4.2.2.GA/server/UnitTest422/tmp/deploy/tmp18734FeesDirect_2.9_99999.ear-contents/timedfeereportEJB.jar EJB-jar.xml :- TimedFeeReport com.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportLocalHome com.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportLocal com.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportEJB Container java.lang.Long False 2.x TimedFeeReport timedFeeReportID exchangeCode transactionType membershipBasis pitBrokerFeeSet clearingBrokerFeeSet description owner availableTo executionTime nextExecution createdBy createdDate updatedBy updatedDate timedFeeReportID ejb/KeyGenerator Session com.rolfeandnolan.merlin.ejb.keygenerator.KeyGeneratorLocalHome com.rolfeandnolan.merlin.ejb.keygenerator.KeyGeneratorLocal keygeneratorEJB.jar#KeyGenerator findPendingTimedFeeReports java.util.Date TimedFeeReport * Mandatory View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261711#4261711 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261711 From do-not-reply at jboss.com Thu Oct 22 09:37:58 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 22 Oct 2009 09:37:58 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to Message-ID: <33502771.1256218678746.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> AFAIK it is documented that when you deploy new version of a process while the old ones remain useable in the system and existing process instances continue to use the old definition while newly started ones use the newone. And it should also be documented that when you reference a process definition by its key always the newest one is used. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261712#4261712 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261712 From do-not-reply at jboss.com Thu Oct 22 09:42:17 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 22 Oct 2009 09:42:17 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to Message-ID: <12106930.1256218937449.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : | i found that feature request too,but id doesn't mean anything as log as jBPM 4.3 is not available.. or does it? ;) | I don't know. I saw you've replied on Caleb's post. I would be happy if he was finally in the position to contribute his solution and even happier if his solution or a different one would make it into jBPM 4.3. Till now I was not aware that process instance versioning would be a topic for me, too. But infact there are use cases for which I would need this functionality. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261714#4261714 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261714 From do-not-reply at jboss.com Thu Oct 22 09:58:20 2009 From: do-not-reply at jboss.com (markroy) Date: Thu, 22 Oct 2009 09:58:20 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4.1] Update hibernate-type process variables via fo Message-ID: <23859533.1256219900956.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Can anyone help here? Is there something I've left out that would elicit a response? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261717#4261717 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261717 From do-not-reply at jboss.com Thu Oct 22 10:17:44 2009 From: do-not-reply at jboss.com (koen.aers@jboss.com) Date: Thu, 22 Oct 2009 10:17:44 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to Message-ID: <16278105.1256221064602.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> As I said in the post on the developer's forum, there will be support for instance migration in the upcoming release. The solution is somewhat different from Caleb's solution for jBPM 3.x. Regards, Koen View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261724#4261724 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261724 From do-not-reply at jboss.com Thu Oct 22 10:37:32 2009 From: do-not-reply at jboss.com (kadrim) Date: Thu, 22 Oct 2009 10:37:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity Message-ID: <16754665.1256222252267.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> thanks!!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261734#4261734 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261734 From do-not-reply at jboss.com Thu Oct 22 10:45:51 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 22 Oct 2009 10:45:51 -0400 (EDT) Subject: [jboss-user] [Security] - Re: ejb not validating user role at session bean methods + J Message-ID: <10586259.1256222751118.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, JBoss 5 allows this by adding a "jboss-app.xml" to META-INF of your EAR: | | | | mysecuritydomain | | Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261736#4261736 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261736 From do-not-reply at jboss.com Thu Oct 22 10:49:19 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 22 Oct 2009 10:49:19 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Error using DatabaseServerLoginModule Message-ID: <19972792.1256222959418.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, take a look at this document: http://www.tek-tips.com/viewthread.cfm?qid=573337 Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261737#4261737 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261737 From do-not-reply at jboss.com Thu Oct 22 11:31:20 2009 From: do-not-reply at jboss.com (pschmiel) Date: Thu, 22 Oct 2009 11:31:20 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - ClassCastExeption Message-ID: <27292672.1256225480202.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have configured JBossCache as 2nd lvl cache for Hibernate. I use Tomcat 5.5 as servlet container, JOTM, Hibernate 3.3.2GA and JBoss Cache 3.2.0. When starting my app it dies with the following error: Caused by: java.lang.ClassCastException: org.hibernate.cache.jbc2.MultiplexedJBossCacheRegionFactory cannot be cast to org.hibernate.cache.RegionFactory | at org.hibernate.cfg.SettingsFactory.createRegionFactory(SettingsFactory.java:384) The relevant part of my configuration looks like this: | | org.hibernate.dialect.MySQLDialect | true 1, false 0 | ${db.showSql} | true | true | auto | true | | org.hibernate.transaction.JOTMTransactionManagerLookup | org.hibernate.transaction.JTATransactionFactory | org.hibernate.cache.jbc2.MultiplexedJBossCacheRegionFactory | | true | false | | | org.apache.lucene.analysis.SimpleAnalyzer | org.hibernate.search.store.FSDirectoryProvider | ${db.searchIndexOptimizeAfterOperations} | ${db.searchIndexBase} | manual | | | | ${hibernateStats} | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261753#4261753 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261753 From do-not-reply at jboss.com Thu Oct 22 11:46:54 2009 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 22 Oct 2009 11:46:54 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Logging in JBoss Message-ID: <3013326.1256226414221.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Use commons logging http://commons.apache.org/logging/ Your logger would then be declared as: private static final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(ErrorBase.class); Commons logging will use Log4J is the JAR file is present, and java.util is not. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261754#4261754 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261754 From do-not-reply at jboss.com Thu Oct 22 11:48:54 2009 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 22 Oct 2009 11:48:54 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deployment related Issue Message-ID: <17067627.1256226534742.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Earlier in the console log there should be an exception and stack trace, please post that. (What you posted is the deployment report which rarely says what went wrong.) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261755#4261755 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261755 From do-not-reply at jboss.com Thu Oct 22 12:20:10 2009 From: do-not-reply at jboss.com (pschmiel) Date: Thu, 22 Oct 2009 12:20:10 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: ClassCastExeption Message-ID: <30082073.1256228410612.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Here are my library versions: -rw-r--r-- 1 root root 2309955 22. Okt 16:44 hibernate-core-3.3.2.GA.jar | -rw-r--r-- 1 root root 60062 21. Aug 20:03 hibernate-jbosscache2-3.3.2.GA.jar /usr/local/lib64/java/jdk/bin/jar tvf hibernate-core-3.3.2.GA.jar | grep org.hibernate.cache.RegionFactory | 939 Wed Jun 24 01:55:42 CEST 2009 org/hibernate/cache/RegionFactory.class /usr/local/lib64/java/jdk/bin/jar tvf hibernate-jbosscache2-3.3.2.GA.jar | grep org.hibernate.cache.jbc2.MultiplexedJBossCacheRegionFactory | 695 Wed Jun 24 01:57:18 CEST 2009 org/hibernate/cache/jbc2/MultiplexedJBossCacheRegionFactory.class View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261761#4261761 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261761 From do-not-reply at jboss.com Thu Oct 22 12:39:16 2009 From: do-not-reply at jboss.com (Fuchs) Date: Thu, 22 Oct 2009 12:39:16 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once Message-ID: <25096349.1256229556974.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you jaikiran! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261765#4261765 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261765 From do-not-reply at jboss.com Thu Oct 22 12:44:04 2009 From: do-not-reply at jboss.com (sagolsb) Date: Thu, 22 Oct 2009 12:44:04 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Spring bean injection to Service implementation Message-ID: <22944913.1256229844126.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have been trying to inject Spring beans to JBossWS native service implementation but still not successful. I tried getting the WebApplicationContext as follows, via @Resource WebServiceContext context, but it returns null (java.lang.UnsupportedOperationException: Not yet supported): ServletContext servletContext = (ServletContext) context.getMessageContext().get( MessageContext.SERVLET_CONTEXT); webApplicationContext = WebApplicationContextUtils.getWebApplicationContext(servletContext); Is there any example to inject Spring beans to JBossWS (native) services? Regards, Sagol View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261766#4261766 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261766 From do-not-reply at jboss.com Thu Oct 22 13:16:29 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 22 Oct 2009 13:16:29 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: ClassCastExeption Message-ID: <28821110.1256231789441.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> My first suggestion is to look for multiple copies of hibernate-core.jar on the classpath. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261767#4261767 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261767 From do-not-reply at jboss.com Thu Oct 22 14:13:13 2009 From: do-not-reply at jboss.com (mckibben) Date: Thu, 22 Oct 2009 14:13:13 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Custom JAXBContext search path for JAXWS EJB endpoint Message-ID: <31020045.1256235193917.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi All, I have a JAXWS EJB endpoint implementation using JBossWS 3.2 Native, and I need to customize the JAXBContext package search path used to unmarshall the SOAP payload. My wsdl is using document literal to send the payload, and one of the message elements has a child element that is of type "xs:any". I have the JAXB generated Java classes for the actual element being added as a child in the xml, but the object is still being unmarshalled as a DOM Element instead of my JAXB class. It seems like this should be possible, but I can't find any way to do this looking through the user docs. I thought by adding an @XmlSeeAlso annotation to my JAXWS EJB SEI implementation should've added that JAXB class to the JAXBContext used for unmarshalling, but that didn't work. Anybody have a solution? Or is this a JBoss bug? The JAXWS 2.1 spec (see section 2.2) seems to imply the @XmlSeeAlso should work, but their examples show the annotation on the SEI and not on the SEI implementation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261770#4261770 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261770 From do-not-reply at jboss.com Thu Oct 22 14:45:09 2009 From: do-not-reply at jboss.com (JBossBorot) Date: Thu, 22 Oct 2009 14:45:09 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - EAR being deployed over and over again?! Message-ID: <17783465.1256237109814.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Made a very simple EAR {in Eclipse}, using Maven, all seems to be in order for its contents and everything. Plucked into the JBoss 5.1 default server config's deploy folder and started the server: - the app seems to deploy the 1st time, during a start-up, just fine - the then the server keeps trying to deploy it over and over, but of course it's already deployed, so the attempt runs into this error: org.jboss.deployers.spi.DeploymentException: Error deploying jboss-poc-ejb.jar: Error creating ejb container FubarBean1: Container jboss.j2ee:ear=ejb-app.ear,jar=jboss-poc-ejb.jar,name=FubarBean1,service=EJB3,VMID=026595140065ca82:1b62e705:1247d602e95:-7fc2 + is already registered What am I doing wrong? New to JBoss, but have done Weblogic development for years and have done this on WL a number of times before, if that makes much difference. Thanks, Karoy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261773#4261773 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261773 From do-not-reply at jboss.com Thu Oct 22 15:17:46 2009 From: do-not-reply at jboss.com (JBossBorot) Date: Thu, 22 Oct 2009 15:17:46 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Re: EAR being deployed over and over again?! Message-ID: <20548654.1256239066922.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Update: using the Admin Console to deploy the EAR from its original location, in the Eclipse project's build-target output folder, works just fine. Deploys without incident and only once. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261774#4261774 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261774 From do-not-reply at jboss.com Thu Oct 22 15:43:17 2009 From: do-not-reply at jboss.com (alesj) Date: Thu, 22 Oct 2009 15:43:17 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Re: Autoexplosion of archives Message-ID: <21076812.1256240597687.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> There is unjar now, if that helps: - ModificationType.UNJAR --> http://anonsvn.jboss.org/repos/jbossas/projects/jboss-deployers/trunk/deployers-core-spi/src/main/java/org/jboss/deployers/spi/structure/ModificationType.java - JarUtils::unjar --> http://anonsvn.jboss.org/repos/common/common-core/trunk/src/main/java/org/jboss/util/file/JarUtils.java View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261779#4261779 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261779 From do-not-reply at jboss.com Thu Oct 22 15:45:31 2009 From: do-not-reply at jboss.com (mwilmes) Date: Thu, 22 Oct 2009 15:45:31 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Problem Joining 3 Tables Message-ID: <11317625.1256240731330.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have two Entities A and B each with a simple primary key idA and idB. I join them using a third table AB that has a composite primary key using an embedded primary key class ABPk. So far it works fine. Now I got another table C with a simple primary key idC involved that has to be joined with AB using another table ABC. So this last table has a composite primary key ABCpk that consists of the parts idC and ABPk which itself consists of idA and idB. All composite primary keys use the @Embeddable Annotation and are imbedded using @EmbeddedId similar to what is recommended in https://www.jboss.org/community/wiki/EJB3relationships My problem is that on ABC I can't activate the @ManyToOne Annotation that references AB. On deployment this gives me a NullPointerException. I am using JBoss 4.2.3.GA with Sun Java 1.6.0.16. Thanks Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261780#4261780 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261780 From do-not-reply at jboss.com Thu Oct 22 16:16:11 2009 From: do-not-reply at jboss.com (galup) Date: Thu, 22 Oct 2009 16:16:11 -0400 (EDT) Subject: [jboss-user] [Datasource Configuration] - Updating datasource automatically Message-ID: <10615520.1256242571298.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, In these days I'm tryng to make a web application that allows to create different databases and works on it. My problem is that I don't know how to update datasource automatically when user create a new database. For now I'm using JDBC but I prefer use datasource. Is there a simple solution? Thanks to all, Alessio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261782#4261782 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261782 From do-not-reply at jboss.com Thu Oct 22 17:21:41 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 22 Oct 2009 17:21:41 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: how to programatically list actitities from one activity Message-ID: <21472627.1256246501299.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Would be a nice subject for a blog entry if you achieve this ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261786#4261786 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261786 From do-not-reply at jboss.com Thu Oct 22 17:22:55 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 22 Oct 2009 17:22:55 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Querying Against Process Variables Message-ID: <32320210.1256246575699.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The first question you always have to ask yourself: Is the businesskey sufficient. In many cases it is IF you separate your domain model from jBPM and just use a simple reference. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261787#4261787 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261787 From do-not-reply at jboss.com Thu Oct 22 17:29:28 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 22 Oct 2009 17:29:28 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to Message-ID: <24953418.1256246968085.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> For the record: - I never said I was smart... - I'd be more than happy to contribute documentation and more detailed answers. Just make sure ???3000 is added to my account each month (taxes paid) and I'll even code for you. - If there is no definite answer there probably was little. - Peace... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261788#4261788 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261788 From do-not-reply at jboss.com Thu Oct 22 23:28:36 2009 From: do-not-reply at jboss.com (sebastianmohan) Date: Thu, 22 Oct 2009 23:28:36 -0400 (EDT) Subject: [jboss-user] [Security] - Multi Domain Login Message-ID: <28477456.1256268516869.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi I have created multiple application policy (LDAP, DB and file based). I would like to associate all of them to the same security domain in my application so that the user can login with a prefix. db/user ---> authenticated against the DB application policy ldap/user ----> authenticated against the LDAP application policy file/user -----> authenticated against the file application policy I created a DomainLoginModuleDelegate to instantiate the corresponding LoginModules based on the prefix and delegate the method calls to them My login-config.xml will have DomainLoginModule defined against the application jaas security domain. I am wondering if there is any other better way to handle this situation Thanks Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261799#4261799 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261799 From do-not-reply at jboss.com Fri Oct 23 00:28:01 2009 From: do-not-reply at jboss.com (rasa) Date: Fri, 23 Oct 2009 00:28:01 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deployment related Issue Message-ID: <1435316.1256272081399.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "PeterJ" wrote : Earlier in the console log there should be an exception and stack trace, please post that. (What you posted is the deployment report which rarely says what went wrong.) No Such exception. | [EjbModule] Deploying MessageMDB | 18:45:04,841 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'AccountCache' to jndi 'local/AccountCache at 9059727' | 18:45:04,880 INFO [ProxyFactory] Bound EJB Home 'AccountCache' to jndi 'AccountCache' | 18:45:04,892 INFO [BaseLocalProxyFactory] Bound EJB LocalHome 'SecurityFacade' to jndi 'local/SecurityFacade at 30506753' | 18:45:04,902 INFO [ProxyFactory] Bound EJB Home 'SecurityFacade' to jndi 'SecurityFacade' | 18:45:05,214 INFO [EJBDeployer] Deployed: file:/usr1/jboss-4.2.3.GA/server/default/deploy/application.ear/application.jar/ | 18:45:05,862 INFO [TomcatDeployer] deploy, ctxPath=/jrap, warUrl=.../deploy/application.ear/application.war/ | 18:45:06,765 ERROR [STDERR] ********************************************************* | 18:45:06,766 ERROR [STDERR] Initializing Salmon Framework Property files | 18:45:06,766 ERROR [STDERR] Salmon Server Properties File Directory:/usr1/jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer/salmonprops | 18:45:06,766 ERROR [STDERR] Absolute path is:/usr1/jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer/salmonprops | 18:45:06,766 ERROR [STDERR] To change the property file location, set the VM System property "salmon.props.path" via the -D runtime switch. | 18:45:06,766 ERROR [STDERR] ********************************************************* | 18:45:07,293 INFO [EARDeployer] Started J2EE application: file:/usr1/jboss-4.2.3.GA/server/default/deploy/jrap.ear/ | 18:45:07,297 ERROR [URLDeploymentScanner] Incomplete Deployment listing: | | --- MBeans waiting for other MBeans --- And one more error i found in server.log. | 2009-10-22 16:55:22,032 DEBUG [org.jboss.ejb.MessageDrivenContainer] End java:comp/env for EJB: MessageMDB | 2009-10-22 16:55:22,032 DEBUG [org.jboss.ejb.plugins.local.BaseLocalProxyFactory] MessageMDB cannot be Bound, doesn't have local and local home interfaces | In our dd for MDB there is no local attribute. Actually it is not necessary. But BaseLocalProxyFactory is handling all the ejb classes in that way. May i know is there any different configuration available to disable such checking ? Regards Rasa. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261805#4261805 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261805 From do-not-reply at jboss.com Fri Oct 23 03:25:49 2009 From: do-not-reply at jboss.com (daniele.ulrich) Date: Fri, 23 Oct 2009 03:25:49 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Undeploying multiple wars inside an ear causes NameAlrea Message-ID: <10075290.1256282749401.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> All of the sudden we were facing the same problem in our PROD environment while on all other environments we don't have this issue. We are running a 4.2.3.GA and have 3 wars in one ear. The only way we could solve the problem is to take the wars outside the ear. As the wars depend on jars in the ear we had to do the following configuration changes: a) /conf/jboss-service.xml: activate org.jboss.deployment.scanner.PrefixDeploymentSorter b) prefix the ear with 01, the wars with 02, 03, 04 This way the wars are deployed after the ear and can use the libraries within the ear. We hope that this bug is fixed in the JBoss 5! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261816#4261816 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261816 From do-not-reply at jboss.com Fri Oct 23 03:49:01 2009 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 23 Oct 2009 03:49:01 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Undeploying multiple wars inside an ear causes NameAlrea Message-ID: <128281.1256284141464.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am not sure this is a bug in AS. Do you by any chance package any jboss specific jars files in the application? Or any jar files contain jnp.* packages? If yes, try removing them. If none of this applies, please post the entire exception stacktrace and also the appropriate contents of the EAR, which you can get using: jar -tf myapp.ear While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261819#4261819 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261819 From do-not-reply at jboss.com Fri Oct 23 03:57:36 2009 From: do-not-reply at jboss.com (daniele.ulrich) Date: Fri, 23 Oct 2009 03:57:36 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Undeploying multiple wars inside an ear causes NameAlrea Message-ID: <10252532.1256284656442.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "daniele.ulrich" wrote : All of the sudden we were facing the same problem in our PROD environment while on all other environments we don't have this issue. We are running a 4.2.3.GA and have 3 wars in one ear. The only way we could solve the problem is to take the wars outside the ear. As the wars depend on jars in the ear we had to do the following configuration changes: | | a) /conf/jboss-service.xml: activate org.jboss.deployment.scanner.PrefixDeploymentSorter | | b) prefix the ear with 01, the wars with 02, 03, 04 | | This way the wars are deployed after the ear and can use the libraries within the ear. | | We hope that this bug is fixed in the JBoss 5! see also https://jira.jboss.org/jira/browse/JBAS-7092 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261821#4261821 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261821 From do-not-reply at jboss.com Fri Oct 23 04:08:43 2009 From: do-not-reply at jboss.com (daniele.ulrich) Date: Fri, 23 Oct 2009 04:08:43 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Undeploying multiple wars inside an ear causes NameAlrea Message-ID: <10791673.1256285323377.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi jaikiran The ear with the content listed below was running for a year without problems in all our environments. Now it does not run in PROD anymore; that's why I doubt that it helps to analyze the content. But I appreciate your help! mpu.ear: META-INF/ META-INF/MANIFEST.MF META-INF/application.xml META-INF/jboss-app.xml mpu-util-18.1.jar adInfuse-18.1.jar externalProvisioningNotification-18.1.jar messagemanagermodel-18.1.jar alertmodel-18.1.jar emsmodel-18.1.jar vasrestriction-cronjob-18.1.jar content-push-processor-18.1.jar content-delivery-processor-18.1.jar xtrazone-delivery-processor-18.1.jar content-billing-processor-18.1.jar ems-ejb-18.1.jar mpu-war-18.1.war ssimpu-war-18.1.war messagebroker-delivery-interface-18.1.war mmlsupportejb-18.1.jar apscomponent-18.1.jar messagemanager-18.1.jar smtpservercomp-18.1.jar jsch-0.1.39.jar pbiclient-18.1.jar pbiclientInterface-18.1.jar access-18.1.jar accessChannelInterface-18.1.jar accessInterface-18.1.jar apsproducer-18.1.jar jmsproducerframework-18.1.jar mailclient-18.1.jar mailclientInterface-18.1.jar onNetInterface-18.1.jar smstestdevice-18.1.jar soap-2.3.jar subscriptioninfoInterface-18.1.jar subscriptioninfo-18.1.jar deregistration-18.1.jar aplclient-18.1.jar mmlsupport-18.1.jar mmcpmmsfetcher-18.1.jar mmcpmmsfetcherInterface-18.1.jar rbtclient-18.1.jar registrationUtil-18.1.jar management-18.1.jar exception-18.1.jar propertyPool-18.1.jar propertyPoolInterface-18.1.jar util-18.1.jar ssiframework-18.1.jar msgsender-18.1.jar dbConn-18.1.jar dbConnInterface-18.1.jar dbLayer-18.1.jar utildb-18.1.jar jmx-18.1.jar httpframework-18.1.jar mpslog-18.1.jar wapPushSender-18.1.jar lifecycle-18.1.jar jmxtools-1.2.1.jar commons-io-1.2.jar commons-httpclient-3.0.jar jdom-1.0.jar asm-1.5.3.jar aqapi-1.0.jar axis-1.4.jar otaclient-18.1.jar oab-18.1.jar emsInterface-18.1.jar rilInterface-18.1.jar xml-resolver-1.1.jar oabschema-1.0.jar sis2_corbaclient-1.0.0.jar smsservices-18.1.jar commons-discovery-0.4.jar axis-wsdl4j-1.5.1.jar alertClient-18.1.jar purchase-18.1.jar ccch-2.1.0.jar axis-jaxrpc-1.4.jar lbiclient-18.1.jar lbsclient-3.2.0.jar mclib_base-0.1.jar mclib_conf-0.1.jar mclib_log-0.1.jar XMLA_net-1.0.18.jar xmlaproxy-2.1.1.21.jar axis-saaj-1.4.jar promoClient-18.1.jar cpeClient-18.1.jar xml_apis-2.0.2.jar wss4j-1.5.3.jar addressing-2.0.jar mbclient-18.1.jar castor-1.0.3.jar jargs-1.0.jar oro-2.0.8.jar avalon-framework-4.1.5.jar contentdelivery-core-1.10.jar contentdelivery-api-1.10.jar trove-2.1.1.jar commons-dbcp-1.2.1.jar commons-pool-1.2.jar xml-apis-1.0.b2.jar jsr173-1.0.jar mindterm-1.0.jar saaj-1.2.jar opensaml-1.0.1.jar moss-gateway-security-2.1.0.2.jar ehcache-1.1.jar META-INF/maven/ META-INF/maven/com.swisscom.live/ META-INF/maven/com.swisscom.live/mpu/ META-INF/maven/com.swisscom.live/mpu/pom.xml META-INF/maven/com.swisscom.live/mpu/pom.properties I think others also faced this problem: https://jira.jboss.org/jira/browse/JBAS-7092 To be very precise: we had 3 wars in that ear: mpu-war-18.1.war ssimpu-war-18.1.war messagebroker-delivery-interface-18.1.war now we had to put 2 wars outside the ear: ssimpu-war-18.1.war messagebroker-delivery-interface-18.1.war View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261823#4261823 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261823 From do-not-reply at jboss.com Fri Oct 23 04:13:39 2009 From: do-not-reply at jboss.com (daniele.ulrich) Date: Fri, 23 Oct 2009 04:13:39 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Undeploying multiple wars inside an ear causes NameAlrea Message-ID: <20490247.1256285619229.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi jaikiran You wanted it, now you get it: 12:35:11,995 INFO [TomcatDeployer] deploy, ctxPath=/ssimpu, warUrl=file:/opt/sp/messaging/tmp/deploy/tmp63416mpu.ear-contents/ssimpu-war-18.1-exp.war/ 12:35:12,102 WARN [ServiceController] Problem starting service jboss.web.deployment:war=ssimpu-war-18.1.war,id=902438857 org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NameAlreadyBoundException) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:384) at org.jboss.web.WebModule.startModule(WebModule.java:83) at org.jboss.web.WebModule.startService(WebModule.java:61) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy44.start(Unknown Source) at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:466) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy45.start(Unknown Source) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.server.jmx.LazyMBeanServer.invoke(LazyMBeanServer.java:291) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:508) at java.lang.Thread.run(Thread.java:595) Caused by: javax.naming.NameAlreadyBoundException at org.jnp.server.NamingServer.bind(NamingServer.java:144) at org.jnp.interfaces.NamingContext.bind(NamingContext.java:591) at org.jnp.interfaces.NamingContext.bind(NamingContext.java:552) at org.jboss.web.AbstractWebDeployer.parseWebAppDescriptors(AbstractWebDeployer.java:495) at org.jboss.web.AbstractWebDeployer$DescriptorParser.parseWebAppDescriptors(AbstractWebDeployer.java:878) at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:159) at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) ... 119 more View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261824#4261824 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261824 From do-not-reply at jboss.com Fri Oct 23 05:49:10 2009 From: do-not-reply at jboss.com (rasa) Date: Fri, 23 Oct 2009 05:49:10 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - jboss web console error Message-ID: <16442193.1256291350130.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi, In my jboss (jboss 4.2.3 GA) when i takes jboss web console using http://myserverip:port/web-console/ i am getiitng an http 500 error page. | javax.servlet.ServletException: java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext; | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | root cause | | java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext; | org.apache.jsp.ServerInfo_jsp._jspInit(ServerInfo_jsp.java:63) | org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52) | org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:158) | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:9 Is it because of some jar file is missing ??? Can any one help me to figure out my issue. Regards Rasa. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261830#4261830 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261830 From do-not-reply at jboss.com Fri Oct 23 06:15:57 2009 From: do-not-reply at jboss.com (sagolsb) Date: Fri, 23 Oct 2009 06:15:57 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Spring bean injection to Service implementation Message-ID: <6576715.1256292957220.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Here are some more information: when the web application starts up the web application context is started as shown in the stack trace below: [[/CredentialService]] Initializing Spring root WebApplicationContext [ContextLoader] Root WebApplicationContext: initialization started .................... [XmlWebApplicationContext] Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext at f582e9]: org.springframework.beans.factory.support.DefaultListableBeanFactory at b9915a ....... [DefaultListableBeanFactory] Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory at b9915a: defining beans [echoService]; root of factory hierarchy .............. [ContextLoader] Root WebApplicationContext: initialization completed in 170 ms Within the web service implementation class, the WebServiceContext is injected through @Resource and the ServletContext is retrieved from this through the MessageContext, both of which are printed out from the service implementation as shown below: [STDOUT] WebServiceContext: org.jboss.wsf.stack.jbws.WebServiceContextJSE at 477e4c [STDOUT] ServletContext: org.jboss.soa.esb.actions.soap.adapter.SOAPProcessorServletContext at 1b4e510 But when I try to retrive the WebApplicationContext through: webApplicationContext = WebApplicationContextUtils.getWebApplicationContext(servletContext); which in turn internally calls: servletContext.getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE); throws the exception: ERROR [InvocationHandlerJAXWS] Method invocation failed with exception: null java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ........................ Caused by: java.lang.UnsupportedOperationException: Not yet supported at org.jboss.soa.esb.actions.soap.adapter.SOAPProcessorServletContext.getAttribute(SOAPProcessorServletContext.java:45) .................................. Can you please let me know if I'm missing something? Regards, Sagol View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261838#4261838 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261838 From do-not-reply at jboss.com Fri Oct 23 07:00:32 2009 From: do-not-reply at jboss.com (sagolsb) Date: Fri, 23 Oct 2009 07:00:32 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Spring bean injection to Service implementation Message-ID: <20275681.1256295632249.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Just realized that this is a problem with the JBossESB SOAPProcessor; it works perfectly fine if I access the service directly, bypassing the ESB. Still I need a solution; please. thanks, Sagol View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261840#4261840 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261840 From do-not-reply at jboss.com Fri Oct 23 07:09:25 2009 From: do-not-reply at jboss.com (c.vidal) Date: Fri, 23 Oct 2009 07:09:25 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - OSGi Bundle clustered (farming) deployment ? Message-ID: <33391370.1256296165666.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi guys and hi Ales, it's been a while :) I've been kind of away from the JBoss world for some time and digging more into the OSGi/Spring world out of frustration from JBoss not clearly embracing OSGi, a little more than a year ago. But recently I stumbled upon JBoss OSGi again and was really pleased to discover that JBoss had finally stepped in for good into OSGi. Not only have you gotten pretty far into implementing an OSGi container on top of MC but also integrating existing third party OSGi containers into JBoss AS which is really a smart move. Everyone can now find a suitable match. What drove me into studying alternative OSGi deployment platforms is the need for clustered deployment of bundles. There is Paremus Infiniflow which does exactly that and much more but their deployment model is way too complicated for the average company. SpringSource DM Server 2 will support it in some way but's it's not yet really clear how/when. And both SpringSource DM Server and Paremus are not currently on CTO radars whereas JBoss already is. At the end of the day, I'm looking for a simple way to deploy bundles to a cluster of OSGi containers. JBoss farming does exactly that with J2EE deployables but will all deployables supported by JBoss MC support distributed deployment (farming) ? And more specifically, are/will OSGi bundle farming be supported ? Regarding OSGi, will farming be supported both when JBoss MC is the underlying OSGi implementation and when third party OSGi such as Equinox and Felix are used ? Kind regards, C????dric Vidal http://blog.proxiad.com View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261842#4261842 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261842 From do-not-reply at jboss.com Fri Oct 23 08:09:01 2009 From: do-not-reply at jboss.com (rohit.macherla) Date: Fri, 23 Oct 2009 08:09:01 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Logging in JBoss Message-ID: <22753975.1256299741442.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Peter, Thanks for the suggestion. I will go ahead with the commons-logging. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261849#4261849 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261849 From do-not-reply at jboss.com Fri Oct 23 08:37:44 2009 From: do-not-reply at jboss.com (rkidd) Date: Fri, 23 Oct 2009 08:37:44 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Installation Jboss AS 5 for jdk6 failed.... Message-ID: <6336271.1256301464445.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> that did it. thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261853#4261853 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261853 From do-not-reply at jboss.com Fri Oct 23 08:38:39 2009 From: do-not-reply at jboss.com (pschmiel) Date: Fri, 23 Oct 2009 08:38:39 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: ClassCastExeption Message-ID: <30159335.1256301519308.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have re-deployed all hibernate related jars. Now I get the following error: 23.10.09 14:32:37 FATAL [s.OptimisticLockingInterceptor: 55] No transaction manager lookup class has been defined. Transactions cannot be used and thus OPTIMISTIC locking cannot be used! Expect errors!! (main) 23.10.09 14:32:37 FATAL [s.OptimisticLockingInterceptor: 55] No transaction manager lookup class has been defined. Transactions cannot be used and thus OPTIMISTIC locking cannot be used! Expect errors!! (main) Relevant part of config: org.hibernate.transaction.JOTMTransactionManagerLookup | JOTMTransactionManagerLookup.class is in $CLASSPATH Matches in /usr/local/opt/tomcat/webapps/Joca-JCL-Handler/WEB-INF/lib/hibernate-core-3.3.2.GA.jar: | 1625 Wed Jun 24 01:55:44 CEST 2009 org/hibernate/transaction/JOTMTransactionManagerLookup.class View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261855#4261855 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261855 From do-not-reply at jboss.com Fri Oct 23 09:09:37 2009 From: do-not-reply at jboss.com (noicangi) Date: Fri, 23 Oct 2009 09:09:37 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft Message-ID: <32104785.1256303377125.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi everyone, finally i decided myself to use jbpm3.2.6SP1 with mysql 5 and eclipse galileo + JBoss tools 3.1 m3. My question is i don't know how to integrate jbpm to a flex aplication, i understand i need to "send" a signal from a task or state node to flex...and then "receive" the complete signal to continue though my process diagram definition. how can i do that? i think i need to modify the simple process.java file....i'm correct? or i'm doing all wrong. Thanks... n.Oicangi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261860#4261860 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261860 From do-not-reply at jboss.com Fri Oct 23 09:09:52 2009 From: do-not-reply at jboss.com (bendilley) Date: Fri, 23 Oct 2009 09:09:52 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: .NET client & unsupported HTTP version Message-ID: <24777410.1256303392665.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Except the wiki still reads a bit wrong: the regex string should read ^.*MS Web Services Client Protocol.*$ not ^.MS Web Services Client Protocol.$ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261861#4261861 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261861 From do-not-reply at jboss.com Fri Oct 23 09:14:50 2009 From: do-not-reply at jboss.com (sawan1424) Date: Fri, 23 Oct 2009 09:14:50 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Failed to load: org.jboss.ws.tools.jaxws.impl.JBossWSProvide Message-ID: <24536096.1256303690211.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi , I am new to JBossWS CXF.I am using Eclipse 3.5 Galileo with JBoss AS 4.2.3G.A. I downloaded jbossws-cxf-3.0.2.GA.zip from JBoss website. I extracted the zip and modify the ant.properties file and executed the command accordingly.It executed successfully.I also successfully downloaded JBoss Tools plugins which having inbuilt Jboss WS plugin. I already setting correct value of JBoss AS in the JBoss WS preferences option from preference option of Eclipse IDE. After the When created a dynamic project with Jboss 4.2.3 as run time environment.After that I created a java file as package com.webservice.ws; @WebService public class Converter { @WebMethod public float celsiusToFarenheit ( float celsius ) { return (celsius * 9 / 5) + 32; } @WebMethod public float farenheitToCelsius ( float farenheit ) { return (farenheit - 32) * 5 / 9; } } After that I have to create a wdsl files from this POJO. So I am selecting Bottom up approach and select this java file and proceed furthe.But after it is throwing an exception Exception in thread "main" java.lang.IllegalStateException: Failed to load: org.jboss.ws.tools.jaxws.impl.JBossWSProviderFactoryImpl at org.jboss.wsf.spi.util.ServiceLoader.loadDefault(ServiceLoader.java:205) at org.jboss.wsf.spi.util.ServiceLoader.loadFromSystemProperty(ServiceLoader.java:138) at org.jboss.wsf.spi.util.ServiceLoader.loadService(ServiceLoader.java:68) at org.jboss.wsf.spi.tools.WSContractProvider.newInstance(WSContractProvider.java:65) at org.jboss.wsf.spi.tools.cmd.WSProvide.generate(WSProvide.java:170) at org.jboss.wsf.spi.tools.cmd.WSProvide.main(WSProvide.java:77) Caused by: java.lang.ClassNotFoundException: org.jboss.ws.tools.jaxws.impl.JBossWSProviderFactoryImpl at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at org.jboss.wsf.spi.util.ServiceLoader.loadDefault(ServiceLoader.java:200) ... 5 more Any help would be appriciated. Please help me out as it is very urgent .Please tell me Where am I making mistake ? Thanks Sandy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261863#4261863 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261863 From do-not-reply at jboss.com Fri Oct 23 09:42:09 2009 From: do-not-reply at jboss.com (makarandk502) Date: Fri, 23 Oct 2009 09:42:09 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 - Taskform ( Task Variable ) Message-ID: <31163991.1256305329759.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Can you please provide me link for BPM console forum ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261865#4261865 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261865 From do-not-reply at jboss.com Fri Oct 23 09:58:17 2009 From: do-not-reply at jboss.com (sridhar18) Date: Fri, 23 Oct 2009 09:58:17 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - /webservices context root unavialable in jboss 4.2.3 upon re Message-ID: <5607802.1256306297022.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm running into a problem with jboss webservies and wondering if anyone has a solution for it.. Our environment: Jboss 4.2.3 Java 1.6 Ejb 2.1, Ejb3. We have an ear application that has two ejb modules in it. One contains ejb2.1 stuff and one contains ejb3 stuff. Both have ejbs and webservices in them. They have two different webservice context roots. The ejb2.1 module uses /xxxx-ws as the context root while the ejb3 module uses /webservices as the context root. I run into the problem each time I restart my jboss. For some reason, the /webservices context root is not available when I try to go to the jbossws context to access the wsdls. It gives me HTTP 404 error (the requested resource is not available). The ejb2.1 webservice context is always available though. Only when I delete my ear module from the deploy directory and redeploy the ear, I'm able to see the ejb3 webservices context root and all the wsdls inside that root. I'm wondering this is some kind of race condition but not sure. Has anyone seen this kind of behavior before? I appreciate any help. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261868#4261868 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261868 From do-not-reply at jboss.com Fri Oct 23 10:03:00 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 23 Oct 2009 10:03:00 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 - Taskform ( Task Variable ) Message-ID: <16074771.1256306580880.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> http://www.jboss.org/index.html?module=bb&op=viewforum&f=254 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261871#4261871 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261871 From do-not-reply at jboss.com Fri Oct 23 10:04:11 2009 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 23 Oct 2009 10:04:11 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Undeploying multiple wars inside an ear causes NameAlrea Message-ID: <10921181.1256306651376.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If it's possible, could you please attach the application which reproduces this issue, to that JIRA? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261872#4261872 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261872 From do-not-reply at jboss.com Fri Oct 23 10:16:03 2009 From: do-not-reply at jboss.com (Brian13) Date: Fri, 23 Oct 2009 10:16:03 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: RichFaces Portlet causes timeout Exception Message-ID: <30990060.1256307363657.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I set the following parameter from 2 to 1 and the Exception thrown changed as shown below in the stack trace: facelets.REFRESH_PERIOD 1 15:02:40,941 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception javax.faces.application.ViewExpiredException: viewId:/jsp/view.xhtml - View /jsp/view.xhtml could not be restored. at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:186) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.RestoreViewPhase.doPhase(RestoreViewPhase.java:104) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368) at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) 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:182) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 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:262) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) at java.lang.Thread.run(Thread.java:619) Thanks, -- Brian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261875#4261875 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261875 From do-not-reply at jboss.com Fri Oct 23 11:07:06 2009 From: do-not-reply at jboss.com (sridhar18) Date: Fri, 23 Oct 2009 11:07:06 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: /webservices context root unavialable in jboss 4.2.3 upo Message-ID: <13351402.1256310426039.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Never mind. I found my problem. There's this other ear module that is getting deployed after the ear module I'm having issues with is deployed, and that one has the same /webserives context root for it's webservices. So upon restart, /webservices context is having the last deployed ear module's webservices only. Fixed it by renaming the context to something unique instead. I guess the /webservices context is not global across the jboss deployment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261891#4261891 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261891 From do-not-reply at jboss.com Fri Oct 23 11:21:36 2009 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 23 Oct 2009 11:21:36 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deployment related Issue Message-ID: <24334932.1256311296339.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is your message-driven bean based on EJB 3 or 2.x? If 2.x, please post the descriptor file. If 3, please post the source code (you can remove the contents of the methods). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261894#4261894 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261894 From do-not-reply at jboss.com Fri Oct 23 11:25:33 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Fri, 23 Oct 2009 11:25:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Problem Joining 3 Tables Message-ID: <5927517.1256311533770.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Martin, could you post the relevant snippets of your deployment and also the exception + stacktrace? I never tried it with such a nested relationship, so unfortunately I cannot provide you with a quick solution. What are your "FetchType" declarations? Probably all LAZY and no EAGER? You might find more help is you ask this question in the hibernate forums at https://forum.hibernate.org/index.php . If you find help there, you might update the Wiki article to point at this problem. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261896#4261896 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261896 From do-not-reply at jboss.com Fri Oct 23 11:39:32 2009 From: do-not-reply at jboss.com (diogo.santana) Date: Fri, 23 Oct 2009 11:39:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Does the jBPM deployer works? Message-ID: <4984340.1256312372296.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Does the jBPM deployer works? Do I need to do more configuration after use the install build.xml? I tried to deploy a bar file but nothing happens.... Actually, something happens... the jboss log at trace level shows: (note the JBPMMetaDataDeployer lines) 2009-10-22 15:29:19,779 DEBUG [org.jboss.deployers.plugins.main.MainDeployerImpl] (HDScanner) Add deployment: vfszip:/D:/desenvolvimento/jboss-5.1.0.GA/server/default/deploy/sisdoc.bar/ 2009-10-22 15:29:19,779 DEBUG [org.jboss.deployers.plugins.main.MainDeployerImpl] (HDScanner) Scheduling deployment: vfszip:/D:/desenvolvimento/jboss-5.1.0.GA/server/default/deploy/sisdoc.bar/ parent=null 2009-10-22 15:29:19,794 DEBUG [org.jboss.deployers.plugins.deployers.DeployersImpl] (HDScanner) Deploying vfszip:/D:/desenvolvimento/jboss-5.1.0.GA/server/default/deploy/sisdoc.bar/ 2009-10-22 15:29:19,794 TRACE [org.jbpm.integration.jboss5.JBPMMetaDataDeployer] (HDScanner) Deploying: vfszip:/D:/desenvolvimento/jboss-5.1.0.GA/server/default/deploy/sisdoc.bar/ 2009-10-22 15:29:19,794 TRACE [org.jbpm.integration.jboss5.JBPMMetaDataDeployer] (HDScanner) Deployed: vfszip:/D:/desenvolvimento/jboss-5.1.0.GA/server/default/deploy/sisdoc.bar/ 2009-10-22 15:29:19,794 DEBUG [org.jboss.deployers.vfs.plugins.classloader.InMemoryClassesDeployer] (HDScanner) Dynamic class root for vfszip:/D:/desenvolvimento/jboss-5.1.0.GA/server/default/deploy/sisdoc.bar/ is vfsmemory://4sgk32-5tggql-g13sbx6l-1-g13sfir6-ba 2009-10-22 15:29:19,794 DEBUG [org.jboss.classloading.spi.dependency.Domain] (HDScanner) org.jboss.classloading.spi.dependency.Domain at 1a4ea4f{DefaultDomain} add module VFSDeploymentClassLoaderPolicyModule sisdoc.bar:0.0.0 2009-10-22 15:29:19,794 DEBUG [org.jboss.classloader.spi.base.BaseClassLoader] (HDScanner) Created BaseClassLoader at 1d4cc87{vfszip:/D:/desenvolvimento/jboss-5.1.0.GA/server/default/deploy/sisdoc.bar/} with policy VFSClassLoaderPolicy at 1bfbb2f{name=vfszip:/D:/desenvolvimento/jboss-5.1.0.GA/server/default/deploy/sisdoc.bar/ domain=null roots=[MemoryContextHandler at 10107320[path= context=vfsmemory://4sgk32-5tggql-g13sbx6l-1-g13sfir6-ba real=vfsmemory://4sgk32-5tggql-g13sbx6l-1-g13sfir6-ba], DelegatingHandler at 21193585[path=sisdoc.bar context=file:/D:/desenvolvimento/jboss-5.1.0.GA/server/default/deploy/ real=file:/D:/desenvolvimento/jboss-5.1.0.GA/server/default/deploy/sisdoc.bar]] delegates=null exported=[java, META-INF] NON_EMPTY} 2009-10-22 15:29:19,794 DEBUG [org.jboss.classloader.spi.base.BaseClassLoaderDomain] (HDScanner) ClassLoaderDomain at aa17c3{DefaultDomain} registerClassLoader BaseClassLoader at 1d4cc87{vfszip:/D:/desenvolvimento/jboss-5.1.0.GA/server/default/deploy/sisdoc.bar/} 2009-10-22 15:29:19,794 DEBUG [org.jboss.aop.asintegration.jboss5.RegisterModuleCallback] (HDScanner) Registering module VFSDeploymentClassLoaderPolicyModule sisdoc.bar:0.0.0 2009-10-22 15:29:19,794 DEBUG [org.jboss.aop.asintegration.jboss5.AOPClassLoaderDeployer] (HDScanner) Adding AspectManager attachment org.jboss.aop.AspectManager at 1672c01 for AbstractVFSDeploymentContext at 9080926{vfszip:/D:/desenvolvimento/jboss-5.1.0.GA/server/default/deploy/sisdoc.bar/} 2009-10-22 15:29:19,794 DEBUG [org.jboss.ejb3.deployers.Ejb3Deployer] (HDScanner) ********* Ejb3Deployer Begin Unit: sisdoc.bar jar: sisdoc.bar 2009-10-22 15:29:19,794 DEBUG [org.jboss.ejb3.Ejb3Deployment] (HDScanner) EJB3 deployment time took: 0 2009-10-22 15:29:19,810 DEBUG [org.jboss.deployers.plugins.deployers.DeployersImpl] (HDScanner) Fully Deployed vfszip:/D:/desenvolvimento/jboss-5.1.0.GA/server/default/deploy/sisdoc.bar/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261898#4261898 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261898 From do-not-reply at jboss.com Fri Oct 23 14:00:09 2009 From: do-not-reply at jboss.com (noicangi) Date: Fri, 23 Oct 2009 14:00:09 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Does the jBPM deployer works? Message-ID: <22575652.1256320809346.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Diogo, what version of jbpm are you using? i'm using 3.2.6sp1 with eclipse and jboss tools 3.1 m3 and deployer works perfectly......on jboss 5.1.0GA with mysql.....i configured the hibernate.cfg.xml with hibernate.mysl.XXX thats all. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261913#4261913 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261913 From do-not-reply at jboss.com Fri Oct 23 14:23:30 2009 From: do-not-reply at jboss.com (svnfightsvn) Date: Fri, 23 Oct 2009 14:23:30 -0400 (EDT) Subject: [jboss-user] [EJB] - EJB2.1 findByPrimaryKey and null argument Message-ID: <17715795.1256322210525.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm trying to migrate an app from Weblogic to JBoss and I have a session bean managing entity beans. In my session bean, I have a method to lookup an entity bean by its String primary key. If the value is null, then JBoss throws an java.lang.IllegalArgumentException: findByPrimaryKey called with null argument. What gives with this? Why can't the EntityContainer just throw an ObjectNotFoundException? I find this very unsettling as this same code works fine under Weblogic and it properly throws an ObjectNotFoundException which my code properly catches and handles... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261915#4261915 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261915 From do-not-reply at jboss.com Fri Oct 23 15:00:25 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Fri, 23 Oct 2009 15:00:25 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: Failure when cleaning up HTTP Session in JBoss AS Cluste Message-ID: <6520929.1256324425241.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Re: FileCacheLoader, I think it would be strange if some corruption happened to the same session on 2 different systems. The limitiations of the FCL are: * Due to the way the FileCacheLoader represents a tree structure on disk (directories and files) traversal is inefficient for deep trees. * Usage on shared filesystems like NFS, Windows shares, etc. should be avoided as these do not implement proper file locking and can cause data corruption. * Usage with an isolation level of NONE can cause corrupt writes as multiple threads attempt to write to the same file. * File systems are inherently not transactional, so when attempting to use your cache in a transactional context, failures when writing to the file (which happens during the commit phase) cannot be recovered. I assume you aren't using a shared filesystem for the session store. The isolation level NONE caveat doesn't apply. The problem with not being able to recover if a write failure occurs in a tx is semi-relevant, but I'd expect then you'd have seen some errors in the logs when the session was persisted. Re: the pattern of failures, how close is the timing of the logging between the servers? You're using buddy replication, right? That would explain only 2 servers being involved -- the server handling the session and its buddy. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261919#4261919 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261919 From do-not-reply at jboss.com Fri Oct 23 15:49:16 2009 From: do-not-reply at jboss.com (h2kinfosys) Date: Fri, 23 Oct 2009 15:49:16 -0400 (EDT) Subject: [jboss-user] [Persistence] - Re: dedicated server process results in ORA-24777 error Message-ID: <21000518.1256327356313.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello All, I set the parameters in Oracle as per the instructions and my oracle-xa-ds.xml and oracle-ds.xml files has below. Still I am getting the exception. Any input on this ? jdbc:oracle:thin:@(description=(address_list=(address=(protocol=tcp)(host=mana-jb)(port=1521)))(connect_data=(server=shared)(service_name=rrm))) ================================= org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Io exception: End of TNS data channel) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:225) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:195) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:633) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:267) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:622) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:404) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:381) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:496) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89) at org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:46) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167) at org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161) at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573) at org.hibernate.loader.Loader.doQuery(Loader.java:696) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259) at org.hibernate.loader.Loader.doList(Loader.java:2228) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2125) at org.hibernate.loader.Loader.list(Loader.java:2120) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401) at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:361) at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196) at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1148) at org.hibernate.impl.QueryImpl.list(QueryImpl.java:102) at org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:67) at net.cox.customerprofile.data.ControllerEAOBean.getControllers(ControllerEAOBean.java:93) 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:597) at org.jboss.aop.joinpoint.MethodInvocation.invokeTarget(MethodInvocation.java:122) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) at org.jboss.ejb3.EJBContainerInvocationWrapper.invokeNext(EJBContainerInvocationWrapper.java:69) at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.invoke(InterceptorSequencer.java:73) at org.jboss.ejb3.interceptors.aop.InterceptorSequencer.aroundInvoke(InterceptorSequencer.java:59) 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:597) at org.jboss.aop.advice.PerJoinpointAdvice.invoke(PerJoinpointAdvice.java:174) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.fillMethod(InvocationContextInterceptor.java:72) at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_fillMethod_1524522201.invoke(InvocationContextInterceptor_z_fillMethod_1524522201.java) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor.setup(InvocationContextInterceptor.java:88) at org.jboss.aop.advice.org.jboss.ejb3.interceptors.aop.InvocationContextInterceptor_z_setup_1524522201.invoke(InvocationContextInterceptor_z_setup_1524522201.java) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:56) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:68) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) at org.jboss.ejb3.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:114) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.tx.NullInterceptor.invoke(NullInterceptor.java:42) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:186) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:176) at org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:216) at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:207) at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) at $Proxy743.getControllers(Unknown Source) at net.cox.web.admin.ControllerDetails.pageBeginRender(ControllerDetails.java:74) at org.apache.tapestry.AbstractPage.firePageBeginRender(AbstractPage.java:409) at org.apache.tapestry.AbstractPage.renderPage(AbstractPage.java:244) at org.apache.tapestry.engine.RequestCycle.renderPage(RequestCycle.java:397) at org.apache.tapestry.services.impl.DefaultResponseBuilder.renderResponse(DefaultResponseBuilder.java:151) at org.apache.tapestry.services.impl.ResponseRendererImpl.renderResponse(ResponseRendererImpl.java:33) at $ResponseRenderer_12482ed255e.renderResponse($ResponseRenderer_12482ed255e.java) at $ResponseRenderer_12482ed255d.renderResponse($ResponseRenderer_12482ed255d.java) at org.apache.tapestry.engine.PageService.service(PageService.java:68) at $IEngineService_12482ed25d5.service($IEngineService_12482ed25d5.java) at org.apache.tapestry.services.impl.EngineServiceInnerProxy.service(EngineServiceInnerProxy.java:77) at org.apache.tapestry.services.impl.EngineServiceOuterProxy.service(EngineServiceOuterProxy.java:72) at org.apache.tapestry.engine.AbstractEngine.service(AbstractEngine.java:241) at org.apache.tapestry.services.impl.InvokeEngineTerminator.service(InvokeEngineTerminator.java:54) at $WebRequestServicer_12482ed25b4.service($WebRequestServicer_12482ed25b4.java) at $WebRequestServicer_12482ed25b3.service($WebRequestServicer_12482ed25b3.java) at $WebRequestServicer_12482ed25b0.service($WebRequestServicer_12482ed25b0.java) at $WebRequestServicer_12482ed25af.service($WebRequestServicer_12482ed25af.java) at org.apache.tapestry.services.impl.WebRequestServicerPipelineBridge.service(WebRequestServicerPipelineBridge.java:61) at $ServletRequestServicer_12482ed2596.service($ServletRequestServicer_12482ed2596.java) at $ServletRequestServicer_12482ed2595.service($ServletRequestServicer_12482ed2595.java) at org.apache.tapestry.request.DecodedRequestInjector.service(DecodedRequestInjector.java:55) at $ServletRequestServicerFilter_12482ed2592.service($ServletRequestServicerFilter_12482ed2592.java) at $ServletRequestServicerFilter_12482ed2591.service($ServletRequestServicerFilter_12482ed2591.java) at $ServletRequestServicer_12482ed2597.service($ServletRequestServicer_12482ed2597.java) at org.apache.tapestry.multipart.MultipartDecoderFilter.service(MultipartDecoderFilter.java:52) at $ServletRequestServicerFilter_12482ed2590.service($ServletRequestServicerFilter_12482ed2590.java) at $ServletRequestServicerFilter_12482ed258f.service($ServletRequestServicerFilter_12482ed258f.java) at $ServletRequestServicer_12482ed2597.service($ServletRequestServicer_12482ed2597.java) at org.apache.tapestry.services.impl.SetupRequestEncoding.service(SetupRequestEncoding.java:53) at $ServletRequestServicerFilter_12482ed2594.service($ServletRequestServicerFilter_12482ed2594.java) at $ServletRequestServicerFilter_12482ed2593.service($ServletRequestServicerFilter_12482ed2593.java) at $ServletRequestServicer_12482ed2597.service($ServletRequestServicer_12482ed2597.java) at $ServletRequestServicer_12482ed258a.service($ServletRequestServicer_12482ed258a.java) at $ServletRequestServicer_12482ed2589.service($ServletRequestServicer_12482ed2589.java) at org.apache.tapestry.ApplicationServlet.doService(ApplicationServlet.java:126) at org.apache.tapestry.ApplicationServlet.doGet(ApplicationServlet.java:103) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 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:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.jboss.web.tomcat.service.session.ClusteredSessionValve.handleRequest(ClusteredSessionValve.java:135) at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:94) at org.jboss.web.tomcat.service.session.LockingValve.invoke(LockingValve.java:62) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:905) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:592) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:2036) at java.lang.Thread.run(Thread.java:619) Caused by: java.sql.SQLException: Io exception: End of TNS data channel at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74) at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:227) at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:494) at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:411) at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:490) at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:202) at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:33) at oracle.jdbc.driver.OracleDriver._connect_2(OracleDriver.java:465) at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java) at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.getLocalManagedConnection(LocalManagedConnectionFactory.java:207) ... 139 more View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261923#4261923 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261923 From do-not-reply at jboss.com Fri Oct 23 16:06:14 2009 From: do-not-reply at jboss.com (sanketgajjar) Date: Fri, 23 Oct 2009 16:06:14 -0400 (EDT) Subject: [jboss-user] [Advanced Documentation] - Re: JBoss configuration to allow CAB and MSI files Message-ID: <28975307.1256328374523.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Can anyone explain where to put .exe, .msi and .cab files and how it can be linked using hyperlink(i.e. full url with web application context) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261925#4261925 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261925 From do-not-reply at jboss.com Fri Oct 23 17:15:24 2009 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 23 Oct 2009 17:15:24 -0400 (EDT) Subject: [jboss-user] [Advanced Documentation] - Re: JBoss configuration to allow CAB and MSI files Message-ID: <27153464.1256332524420.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Here is an example. Let's say that you have this file within your xxx.war (I'll include the war file in this path to provide context): xxx.war/dirToThe/contents/some.msi Then use this anchor tag: some.msi To directly access the file use this URL in the browser: http://hostname:8080/xxx/dirToThe/contents/some.msi In other works, there is no difference between how an html, css, gif, msi, exe or static file is access within a web app. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261928#4261928 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261928 From do-not-reply at jboss.com Fri Oct 23 19:49:33 2009 From: do-not-reply at jboss.com (komet_1978) Date: Fri, 23 Oct 2009 19:49:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Timer not available Message-ID: <27855644.1256341773304.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> My workaround is: On start up I iterate over all Timers and synchronize their handles with my entities. Then the handles stored in the entities can be used to access the recreated timers. There is no other solution at the moment without such kind of overhead, I'm afraid. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261938#4261938 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261938 From do-not-reply at jboss.com Sat Oct 24 03:17:41 2009 From: do-not-reply at jboss.com (pradeep.gulla) Date: Sat, 24 Oct 2009 03:17:41 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Processs defintion deployment failed on SQLServer2000 Message-ID: <28684018.1256368661818.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I've created a process definition of size 9kb. But SQLServer2000 won't allows column size grater than 8kb, resulting in process definition deployment failure. Is there any way to change the JBPM deployment behavior, so that i can pick up the process definition from my shared drive ? Please suggest if there is any other options for the same. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261945#4261945 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261945 From do-not-reply at jboss.com Sat Oct 24 04:34:29 2009 From: do-not-reply at jboss.com (kurtu2) Date: Sat, 24 Oct 2009 04:34:29 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Commit fails using JBoss applications server Transaction Man Message-ID: <10553457.1256373269144.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I'm currently using the Jboss cache version 1.4.1 togheter with the jboss application server 4.2.2 (the chaceh version is the one shiped by default on this application server version). I configured the cache .xml file to use the JDBC Class loader to make the cache persistent towards a database. My use case is the following one: an external client application calls a method of a stateless session bean, which is deployed on the jboss application server. This stateless bean method looks up the local cache and puts inside the cache an element and finally it returns a value to the client application. As a first step, I didn't configure the cache to use a Transaction manager, so the cache started without transaction support. This time, when I tried to test the use case, everything worked fine: the stateless bean method is called, it inserts an element in the cache and it returns the value. As result I can see also the persisted element in the database. Obviously, since there is no transaction support, if a runtime exception occurs during the stateless bean method execution, the cache insertion process will be not rolled back. Therefore as a second step I set up the cache to use the JBoss Transaction manager (defined in the cache configuration file to use JBossTransactionManagerLookup) and I tested again the use case. But this time I get an exception when the application tries to commit: Transaction is not ACTIVE (obviously as result, the cache element is not persisted on the database). This exception occurs at the end, when the stateless session bean method has ended without exception and the JBoss application server tries to commit the operation (the insertion of the element of the cache) on the database using the TWO-PHASE-COMMIT protocol. If I put the logging on TRACE level I can clearly see that when the stateless session bean method is executing the operations and the cache is altered, there is a global transaction used, but at the end when it's time to commit, the server throws the exception saying that the transaction is not anymore active. Do you have any idea of the reason of the exception? Can it be linked to the fact that I'm using the REPLY_ASYNC cache mode? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261946#4261946 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261946 From do-not-reply at jboss.com Sat Oct 24 09:27:20 2009 From: do-not-reply at jboss.com (larani) Date: Sat, 24 Oct 2009 09:27:20 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - no access to wsdl Message-ID: <26455784.1256390840962.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, i can not see wsdl file of webservices (tutorial Dukebank for JBoss 4, http://localhost:8080/bankws-ejb/TellerService?wsdl, call of this URL doesn't work), but can see that these webservices were registered in jmx console. what is wrong and how can i correct it! Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261960#4261960 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261960 From do-not-reply at jboss.com Sat Oct 24 09:48:19 2009 From: do-not-reply at jboss.com (jaikiran) Date: Sat, 24 Oct 2009 09:48:19 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.2.2 Deployment/class loader problem Message-ID: <10523736.1256392099570.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Which jar contains this class com.rolfeandnolan.merlin.ejb.timedfeereport.TimedFeeReportEJB? And where is that jar located on the server? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261961#4261961 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261961 From do-not-reply at jboss.com Sat Oct 24 09:49:58 2009 From: do-not-reply at jboss.com (jaikiran) Date: Sat, 24 Oct 2009 09:49:58 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss web console error Message-ID: <16526337.1256392198655.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is this a clean installation or have you done any changes and/or deployed any of your applications? Try it on a clean installation without any changes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261962#4261962 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261962 From do-not-reply at jboss.com Sat Oct 24 14:43:29 2009 From: do-not-reply at jboss.com (vijay_venkataraman) Date: Sat, 24 Oct 2009 14:43:29 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Validate Connection factory setting from MQ to JBM and ident Message-ID: <10759776.1256409809297.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi I am moving our queue implementation form MQ series to JBM from JBOSS 4.2 to JBOSS 4.3 (We are also moving to JBOSS 4.3) Here is the connection factory definition in uil2-service.xml and i want to know the equivalent in JBM. | | BCSQueueConnectionFactory | ConnectionFactory | java:/ConnectionFactory | jboss:service=Naming | | The equivalent i could get to | | | | | | | jboss.messaging:service=ServerPeer | jboss.messaging:service=Connector,transport=bisocket | jboss.messaging:service=PostOffice | | | | BOCSQueueConnectionFactory | java:/ConnectionFactory | ConnectionFactory | | | | If you can see, i am not able to figure the equivalents for these pieces in JBM | java:/ConnectionFactory | ConnectionFactory | jboss:service=Naming | Appreciate if anyone can guide me with this. Thanks in Advance. Vijay View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261978#4261978 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261978 From do-not-reply at jboss.com Sat Oct 24 15:07:44 2009 From: do-not-reply at jboss.com (arianganesh) Date: Sat, 24 Oct 2009 15:07:44 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Memory Leak - LocalManagedConnection Message-ID: <14278897.1256411264138.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi I am using jboss 3.2.1 on HP-UX 11i v2 with jdk 1.4.2.13 our application reads data from a reference database and writes the transactions executed in a separate historical database. The java application crashes every two weeks. we took a heap dump and found that "LocalManagedConnection" occupies 90% of the heap. the instances of this keeps on growing over a period of time. Does anyone know the reason ? Kindly let me know in case u need any other info. Thanks, Ganesh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261980#4261980 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261980 From do-not-reply at jboss.com Sat Oct 24 15:10:53 2009 From: do-not-reply at jboss.com (arianganesh) Date: Sat, 24 Oct 2009 15:10:53 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Memory Leak - LocalManagedConnection Message-ID: <22323260.1256411453425.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Database version being used is oracle 9i ~ Ganesh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261982#4261982 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261982 From do-not-reply at jboss.com Sat Oct 24 22:03:05 2009 From: do-not-reply at jboss.com (lbrewster) Date: Sat, 24 Oct 2009 22:03:05 -0400 (EDT) Subject: [jboss-user] [Spring Integration] - Help/instructions for installing and using JBoss Spring depl Message-ID: <20083964.1256436185167.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm wondering if anyone can point me to documentation/instructions for installing and the spring.deployer (I'm trying to use 3.2 on JBoss5.1). The only thing I have found says to 'drop' the spring.deployer into the server deployer folder. But nothing happens when I do this. I also am not sure how to annotate my EJBs (EJB3) to use the Spring framework. I am just getting started learning both JBoss and Spring, so please forgive me if I seem a little 'dense' and am missing something obvious. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261989#4261989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261989 From do-not-reply at jboss.com Sun Oct 25 03:25:06 2009 From: do-not-reply at jboss.com (bershath27) Date: Sun, 25 Oct 2009 03:25:06 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: problem using JmsXA resouce adapter Message-ID: <19393058.1256455506294.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Can I take a look at the full error message please ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4261999#4261999 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4261999 From do-not-reply at jboss.com Sun Oct 25 04:17:41 2009 From: do-not-reply at jboss.com (vickyk) Date: Sun, 25 Oct 2009 04:17:41 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: ClassNotFoundException when moving JCA adaptor from 4.2. Message-ID: <22431612.1256458661104.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "pwnell" wrote : I *do* make use of jboss-app.xml files - in the RAR and in the ear. In the RAR file: jboss-app.xml would not be considered in RAR, can you have jboss-classloading.xml with the same name for domain as you have for EAR. Check if things work then, if it does not that I can have a deep dive it this case. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262005#4262005 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262005 From do-not-reply at jboss.com Sun Oct 25 08:50:45 2009 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sun, 25 Oct 2009 08:50:45 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - Re: OSGi Bundle clustered (farming) deployment ? Message-ID: <12870735.1256475045516.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Cedric, good post - I'll take care of it. Please monitor https://jira.jboss.org/jira/browse/JBOSGI-191 for progress. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262009#4262009 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262009 From do-not-reply at jboss.com Sun Oct 25 08:55:15 2009 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sun, 25 Oct 2009 08:55:15 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - Re: OSGi Bundle clustered (farming) deployment ? Message-ID: <26772228.1256475315294.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Cedric, good post - I'll take care of it. Please monitor https://jira.jboss.org/jira/browse/JBOSGI-191 for progress. Having said that, I'll have to look into the details of state replication in case of clustered OSGi bundles. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262010#4262010 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262010 From do-not-reply at jboss.com Sun Oct 25 08:59:36 2009 From: do-not-reply at jboss.com (icordoba) Date: Sun, 25 Oct 2009 08:59:36 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Forcing a .war to load after a .ear Message-ID: <5349037.1256475576851.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I had several applications installed in JBoss 4 and had no problems with them. I had modified deployment sorter to make war file deploy after the corresponding ear file. For come reasons I need to have the war file outside the ear file, which only contains .jar files with EJBs. This was no problem for JBoss 4. I am trying to migrate to JBoss 5. After some minor changes in code lookup, they work ok, but I cannot make war's to deploy after .ear when launching JBoss (When JBoss is runningI touch web.xml and they deploy OK) I've read in several threads I can use "depends" tag in jboss-web.xml file. I've done it inserting there the JMX id of some EJBs. jboss.j2ee:ear=tuportal3.ear,jar=tuportal3.jar,name=PortalManager,service=EJB3 | Then, I start JBoss and the war actually loads after the ear, but it seems that the ear is not already fully loaded. I get the following error: 2009-10-25 13:46:36,195 ERROR [com.servengine.util.ServletContextUtils] (HDScanner) ServletContextUtils: RuntimeException: | org.jboss.ejb3.common.registrar.spi.NotBoundException: Object is bound at key jboss.j2ee:ear=tuportal3.ear,jar=tuportal3.jar,name=PortalManager,service=EJB3, but is not fully installed, instead of state: ControllerState at 1ba6b028{Start} | The id of the EJB (PortalManager) is right as when deploying the war manually (touching web.xml) it works ok. Any ideas about what I am missing? By the way. I cannot find the .ear it self when browsing jboss.deployment MBean in JMX Console. I just see an entry for every EJB. Is it possible to refer to the .ear itself some way in "depends" property in jboss-web.xml so my war does depend on the .ear and not on a particular EJB(s) in that ear? thanks for any help View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262011#4262011 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262011 From do-not-reply at jboss.com Sun Oct 25 09:09:04 2009 From: do-not-reply at jboss.com (thomas.diesler@jboss.com) Date: Sun, 25 Oct 2009 09:09:04 -0400 (EDT) Subject: [jboss-user] [JBoss OSGi Users] - Re: Classloader question Message-ID: <6496518.1256476144819.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "lixlix" wrote : | I either need to access an OSGi-provided service in a SLSB or in a JSF Backing Bean. Are there any plans for EJB/OSGi support | Sure, please monitor https://jira.jboss.org/jira/browse/JBOSGI-192 "lixlix" wrote : | If I deploy the WAR into the OSGi container, is its functionality distributed via the JBossAS or via the OSGi-embedded Jetty Not sure what you mean here. The request is currently answered by the PAX-Web embedded Jetty. An OSGi webapp is currently not distributed in a cluster. Please monitor https://jira.jboss.org/jira/browse/JBOSGI-193 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262012#4262012 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262012 From do-not-reply at jboss.com Sun Oct 25 10:00:05 2009 From: do-not-reply at jboss.com (pradeep.gulla) Date: Sun, 25 Oct 2009 10:00:05 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Conditional Task Assignment with Fork Message-ID: <31144267.1256479205475.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is it possible to assign conditional tasks with Fork node in JBPM. As per my requirement, workflow should allow optional Parallel tasks and a mandatory sequential task. But I'm getting some issues while conditionally assign tasks with fork. Process definition: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This definition forces me to supply either (2 Parallel and 1 Sequential) or (0 Parallel and 1 Sequential) approvers, but not 1 Parallel and 1 Sequential. Thanks in Advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262014#4262014 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262014 From do-not-reply at jboss.com Sun Oct 25 11:34:55 2009 From: do-not-reply at jboss.com (marius.bogoevici) Date: Sun, 25 Oct 2009 11:34:55 -0400 (EDT) Subject: [jboss-user] [Spring Integration] - Re: Help/instructions for installing and using JBoss Spring Message-ID: <21512212.1256484895864.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi there, I'm very close to posting the project site for Snowdrop - which is the JBoss project that encompasses the JBoss-Spring integration utilities, so hopefully you'll find there more information about this, but here are some quick pointers. 1) Extract the zip in the deployer folder. So you should see something like this: /server//deployer/jboss-spring-3.2.deployer/ 2) Make sure that you have a Spring application context in your deployment (the deployer is looking under META-INF/ for a file (or files) that matches *-spring.xml - so jboss-spring.xml, myapp-spring.xml are valid names) 3) If you want to inject Spring beans from those application contexts into EJBs, you need to define @Interceptors(SpringLifecycleInterceptor.class) on the bean class and then use @Spring for each dependency you want to inject. A complete example is available here: http://anonsvn.jboss.org/repos/jbossas/projects/snowdrop/trunk/documentation/samples/horoscope Hope that helps, Marius View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262016#4262016 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262016 From do-not-reply at jboss.com Sun Oct 25 11:50:12 2009 From: do-not-reply at jboss.com (osnetwork) Date: Sun, 25 Oct 2009 11:50:12 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Migration to JBoss 5, Scheduler not working Message-ID: <30157646.1256485812722.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello everybody, I'm trying to port my application from JBoss AS 4.x to JBoss 5.1. The application seems to be deployed fine. In fact inside my EAR I have various jar and a WEB application The fact that the WEB application is working fine means that also the other jar/EJBs are deployed and working correctly. The problem is that in my application I have defined a service inside the META-INF of the EAR like that: | | | true | com.os.schedule.LobbyScheduler | lobbyTopic,1 | java.lang.String,long | NOW | 5000 | -1 | | jboss.j2ee:url='gamgamEAR.ear',service=EJB3 | | basically it should call every 5 seconds a class LobbyScheduler that implements the org.jboss.varia.scheduler.Schedulable interface. the problem is that I always get the same error, that comes from the tag. DEPLOYMENTS MISSING DEPENDENCIES: | Deployment "com.os:service=Scheduler" is missing the following dependencies: | Dependency "jboss.j2ee:service=EJB3,url='gamgamEAR.ear'" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:service=EJB3,url='gamgamEAR.ear'' **") | | DEPLOYMENTS IN ERROR: | Deployment "jboss.j2ee:service=EJB3,url='gamgamEAR.ear'" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.j2ee:service=EJB3,url='gamgamEAR.ear'' ** In fact it seems that it doesn't find the EAR deployed or the address is wrong In my old configuration (JBoss 4.x) I had: jboss.j2ee:service=EARDeployment,url='gamgamEAR.ear' and it was working fine. Probably in the AS 5, the name has been changed from EARDeployment to EARDeployer but still I'm not able to find the right sintax. I was trying to point at the EJB used by Scheduler class that in my case is LobbyManager, but even in that case it's not working. I was checking the JMX-Console for the name of the Bean LobbyManager. and putting that string into tag I have as result no more errors... but nothing happens... so that means that the scheduler is not called. ear=gamgamEAR.ear,jar=gamgamEJB.jar,name=LobbyManager,service=EJB3 | | jboss.j2ee:ear=gamgamEAR.ear,jar=gamgamEJB.jar,name=LobbyManager,service=EJB3 Do you have any advice? PS=is that Scheduler way J2EE 5 compliant? If not how can I replace that scheduler with something portable. Thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262017#4262017 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262017 From do-not-reply at jboss.com Sun Oct 25 14:09:54 2009 From: do-not-reply at jboss.com (Tashtego) Date: Sun, 25 Oct 2009 14:09:54 -0400 (EDT) Subject: [jboss-user] [JMX] - Question about queues / topics and MBeans Message-ID: <13290005.1256494194125.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi. I am a bit new to message driven beans. Trying my first steps right now. I??ve already read the following articles: http://activemq.apache.org/version-5-hello-world.html http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/tmj_devcl.html http://www.roseindia.net/ejb/example-of-messageBean.shtml Now my wish would be to create a queue or topic within my application instead of having to create xml files which have to be placed into deploy folder as -service.xml files. Is this possible? How? The JBoss Admin-Console tells me this: Created Programmatically: false So it should be possible I guess. And what do MBeans have to do with this? I never programmed a MBean so far. What are those custom programmed MBeans good for? I know many services of JBoss run as modules (MBeans?). Is creating a queue another possible example for this? thanks for any comments about this! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262029#4262029 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262029 From do-not-reply at jboss.com Sun Oct 25 15:39:14 2009 From: do-not-reply at jboss.com (pwnell) Date: Sun, 25 Oct 2009 15:39:14 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: ClassNotFoundException when moving JCA adaptor from 4.2. Message-ID: <8818406.1256499554348.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Not really since I share that RAR across many different ears. The RAR provides a global logging and auditing framework shared by up to 7 different ears deployed in the same JBoss instance. Surely the domain names would be different then? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262042#4262042 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262042 From do-not-reply at jboss.com Sun Oct 25 16:36:48 2009 From: do-not-reply at jboss.com (dahagrachops) Date: Sun, 25 Oct 2009 16:36:48 -0400 (EDT) Subject: [jboss-user] [EJB] - JAAS: using sessionbean's home interface method "create" fro Message-ID: <5647827.1256503008801.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi friends:) i have 2 jboss instances: jboss A (4.2.3) running on interface 127.0.0.1 and deploying some session beans jboss B (5.0) running remotely on other network interface and deploying a MDB The MDB can read message from remote topic on A If i try to use the create method of a session bean on jboss A, i have a SecurityException: java.rmi.AccessException: SecurityException; nested exception is: java.lang.SecurityException: Insufficient method permissions, principal=null, ejbName=SourceServiceBean, method=create, interface=HOME, requiredRoles=[ENABLED, SUPEROWNER, INITIALIZER, INDEXER], principalRoles=[] There is something to add about JAAS, maybe in a jboss config file, but i don't know where. Can you help me please? Bye and thanks;) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262050#4262050 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262050 From do-not-reply at jboss.com Sun Oct 25 16:45:14 2009 From: do-not-reply at jboss.com (osnetwork) Date: Sun, 25 Oct 2009 16:45:14 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Migration to JBoss 5, Scheduler not working Message-ID: <26378215.1256503514036.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "osnetwork" wrote : I was checking the JMX-Console for the name of the Bean LobbyManager. and putting that string into tag I have as result no more errors... but nothing happens... so that means that the scheduler is not called. | ear=gamgamEAR.ear,jar=gamgamEJB.jar,name=LobbyManager,service=EJB3 | | | | jboss.j2ee:ear=gamgamEAR.ear,jar=gamgamEJB.jar,name=LobbyManager,service=EJB3 | | Do you have any advice? | | PS=is that Scheduler way J2EE 5 compliant? If not how can I replace that scheduler with something portable. | | Thanks in advance Sorry, I have solved... actually putting the address found on the JMX-Console has fixed the problem. I had another problem not related to JBoss so for this reason I was not able to test the functionality properly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262053#4262053 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262053 From do-not-reply at jboss.com Sun Oct 25 18:50:27 2009 From: do-not-reply at jboss.com (sverker) Date: Sun, 25 Oct 2009 18:50:27 -0400 (EDT) Subject: [jboss-user] [Security] - Problems with authentication on EJB2 Message-ID: <7191703.1256511027582.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I'm trying to update an old EJB2-based application to be able to run on JBoss 5.1. Well, everything work except for that I keep getting java.lang.SecurityException: Authentication exception, principal=null on some operations. I have a custom login module, it's right now deployed with the new method but I've also tried with the old DynamicLoginConfig. When I log in on the web frontend it looks like this in the log: 22:59:46,100 TRACE [LimeLoginModule] initialize | 22:59:46,106 TRACE [LimeLoginModule] Security domain: lime | 22:59:46,109 TRACE [LimeLoginModule] Saw unauthenticatedIdentity=unauthenticated | 22:59:46,113 TRACE [LimeLoginModule] login | 22:59:46,114 TRACE [LimeLoginModule] Trying to authenticate sverker | 22:59:46,119 DEBUG [AccountServiceBean] AccountServiceBean.ejbCreate() | 22:59:46,168 INFO [AccountServiceBean] AccountServiceBean.authenticateAccount("sverker","*******") from null successfull | 22:59:46,170 TRACE [LimeLoginModule] LimeLoginModule.login("sverker","*******") successfull | 22:59:46,171 TRACE [LimeLoginModule] Assign user to role admin | 22:59:46,174 TRACE [LimeLoginModule] User 'sverker' authenticated, loginOk=true However, on the operations that fails I see this instead: 23:02:05,078 TRACE [UsersRolesLoginModule] initialize | 23:02:05,083 TRACE [UsersRolesLoginModule] Security domain: other | 23:02:05,084 TRACE [UsersRolesLoginModule] findResource: null | 23:02:05,087 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files | java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found All operations are unchecked, the app handles authorization in other ways. I can see no difference in ejb-jar.xml on method-permission fields between the operations that work and those that don't. I have tested with setting security-domain and unauthenticated-principal in either jboss-app.xml (in the ear) or jboss.xml (in ejb-jar) + jboss-web.xml or in all but no change. How come that for some operations it chooses security-domain other? I see the same also when calling operations on EJB's from a MBean, how can I set which security-domain it belongs to and shouldn't it be the ejb's security domain that matters? The setting I use in jboss-app and the others are: java:/jaas/lime | unauthenticated What is this unauthenticated-principal used for, shouldn't that prevent the exception with principal=null? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262057#4262057 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262057 From do-not-reply at jboss.com Sun Oct 25 19:18:11 2009 From: do-not-reply at jboss.com (icordoba) Date: Sun, 25 Oct 2009 19:18:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Migrating .ear to JBoss 5 with several EJB3 Jars inside Message-ID: <18691036.1256512691913.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Well, they are EJB3 entities. I guest they have most in common with HJPA/Hibernate entities but I try not to code anything outside EJB3 specifications, so I never deal with Hibernate in my code, even though I know it is there taking care of EJB3 persistence. May I ask if dealing with Hibernate specifically can solve my problem? Thanks, Ignacio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262058#4262058 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262058 From do-not-reply at jboss.com Sun Oct 25 20:00:26 2009 From: do-not-reply at jboss.com (thogha) Date: Sun, 25 Oct 2009 20:00:26 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Buddy location issue Message-ID: <22515188.1256515226010.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Correction: TCP start_port="7800" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262059#4262059 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262059 From do-not-reply at jboss.com Sun Oct 25 20:05:24 2009 From: do-not-reply at jboss.com (thogha) Date: Sun, 25 Oct 2009 20:05:24 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Buddy location issue Message-ID: <3499340.1256515524504.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry, I wiped out my original post in the preview. I'm trying to get buddy replication working. I'm running two servers, each with one instance of 3.1.0 inside Tomcat. Here is the error (from catalina.out): | Oct 25, 2009 7:26:45 PM org.jgroups.JChannel init | INFO: JGroups version: 2.6.7.GA | | ------------------------------------------------------- | GMS: address is 127.0.1.1:7800 | ------------------------------------------------------- | Oct 25, 2009 7:26:48 PM org.jboss.cache.RPCManagerImpl$MembershipListenerAdaptor viewAccepted | INFO: Received new cluster view: [127.0.1.1:7800|0] [127.0.1.1:7800] | Oct 25, 2009 7:26:48 PM org.jboss.cache.RPCManagerImpl start | INFO: Cache local address is 127.0.1.1:7800 | Oct 25, 2009 7:26:48 PM org.jboss.cache.buddyreplication.NextMemberBuddyLocator locateBuddies | INFO: Expected to look for 1 buddies but could only find 0 suitable candidates - trying with colocated buddies as well. | Oct 25, 2009 7:26:48 PM org.jboss.cache.buddyreplication.NextMemberBuddyLocator locateBuddies | INFO: Expected to look for 1 buddies but could only find 0 suitable candidates - trying again, ignoring buddy pool hints. | Oct 25, 2009 7:26:48 PM org.jboss.cache.buddyreplication.NextMemberBuddyLocator locateBuddies | INFO: Expected to look for 1 buddies but could only find 0 suitable candidates - trying with colocated buddies as well. | Oct 25, 2009 7:26:48 PM org.jboss.cache.buddyreplication.NextMemberBuddyLocator locateBuddies | INFO: Expected to look for 1 buddies but could only find 0 suitable candidates! | And here is JBossCacheConfiguration.xml | | | | | | | | | | | | | | | | | numBuddies = 1 | ignoreColocatedBuddies = true | | | | | | | | | | | | | | | | | | | | | | How does one diagnose and solve this problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262060#4262060 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262060 From do-not-reply at jboss.com Sun Oct 25 20:38:42 2009 From: do-not-reply at jboss.com (PeterJ) Date: Sun, 25 Oct 2009 20:38:42 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: no access to wsdl Message-ID: <4357452.1256517522719.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Start at http://localhost:8080/jbossws. On that page, in the Runtime Information box there is a "View a list of deployed services" link. Click that, you will get a page of registered services. Is you service on that page? If not, then your app was not recognized as a web service. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262062#4262062 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262062 From do-not-reply at jboss.com Sun Oct 25 20:42:53 2009 From: do-not-reply at jboss.com (PeterJ) Date: Sun, 25 Oct 2009 20:42:53 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Memory Leak - LocalManagedConnection Message-ID: <9048236.1256517773760.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Please do not post the same question in multiple forums. http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162860 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262063#4262063 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262063 From do-not-reply at jboss.com Sun Oct 25 22:59:19 2009 From: do-not-reply at jboss.com (gaohoward) Date: Sun, 25 Oct 2009 22:59:19 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Validate Connection factory setting from MQ to JBM and i Message-ID: <12890220.1256525959077.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I guess 'LocalJndiName' means the name you use to look up in-vm objects. If so, this is not necessary in JBM. Because the prefix "java:" means already the in-vm context. The jboss:service=Nameing is not configured here in JBM. You need to bring up the Naming service by configuring JBOSS services. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262069#4262069 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262069 From do-not-reply at jboss.com Sun Oct 25 23:00:42 2009 From: do-not-reply at jboss.com (gaohoward) Date: Sun, 25 Oct 2009 23:00:42 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: jboss-messaging-1.4.5.GA and JBoss AS 5.1 Message-ID: <27268172.1256526042388.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> No. try 1.4.6.GA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262070#4262070 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262070 From do-not-reply at jboss.com Sun Oct 25 23:03:37 2009 From: do-not-reply at jboss.com (gaohoward) Date: Sun, 25 Oct 2009 23:03:37 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Performance issues after switching from mq to jboss mess Message-ID: <4084621.1256526217782.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What exact versions of JBM are you using? Have you been able to get some examples work? Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262071#4262071 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262071 From do-not-reply at jboss.com Sun Oct 25 23:22:09 2009 From: do-not-reply at jboss.com (gaohoward) Date: Sun, 25 Oct 2009 23:22:09 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Connection pool for ClusteredConnectionFactory, how to ? Message-ID: <12334873.1256527329784.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Q1: JBM doesn't provide connection pooling. You need to pool the connection yourself or using some 3rd party lib (if any). Q2: Because JBM doesn't pool connections, so there is no place for such configurations. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262074#4262074 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262074 From do-not-reply at jboss.com Mon Oct 26 00:39:13 2009 From: do-not-reply at jboss.com (rasa) Date: Mon, 26 Oct 2009 00:39:13 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss web console error Message-ID: <9276266.1256531953142.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "jaikiran" wrote : Is this a clean installation or have you done any changes and/or deployed any of your applications? Try it on a clean installation without any changes. | No I have deployed my application. One thing i needed to ask is in jbss.web deployer there is no servlet api and jsp-api jar files. When i copied those files it is started working now. Let me check once again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262076#4262076 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262076 From do-not-reply at jboss.com Mon Oct 26 00:50:07 2009 From: do-not-reply at jboss.com (nmatrix9) Date: Mon, 26 Oct 2009 00:50:07 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - SessionBean and the case of RESTRICTIONS for entitquery Message-ID: <23162566.1256532607014.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello EJB 3.0 Users I've just noticed that creates class that extends EntityQuery, some generated classes do NOT have any restrictsion set in the RESTRICTIONS array. I tried to find out why but so far I have not found any useful information on this. Anyways I have a class called ExoshellUsersRolesList that extends EntityQuery (originally generated by Seam-Gen) to which it did not have it's RESTRICTIONS array set. So I decided I would manually set the array myself like so. package com.domain.exoshellcms.session; import com.domain.exoshellcms.entity.*; import org.jboss.seam.ScopeType; import org.jboss.seam.annotations.Name; import org.jboss.seam.annotations.Scope; import org.jboss.seam.framework.EntityQuery; import java.util.List; import java.util.Arrays; @Name("exoshellUserRolesList") @Scope(ScopeType.SESSION) public class ExoshellUserRolesList extends EntityQuery { /* UNABLE TO GET RESTRICTIONS TO WORK WITHOUT POINTING TO NULL PARENT OBJECT I.E. exoshellUsers, exoshellRoles or exoshellModules */ private static final String[] RESTRICTIONS = { "lower(users.username) like concat(lower(#{exoshellUserRolesList.exoshellUserRoles.exoshellUsers.username}),'%')", "lower(exoshellUserRoles.exoshellRoles.roleName) like concat(lower(#{exoshellUserRolesList.exoshellUserRoles.exoshellRoles.roleName}),'%')", "lower(exoshellUserRoles.exoshellModules.moduleName) like concat(lower(#{exoshellUserRolesList.exoshellUserRoles.exoshellModules.moduleName}),'%')" }; private ExoshellUserRoles exoshellUserRoles = new ExoshellUserRoles(); private String queryString = new String("select exoshellUserRoles, users from ExoshellUserRoles exoshellUserRoles join fetch exoshellUserRoles.exoshellUsers users"); @Override public String getEjbql() { return queryString; } public ExoshellUserRoles getExoshellUserRoles() { return exoshellUserRoles; } @Override public List getRestrictions() { return Arrays.asList(RESTRICTIONS); } @Override public String getOrder() { return new String("exoshellUserRoles.userRolesId asc"); } } I then created a corresponding interface form to search through a datable using the ExoshellUsersList like so: User Name Role Name Module Unfortunately this was not enough as when I try to input text into one of the search fields (like User Name) upon ajax update I get the error: Exception during request processing: Caused by javax.servlet.ServletException with message: "/admin/ExoshellUserRolesEdit.xhtml @339,122 value="#{exoshellUserRolesList.exoshellUserRoles.exoshellUsers.username}": Target Unreachable, 'exoshellUsers' returned null on 'com.domain.exoshellcms.entity.ExoshellUserRoles'" Any insight, documentation or solutions to the exception above would be greatly appreciated. I've include the relied upon EJB entities below after this post. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262077#4262077 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262077 From do-not-reply at jboss.com Mon Oct 26 00:50:46 2009 From: do-not-reply at jboss.com (nmatrix9) Date: Mon, 26 Oct 2009 00:50:46 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: SessionBean and the case of RESTRICTIONS for entitquery Message-ID: <28839953.1256532646074.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> @Entity @Name("users") @Table(name = "exoshell_users", schema = "public", uniqueConstraints = @UniqueConstraint(columnNames = { "username", "emailaddress" })) public class ExoshellUsers implements java.io.Serializable { private int userId; private String username; private String userpassword; private String firstname; private String lastname; private String emailaddress; private String userimage; private byte[] picture; private Date registered; private String gender; private Date lastLogin; private String ipAddress; private boolean accountenabled; private Set exoshellUserRoleses = new HashSet( 0); public ExoshellUsers() { } public ExoshellUsers(String username, String userpassword, String firstname, String lastname, String emailaddress, Date registered, String gender, Date lastLogin, String ipAddress, boolean accountenabled) { this.username = username; this.userpassword = userpassword; this.firstname = firstname; this.lastname = lastname; this.emailaddress = emailaddress; this.registered = registered; this.gender = gender; this.lastLogin = lastLogin; this.ipAddress = ipAddress; this.accountenabled = accountenabled; } public ExoshellUsers(String username, String userpassword, String firstname, String lastname, String emailaddress, String userimage, Date registered, String gender, Date lastLogin, String ipAddress, boolean accountenabled, Set exoshellUserRoleses) { this.username = username; this.userpassword = userpassword; this.firstname = firstname; this.lastname = lastname; this.emailaddress = emailaddress; this.userimage = userimage; this.registered = registered; this.gender = gender; this.lastLogin = lastLogin; this.ipAddress = ipAddress; this.accountenabled = accountenabled; this.exoshellUserRoleses = exoshellUserRoleses; } @Id @GeneratedValue(strategy=GenerationType.AUTO) @Column(name = "user_id", unique = true, nullable = false) @NotNull public int getUserId() { return this.userId; } public void setUserId(int userId) { this.userId = userId; } @Column(name = "username", nullable = false, length = 20) @NotNull @Length(max = 20) public String getUsername() { return this.username; } public void setUsername(String username) { this.username = username; } @Column(name = "userpassword", nullable = false, length = 40) @NotNull @Length(max = 40) public String getUserpassword() { return this.userpassword; } public void setUserpassword(String userpassword) { this.userpassword = userpassword; } @Column(name = "firstname", nullable = false, length = 40) @NotNull @Length(max = 40) public String getFirstname() { return this.firstname; } public void setFirstname(String firstname) { this.firstname = firstname; } @Column(name = "lastname", nullable = false, length = 40) @NotNull @Length(max = 40) public String getLastname() { return this.lastname; } public void setLastname(String lastname) { this.lastname = lastname; } @Column(name = "emailaddress", nullable = false) @NotNull @Email(message="Input is not a valid email") public String getEmailaddress() { return this.emailaddress; } public void setEmailaddress(String emailaddress) { this.emailaddress = emailaddress; } @Column(name = "userimage") public String getUserimage() { return this.userimage; } public void setUserimage(String userimage) { this.userimage = userimage; } @Temporal(TemporalType.DATE) @Column(name = "registered", nullable = false, length = 13) @NotNull public Date getRegistered() { return this.registered; } public void setRegistered(Date registered) { this.registered = registered; } @Column(name = "gender", nullable = false, length = 6) @NotNull @Length(max = 6) public String getGender() { return this.gender; } public void setGender(String gender) { this.gender = gender; } @Temporal(TemporalType.TIMESTAMP) @Column(name = "last_login", nullable = false, length = 29) @NotNull public Date getLastLogin() { return this.lastLogin; } public void setLastLogin(Date lastLogin) { this.lastLogin = lastLogin; } @Column(name = "ip_address", nullable = false, length = 32) @NotNull @Length(max = 32) public String getIpAddress() { return this.ipAddress; } public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; } @Column(name = "accountenabled", nullable = false) @NotNull public boolean isAccountenabled() { return this.accountenabled; } public void setAccountenabled(boolean accountenabled) { this.accountenabled = accountenabled; } @OneToMany(fetch = FetchType.LAZY, mappedBy = "exoshellUsers", cascade = {CascadeType.ALL}) public Set getExoshellUserRoleses() { return this.exoshellUserRoleses; } public void setExoshellUserRoleses( Set exoshellUserRoleses) { this.exoshellUserRoleses = exoshellUserRoleses; } public byte[] getPicture() { return picture; } public void setPicture(byte[] picture) { this.picture = picture; } } @Entity @Name("roles") @Table(name = "exoshell_roles", schema = "public", uniqueConstraints = @UniqueConstraint(columnNames = "role_name")) public class ExoshellRoles implements java.io.Serializable { private int roleId; private String roleName; private Set exoshellUserRoleses = new HashSet( 0); public ExoshellRoles() { } public ExoshellRoles(String roleName) { this.roleName = roleName; } public ExoshellRoles(String roleName, Set exoshellUserRoleses) { this.roleName = roleName; this.exoshellUserRoleses = exoshellUserRoleses; } @Id @GeneratedValue(strategy=GenerationType.AUTO) @Column(name = "role_id", unique = true, nullable = false) @NotNull public int getRoleId() { return this.roleId; } public void setRoleId(int roleId) { this.roleId = roleId; } @Column(name = "role_name", unique = true, nullable = false, length = 30) @NotNull @Length(max = 30) public String getRoleName() { return this.roleName; } public void setRoleName(String roleName) { this.roleName = roleName; } @OneToMany(fetch = FetchType.LAZY, mappedBy = "exoshellRoles", cascade = {CascadeType.ALL}) public Set getExoshellUserRoleses() { return this.exoshellUserRoleses; } public void setExoshellUserRoleses( Set exoshellUserRoleses) { this.exoshellUserRoleses = exoshellUserRoleses; } } @Entity @Name("modules") @Table(name = "exoshell_modules", schema = "public", uniqueConstraints = @UniqueConstraint(columnNames = "module_name")) public class ExoshellModules implements java.io.Serializable { private int moduleId; private ExoshellModuleCategories exoshellModuleCategories; private String moduleName; private boolean moduleStatus; private String moduleImage; private Date moduleInstalled; private String username; private String ipAddress; private Set exoshellModContentManagerCategorieses = new HashSet( 0); private Set exoshellUserRoleses = new HashSet( 0); public ExoshellModules() { } public ExoshellModules( ExoshellModuleCategories exoshellModuleCategories, String moduleName, boolean moduleStatus, String moduleImage, Date moduleInstalled, String username, String ipAddress) { this.exoshellModuleCategories = exoshellModuleCategories; this.moduleName = moduleName; this.moduleStatus = moduleStatus; this.moduleImage = moduleImage; this.moduleInstalled = moduleInstalled; this.username = username; this.ipAddress = ipAddress; } public ExoshellModules( ExoshellModuleCategories exoshellModuleCategories, String moduleName, boolean moduleStatus, String moduleImage, Date moduleInstalled, String username, String ipAddress, Set exoshellModContentManagerCategorieses, Set exoshellUserRoleses) { this.exoshellModuleCategories = exoshellModuleCategories; this.moduleName = moduleName; this.moduleStatus = moduleStatus; this.moduleImage = moduleImage; this.moduleInstalled = moduleInstalled; this.username = username; this.ipAddress = ipAddress; this.exoshellModContentManagerCategorieses = exoshellModContentManagerCategorieses; this.exoshellUserRoleses = exoshellUserRoleses; } @Id @GeneratedValue(strategy=GenerationType.AUTO) @Column(name = "module_id", unique = true, nullable = false) @NotNull public int getModuleId() { return this.moduleId; } public void setModuleId(int moduleId) { this.moduleId = moduleId; } @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "module_category_id", nullable = false) @NotNull public ExoshellModuleCategories getExoshellModuleCategories() { return this.exoshellModuleCategories; } public void setExoshellModuleCategories( ExoshellModuleCategories exoshellModuleCategories) { this.exoshellModuleCategories = exoshellModuleCategories; } @Column(name = "module_name", unique = true, nullable = false, length = 40) @NotNull @Length(max = 40) public String getModuleName() { return this.moduleName; } public void setModuleName(String moduleName) { this.moduleName = moduleName; } @Column(name = "module_status", nullable = false) @NotNull public boolean isModuleStatus() { return this.moduleStatus; } public void setModuleStatus(boolean moduleStatus) { this.moduleStatus = moduleStatus; } @Column(name = "module_image", nullable = false) @NotNull public String getModuleImage() { return this.moduleImage; } public void setModuleImage(String moduleImage) { this.moduleImage = moduleImage; } @Temporal(TemporalType.DATE) @Column(name = "module_installed", nullable = false, length = 13) @NotNull public Date getModuleInstalled() { return this.moduleInstalled; } public void setModuleInstalled(Date moduleInstalled) { this.moduleInstalled = moduleInstalled; } @Column(name = "username", nullable = false, length = 20) @NotNull @Length(max = 20) public String getUsername() { return this.username; } public void setUsername(String username) { this.username = username; } @Column(name = "ip_address", nullable = false, length = 32) @NotNull @Length(max = 32) public String getIpAddress() { return this.ipAddress; } public void setIpAddress(String ipAddress) { this.ipAddress = ipAddress; } @OneToMany(fetch = FetchType.LAZY, mappedBy = "exoshellModules") public Set getExoshellModContentManagerCategorieses() { return this.exoshellModContentManagerCategorieses; } public void setExoshellModContentManagerCategorieses( Set exoshellModContentManagerCategorieses) { this.exoshellModContentManagerCategorieses = exoshellModContentManagerCategorieses; } @OneToMany(fetch = FetchType.LAZY, mappedBy = "exoshellModules", cascade = {CascadeType.ALL}) public Set getExoshellUserRoleses() { return this.exoshellUserRoleses; } public void setExoshellUserRoleses( Set exoshellUserRoleses) { this.exoshellUserRoleses = exoshellUserRoleses; } } @Entity @Name("userRoles") @Table(name = "exoshell_user_roles", schema = "public", uniqueConstraints = @UniqueConstraint(columnNames = { "module_id", "user_id", "role_id" })) public class ExoshellUserRoles implements java.io.Serializable { private int userRolesId; private ExoshellUsers exoshellUsers; private ExoshellRoles exoshellRoles; private ExoshellModules exoshellModules; private Set exoshellImageses = new HashSet( 0); private ExoshellUserRolesRules exoshellUserRolesRuleses; public ExoshellUserRoles() { } public ExoshellUserRoles(int userRolesId, ExoshellUsers exoshellUsers, ExoshellRoles exoshellRoles) { this.userRolesId = userRolesId; this.exoshellUsers = exoshellUsers; this.exoshellRoles = exoshellRoles; } public ExoshellUserRoles(int userRolesId, ExoshellUsers exoshellUsers, ExoshellRoles exoshellRoles, ExoshellModules exoshellModules, Set exoshellImageses, ExoshellUserRolesRules exoshellUserRolesRuleses) { this.userRolesId = userRolesId; this.exoshellUsers = exoshellUsers; this.exoshellRoles = exoshellRoles; this.exoshellModules = exoshellModules; this.exoshellImageses = exoshellImageses; this.exoshellUserRolesRuleses = exoshellUserRolesRuleses; } @Id @GeneratedValue(strategy=GenerationType.AUTO) @Column(name = "user_roles_id", unique = true, nullable = false) @NotNull public int getUserRolesId() { return this.userRolesId; } public void setUserRolesId(int userRolesId) { this.userRolesId = userRolesId; } @ManyToOne(fetch = FetchType.EAGER) @JoinColumn(name = "user_id", nullable = false) @NotNull public ExoshellUsers getExoshellUsers() { return this.exoshellUsers; } public void setExoshellUsers(ExoshellUsers exoshellUsers) { this.exoshellUsers = exoshellUsers; } @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "role_id", nullable = false) @NotNull public ExoshellRoles getExoshellRoles() { return this.exoshellRoles; } public void setExoshellRoles(ExoshellRoles exoshellRoles) { this.exoshellRoles = exoshellRoles; } @ManyToOne(fetch = FetchType.LAZY) @JoinColumn(name = "module_id", nullable = true) public ExoshellModules getExoshellModules() { return this.exoshellModules; } public void setExoshellModules(ExoshellModules exoshellModules) { this.exoshellModules = exoshellModules; } @OneToMany(fetch = FetchType.LAZY, mappedBy = "exoshellUserRoles") public Set getExoshellImageses() { return exoshellImageses; } public void setExoshellImageses(Set exoshellImageses) { this.exoshellImageses = exoshellImageses; } @OneToOne(fetch = FetchType.LAZY, mappedBy = "exoshellUserRoles", cascade={CascadeType.ALL}) public ExoshellUserRolesRules getExoshellUserRolesRuleses() { return exoshellUserRolesRuleses; } public void setExoshellUserRolesRuleses( ExoshellUserRolesRules exoshellUserRolesRuleses) { this.exoshellUserRolesRuleses = exoshellUserRolesRuleses; } } View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262078#4262078 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262078 From do-not-reply at jboss.com Mon Oct 26 00:51:14 2009 From: do-not-reply at jboss.com (rasa) Date: Mon, 26 Oct 2009 00:51:14 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deployment related Issue Message-ID: <73647.1256532674705.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "PeterJ" wrote : Is your message-driven bean based on EJB 3 or 2.x? If 2.x, please post the descriptor file. If 3, please post the source code (you can remove the contents of the methods). I am using ejb 2.0 see my entry for MessageMDB.java | | | MessageMDB | com.apps.ejb.message.MessageMDB | Container | AUTO_ACKNOWLEDGE | | javax.jms.Queue | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262079#4262079 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262079 From do-not-reply at jboss.com Mon Oct 26 01:26:06 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 26 Oct 2009 01:26:06 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss web console error Message-ID: <9596829.1256534766104.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "rasa" wrote : One thing i needed to ask is in jbss.web deployer there is no servlet api and jsp-api jar files. Those jars are available in JBOSS_HOME/server/< servername>/lib folder. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262082#4262082 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262082 From do-not-reply at jboss.com Mon Oct 26 02:30:34 2009 From: do-not-reply at jboss.com (maruthi.sura) Date: Mon, 26 Oct 2009 02:30:34 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Unable to deploy app in jboss 5 developed in struts2 and spr Message-ID: <29724186.1256538634294.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, i am trying to deploy a application developed using struts 2 and spring. i am getting the following exception .Please any boby help me to solve the issue | 11:49:28,514 INFO [TomcatDeployment] deploy, ctxPath=/les | 11:49:28,639 ERROR [JBossContextConfig] XML error parsing: context.xml | org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser | at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100) | at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:549) | at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:536) | at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279) | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy38.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Unknown Source) | Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:97) | at org.jboss.xb.binding.UnmarshallerImpl.(UnmarshallerImpl.java:56) | at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96) | ... 73 more | Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration | at org.apache.xerces.parsers.SAXParser.(Unknown Source) | at org.apache.xerces.parsers.SAXParser.(Unknown Source) | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.(Unknown Source) | at org.apache.xerces.jaxp.SAXParserImpl.(Unknown Source) | at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:92) | ... 75 more | 11:49:28,639 ERROR [JBossContextConfig] XML error parsing: jboss.web/localhost/context.xml.default | org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser | at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100) | at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:549) | at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:537) | at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279) | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy38.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Unknown Source) | Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:97) | at org.jboss.xb.binding.UnmarshallerImpl.(UnmarshallerImpl.java:56) | at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96) | ... 73 more | Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration | at org.apache.xerces.parsers.SAXParser.(Unknown Source) | at org.apache.xerces.parsers.SAXParser.(Unknown Source) | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.(Unknown Source) | at org.apache.xerces.jaxp.SAXParserImpl.(Unknown Source) | at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:92) | ... 75 more | 11:49:28,655 ERROR [JBossContextConfig] XML error parsing: WEB-INF/context.xml | org.jboss.xb.binding.JBossXBRuntimeException: Failed to create a new SAX parser | at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:100) | at org.jboss.web.tomcat.service.deployers.JBossContextConfig.processContextConfig(JBossContextConfig.java:549) | at org.jboss.web.tomcat.service.deployers.JBossContextConfig.init(JBossContextConfig.java:540) | at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:279) | at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5436) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4148) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy38.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Unknown Source) | Caused by: org.jboss.xb.binding.JBossXBException: Failed to create a new SAX parser | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:97) | at org.jboss.xb.binding.UnmarshallerImpl.(UnmarshallerImpl.java:56) | at org.jboss.xb.binding.UnmarshallerFactory$UnmarshallerFactoryImpl.newUnmarshaller(UnmarshallerFactory.java:96) | ... 73 more | Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration | at org.apache.xerces.parsers.SAXParser.(Unknown Source) | at org.apache.xerces.parsers.SAXParser.(Unknown Source) | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.(Unknown Source) | at org.apache.xerces.jaxp.SAXParserImpl.(Unknown Source) | at org.apache.xerces.jaxp.SAXParserFactoryImpl.newSAXParser(Unknown Source) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.(SaxJBossXBParser.java:92) | ... 75 more | 11:49:28,967 ERROR [ContextConfig] Marking this application unavailable due to previous error(s) | 11:49:28,983 ERROR [StandardContext] Context [/les] startup failed due to previous errors | 11:49:28,983 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/les state=Create mode=Manual requiredState=Installed | org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/tmp/5c4oa49-qzah2p-g18u8ci9-1-g18u9erv-lg/les.war/ deployment failed | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:331) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy38.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Unknown Source) | 11:49:30,951 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/les.war/ state=PreReal mode=Manual requiredState=Real | org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/tmp/5c4oa49-qzah2p-g18u8ci9-1-g18u9erv-lg/les.war/ deployment failed | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:331) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy38.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Unknown Source) | 11:49:31,186 INFO [TomcatDeployment] deploy, ctxPath=/web.xml | 11:49:31,201 ERROR [StandardContext] Error starting static Resources | java.lang.IllegalArgumentException: Document base C:\jboss-5.1.0.GA\server\default\deploy\les\WEB-INF\web.xml does not exist or is not a readable directory | at org.apache.naming.resources.FileDirContext.setDocBase(FileDirContext.java:148) | at org.apache.catalina.core.StandardContext.resourcesStart(StandardContext.java:4021) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4188) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:310) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy38.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Unknown Source) | 11:49:31,201 ERROR [StandardContext] Error in resourceStart() | 11:49:31,201 ERROR [StandardContext] Context [/web.xml] startup failed due to previous errors | 11:49:31,201 INFO [StandardContext] Container org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/web.xml] has not been started | 11:49:31,201 ERROR [AbstractKernelController] Error installing to Start: name=jboss.web.deployment:war=/web.xml state=Create mode=Manual requiredState=Installed | org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/les/WEB-INF/web.xml deployment failed | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:331) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy38.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Unknown Source) | 11:49:31,217 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/les/WEB-INF/web.xml state=PreReal mode=Manual requiredState=Real | org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/les/WEB-INF/web.xml deployment failed | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeployment.java:331) | at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.java:142) | at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:461) | at org.jboss.web.deployers.WebModule.startModule(WebModule.java:118) | at org.jboss.web.deployers.WebModule.start(WebModule.java:97) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy38.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:163) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:99) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Unknown Source) | 11:49:32,217 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): | | DEPLOYMENTS IN ERROR: | Deployment "vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/les/WEB-INF/classes/applicationContext-hibernate.xml" is in error due to the following reason(s): org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 45:3 The markup in the document preceding the root element must be well-formed. | Deployment "vfszip:/C:/jboss-5.1.0.GA/server/default/deploy/les.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/tmp/5c4oa49-qzah2p-g18u8ci9-1-g18u9erv-lg/les.war/ deployment failed | Deployment "vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/les/WEB-INF/web.xml" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/jboss-5.1.0.GA/server/default/deploy/les/WEB-INF/web.xml deployment failed | | 11:49:32,217 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 | 11:49:32,264 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 | 11:49:32,280 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221053)] Started in 57s:359ms | | | Thanks in advance Maruthi pramod Sura View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262087#4262087 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262087 From do-not-reply at jboss.com Mon Oct 26 02:45:50 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 26 Oct 2009 02:45:50 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Unable to deploy app in jboss 5 developed in struts2 and Message-ID: <8514505.1256539550300.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : Caused by: java.lang.ClassCastException: org.apache.xerces.parsers.XML11Configuration cannot be cast | to org.apache.xerces.xni.parser.XMLParserConfiguration | See http://www.jboss.org/community/wiki/WhydoigetjavalangClassCastExceptionorgapachexercesparsersXIncludeAwareParserConfigurationinAS-5 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262088#4262088 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262088 From do-not-reply at jboss.com Mon Oct 26 02:53:44 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Mon, 26 Oct 2009 02:53:44 -0400 (EDT) Subject: [jboss-user] [Security] - Re: ejb not validating user role at session bean methods + J Message-ID: <24460969.1256540024465.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> That works great.... Thanks Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262089#4262089 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262089 From do-not-reply at jboss.com Mon Oct 26 03:05:32 2009 From: do-not-reply at jboss.com (roman.mandeleil@gmail.com) Date: Mon, 26 Oct 2009 03:05:32 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Connection pool for ClusteredConnectionFactory, how to ? Message-ID: <570663.1256540732742.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "gaohoward" wrote : | Q1: | JBM doesn't provide connection pooling. You need to pool the connection yourself or using some 3rd party lib (if any). | | Q2: | Because JBM doesn't pool connections, so there is no place for such configurations. | | Howard | Thanks, I think I can implement this with stateless bean which will keep the connection, and will reload it if it is down. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262090#4262090 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262090 From do-not-reply at jboss.com Mon Oct 26 03:08:26 2009 From: do-not-reply at jboss.com (timfox) Date: Mon, 26 Oct 2009 03:08:26 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Connection pool for ClusteredConnectionFactory, how to ? Message-ID: <5180875.1256540906317.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If you're using a stateless session bean that means you're running on a server so you can just use JCA pooling. There are various wiki pages on this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262091#4262091 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262091 From do-not-reply at jboss.com Mon Oct 26 03:20:36 2009 From: do-not-reply at jboss.com (funkymac) Date: Mon, 26 Oct 2009 03:20:36 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - JBPM / Spring - issue persisting data within thread Message-ID: <26015210.1256541636738.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Problem We use a thread pool to start workflows so that we do not block our process that kicks off the workflow (FixedThreadPool). Problem is that data being persisted within the actual workflow java task is not being seen outside of the thread that executes the workflow. The workflow java task is a spring bean that has our DAO injected and the DAO is injected with the SessionFactory. If we do not use a thread pool (just start workflow from same thread and block) then everything works fine. FYI, I have tried using current="true" with spring-transaction-interceptor (not using job executor) but I get the error - No existing transaction found for transaction marked with propagation 'mandatory'. I've also tried using job executor along with continue="async" in workflow java task instead of using my own thread pool but this produces a NULL pointer exception in org.jbpm.pvm.internal.jobexecutor.JobExecutorMessageSession.send (looked at source and looks like transaction is null for call to transaction.registerSynchronization()). I've have spent a good number of hours sifting through the forum, documentation, and source code along with trying various things but have yet to resolve this problem. Configuration details below. Any help is greatly appreciated! Environment JBPM 4.1, Hibernate 3.3.1, Spring 2.5.6, HSQLDB Test Case extending AbstractTransactionalDataSourceSpringContextTests JPDL (partial) | | | | | | SPRING CONFIG (partial) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | create-drop | false | org.hibernate.dialect.HSQLDialect | thread | | | | | classpath:hibernate.cfg.xml | | | | | classpath:jbpm.execution.hbm.xml | classpath:jbpm.repository.hbm.xml | classpath:jbpm.task.hbm.xml | classpath:jbpm.history.hbm.xml | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | JBPM CONFIG (complete) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262092#4262092 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262092 From do-not-reply at jboss.com Mon Oct 26 03:36:45 2009 From: do-not-reply at jboss.com (roman.mandeleil@gmail.com) Date: Mon, 26 Oct 2009 03:36:45 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Connection pool for ClusteredConnectionFactory, how to ? Message-ID: <21439041.1256542605287.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "timfox" wrote : If you're using a stateless session bean that means you're running on a server so you can just use JCA pooling. | | There are various wiki pages on this. You mean: to pool JMS stub with JCA it interesting , have you tried it ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262095#4262095 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262095 From do-not-reply at jboss.com Mon Oct 26 03:53:22 2009 From: do-not-reply at jboss.com (timfox) Date: Mon, 26 Oct 2009 03:53:22 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Connection pool for ClusteredConnectionFactory, how to ? Message-ID: <31146352.1256543602629.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> This is actually mandated by the JEE spec. Any JMS connections you create from a SLSB must be created (and pooled) by a JCA managed connection factory. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262097#4262097 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262097 From do-not-reply at jboss.com Mon Oct 26 03:53:49 2009 From: do-not-reply at jboss.com (bershath27) Date: Mon, 26 Oct 2009 03:53:49 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Connection pool for ClusteredConnectionFactory, how to ? Message-ID: <33008836.1256543629682.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "roman.mandeleil at gmail.com" wrote : "timfox" wrote : If you're using a stateless session bean that means you're running on a server so you can just use JCA pooling. | | | | There are various wiki pages on this. | | | You mean: to pool JMS stub with JCA it interesting , have you tried it ? Tim is referring to the JMS session pool. In other words, obtaining connections from the factory bound at java:/JmsXA. Like Tim has clearly stated,there are n+1 examples + wiki's on the web..forum references etc etc View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262098#4262098 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262098 From do-not-reply at jboss.com Mon Oct 26 03:54:31 2009 From: do-not-reply at jboss.com (timfox) Date: Mon, 26 Oct 2009 03:54:31 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Connection pool for ClusteredConnectionFactory, how to ? Message-ID: <8494427.1256543671362.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> http://www.jboss.org/community/wiki/ShouldIcacheJMSconnectionsandJMSsessions View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262099#4262099 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262099 From do-not-reply at jboss.com Mon Oct 26 04:23:12 2009 From: do-not-reply at jboss.com (camunda) Date: Mon, 26 Oct 2009 04:23:12 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Does the jBPM deployer works? Message-ID: <6508436.1256545392386.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If he want to deploy bar files, he is talking about jbpm 4. The deployer works, but not yet how it should in the end (the lifecycle is not yet clear). It is marked as experimental at the moment. Better deploy via Ant for the moment... Cheers Bernd View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262102#4262102 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262102 From do-not-reply at jboss.com Mon Oct 26 04:26:06 2009 From: do-not-reply at jboss.com (nesyarug) Date: Mon, 26 Oct 2009 04:26:06 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - AS 5.1.0.GA fails to parse Spring schemas, on AS 4.2.3.GA al Message-ID: <17185677.1256545566423.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I'm trying to migrate my Spring-based webapp from JBoss AS 4.2.3.GA to JBoss AS 5.1.0.GA. I'm running into the following on startup: Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to parse schema for nsURI=http://www.springframework.org/schema/context, baseURI=null, schemaLocation=null Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to parse schema for nsURI=http://www.springframework.org/schema/context, baseURI=null, schemaLocation=null Caused by: org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 1:55 White spaces are required between publicId and systemId. Would anyone here know why? This is the header of for example applicationContext.xml: | Many thanks for your support, Nes View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262103#4262103 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262103 From do-not-reply at jboss.com Mon Oct 26 04:45:52 2009 From: do-not-reply at jboss.com (chrismm) Date: Mon, 26 Oct 2009 04:45:52 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.2.2 Deployment/class loader problem Message-ID: <21204685.1256546752132.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> For various reasons each EJB is in its own jar file, all the jar files are in the ear file in the deploy directory. Strange thing is it dosnt always happen. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262105#4262105 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262105 From do-not-reply at jboss.com Mon Oct 26 04:49:46 2009 From: do-not-reply at jboss.com (maruthi.sura) Date: Mon, 26 Oct 2009 04:49:46 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - unable to deploy app in jboss 5 Message-ID: <17669838.1256546986590.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi All, when am trying to deploy the spring app in jboss 5 .i am getting the following error.Please any body help me in resolve this issue | | 14:08:16,584 ERROR [AbstractKernelController] Error installing to Parse: name=vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/les/WEB-INF/classes/applicationContext-hibernate.xml state=Not Installed mode=Manual requiredState=Parse | org.jboss.deployers.spi.DeploymentException: Error creating managed object for vfsfile:/C:/jboss-5.1.0.GA/server/default/deploy/les/WEB-INF/classes/applicationContext-hibernate.xml | at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:362) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:322) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:294) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.deploy(AbstractParsingDeployerWithOutput.java:234) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Unknown Source) | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to parse schema for nsURI=, baseURI=null, schemaLocation=http://www.springframework.org/dtd/spring-beans.dtd | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203) | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168) | at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:189) | at org.jboss.xb.util.JBossXBHelper.parse(JBossXBHelper.java:166) | at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:137) | at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:121) | at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256) | at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:239) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:355) | ... 33 more | Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to parse schema for nsURI=, baseURI=null, schemaLocation=http://www.springframework.org/dtd/spring-beans.dtd | at org.jboss.xb.binding.resolver.AbstractMutableSchemaResolver.resolve(AbstractMutableSchemaResolver.java:293) | at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:274) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401) | at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) | at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source) | at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source) | at org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source) | at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) | at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199) | ... 41 more | Caused by: org.jboss.xb.binding.JBossXBRuntimeException: -1:-1 45:3 The markup in the document preceding the root element must be well-formed. | at org.jboss.xb.binding.sunday.unmarshalling.XsdBinderTerminatingErrorHandler.handleError(XsdBinderTerminatingErrorHandler.java:40) | at org.apache.xerces.impl.xs.XMLSchemaLoader.reportDOMFatalError(Unknown Source) | at org.apache.xerces.impl.xs.XSLoaderImpl.load(Unknown Source) | at org.jboss.xb.binding.Util.loadSchema(Util.java:395) | at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:176) | at org.jboss.xb.binding.sunday.unmarshalling.XsdBinder.bind(XsdBinder.java:147) | at org.jboss.xb.binding.resolver.AbstractMutableSchemaResolver.resolve(AbstractMutableSchemaResolver.java:285) | ... 57 more | | | Thanks in Advance Maruthi Pramod Sura View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262106#4262106 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262106 From do-not-reply at jboss.com Mon Oct 26 05:12:37 2009 From: do-not-reply at jboss.com (daniele.ulrich) Date: Mon, 26 Oct 2009 05:12:37 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Undeploying multiple wars inside an ear causes NameAlrea Message-ID: <32708428.1256548357787.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "jaikiran" wrote : If it's possible, could you please attach the application which reproduces this issue, to that JIRA? Sorry, this is not possible because there are a) too many dependencies and b) I am not allowed to post code of the enterprise I'm working for. It is exactly the same behaviour like described in https://jira.jboss.org/jira/browse/JBAS-7092, the first *.war gets deployed but on deploying the second ".war the exception occurs and the deployment of the following components stops. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262108#4262108 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262108 From do-not-reply at jboss.com Mon Oct 26 05:16:42 2009 From: do-not-reply at jboss.com (sarish) Date: Mon, 26 Oct 2009 05:16:42 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - JBPM process timers in Multi Server deployment -3.2.6 Message-ID: <8533788.1256548602390.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Excuse me for the post, but have done enough searches and dont find info regarding this. Help needed!! I am hitting some issues related to using EJB Timer service for deployment, i have used Out of the box config recommended for enterprise deployment. First the details of Deployment 1. 3 jboss 5.1.0 servers hitting the same database 2. Using JBPM 3.2.6SP1 3. Oracle is database. 4. Using Database persisted timers(ejb2 timers), in the same database table TIMERS on all servers, below is the jbpm.cfg.xml | | | | | | | | | | | | | | | | | | | EJB timer configuration is standard with database persistence JNDI name changed to Oracle database. Issues/Observations 1. I see no issues with async continuations(have 2-3 such async exclusive nodes in my process definition) 2. But for timers, a) Every once in a while these errors show up in server console,I see that this stack is present in more than one servers (which shows the timer fired on more than one server). b) On server startup StaleObject Exception related to timer save are seen in plenty.Note only one server is started and stopped at a time. I definitely feel that something is wrong with the way it is deployed, as when i looked into EJBTimerService code and i see that on server startup all timers persisted are deleted and reinserted. At this point if some other server already had a timer assigned(it is a thread based implementation), that timer would continue to run and another one would be started on server just restarted as well. And when time comes to fire, both servers would fire the timer. This would result in staleobject exception and hence certainly cause a problem. Sorry if my post was not clear, as i have avoided lot of details so that the post is readable. I can provide more info as required. But please recommend if something can be done for this. Also it can be treated as more of a problem with EJBTimerService, but again i am looking at ways in which i can make JBPM timers work in multi server environment. I can not use local database hsql, as that is not allowed in production enviroment. Worst case i am thinking of implementing a SingleServerPersistencePlugin for timers, and add an additional column with the server owner name, so that restoreTimers is clearly separated from all other servers. There is a definite problem with failover in such implementation but better get something working then nothing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262109#4262109 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262109 From do-not-reply at jboss.com Mon Oct 26 05:27:27 2009 From: do-not-reply at jboss.com (babazs) Date: Mon, 26 Oct 2009 05:27:27 -0400 (EDT) Subject: [jboss-user] [Clustering] - mod_cluster + 503 Service Temporarily Unavailable error Message-ID: <27885581.1256549247336.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi I use the latest mod_cluster(1.0.2 GA) with JBoss 5.1.0.GA server(all) clustered mod_cluster configuration. My testing envirnoment is: I created a loopback network interface for testing and added 3 ip addresses on Vista. 1:192.168.1.101:http load balancer 2:192.168.1.102:jboss node1 3:192.168.1.103:jboss node2 I get 503 Service Temporarily Unavailable error by the following cases, and I must wait about 30-60 sec to the httpd begin to route the request to the nodes. 1.when all jboss nodes started and the ear deploy process is finished.(I rarely get 503 error if I delete temp/works directories) 2.sometimes when either node is killed 3.when I killed a node, and try to restart the killed node. after ~30-60sec it begin to work all cases. Do you hava any idea? thx. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262110#4262110 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262110 From do-not-reply at jboss.com Mon Oct 26 05:31:21 2009 From: do-not-reply at jboss.com (babazs) Date: Mon, 26 Oct 2009 05:31:21 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: mod_cluster + 503 Service Temporarily Unavailable error Message-ID: <22600583.1256549481692.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I use AJP, and when I killed a node(stop vm or ctrl+c), appear that the cluster is changed correctly in the log, then the 503 error is occurred. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262111#4262111 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262111 From do-not-reply at jboss.com Mon Oct 26 05:39:57 2009 From: do-not-reply at jboss.com (babazs) Date: Mon, 26 Oct 2009 05:39:57 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: All TCP connections are in CLOSE_WAIT State ... Message-ID: <26775615.1256549997968.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hy! I use mode_cluster and I got the same error. What was the solution for this issue? thx. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262113#4262113 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262113 From do-not-reply at jboss.com Mon Oct 26 05:43:00 2009 From: do-not-reply at jboss.com (babazs) Date: Mon, 26 Oct 2009 05:43:00 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: mod_cluster + 503 Service Temporarily Unavailable error Message-ID: <2200217.1256550180194.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> At the first case(start nodes) my log httpd error_log is contains the next lines: | [Mon Oct 26 10:36:24 2009] [notice] Advertise initialized for process 5200 | [Mon Oct 26 10:36:24 2009] [notice] Apache/2.2.13 (Win32) configured -- resuming normal operations | [Mon Oct 26 10:36:24 2009] [notice] Server built: Aug 20 2009 04:34:10 | [Mon Oct 26 10:36:24 2009] [notice] Parent: Created child process 3728 | [Mon Oct 26 10:36:24 2009] [notice] Child 3728: Child process is running | [Mon Oct 26 10:36:24 2009] [notice] Child 3728: Acquired the start mutex. | [Mon Oct 26 10:36:24 2009] [notice] Child 3728: Starting 64 worker threads. | [Mon Oct 26 10:36:24 2009] [notice] Child 3728: Starting thread to listen on port 8080. | [Mon Oct 26 10:38:18 2009] [error] ajp_cping_cpong: apr_socket_recv failed | [Mon Oct 26 10:38:39 2009] [error] ajp_cping_cpong: apr_socket_recv failed | [Mon Oct 26 10:38:49 2009] [error] ajp_cping_cpong: apr_socket_recv failed | [Mon Oct 26 10:39:10 2009] [error] ajp_cping_cpong: apr_socket_recv failed | [Mon Oct 26 10:40:22 2009] [error] proxy: dialog to 192.168.1.140:8009 (192.168.1.140) failed | [Mon Oct 26 10:40:22 2009] [error] proxy: dialog to 192.168.1.141:8009 (192.168.1.141) failed | [Mon Oct 26 10:40:23 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:40:23 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:40:23 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:40:24 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:40:24 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:40:29 2009] [error] proxy: ajp: disabled connection for (192.168.1.140) | [Mon Oct 26 10:40:29 2009] [error] proxy: ajp: disabled connection for (192.168.1.141) | [Mon Oct 26 10:40:39 2009] [error] proxy: ajp: disabled connection for (192.168.1.140) | [Mon Oct 26 10:40:39 2009] [error] proxy: ajp: disabled connection for (192.168.1.141) | [Mon Oct 26 10:40:46 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:40:47 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:40:49 2009] [error] proxy: ajp: disabled connection for (192.168.1.140) | [Mon Oct 26 10:40:49 2009] [error] proxy: ajp: disabled connection for (192.168.1.141) | [Mon Oct 26 10:40:56 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:40:56 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:40:57 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:40:57 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:40:59 2009] [error] proxy: ajp: disabled connection for (192.168.1.140) | [Mon Oct 26 10:40:59 2009] [error] proxy: ajp: disabled connection for (192.168.1.141) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262115#4262115 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262115 From do-not-reply at jboss.com Mon Oct 26 05:50:53 2009 From: do-not-reply at jboss.com (babazs) Date: Mon, 26 Oct 2009 05:50:53 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: mod_cluster + 503 Service Temporarily Unavailable error Message-ID: <16740335.1256550653926.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Second case(kill then restart node): [Mon Oct 26 10:44:09 2009] [error] proxy: ajp: disabled connection for (192.168.1.140) | [Mon Oct 26 10:44:19 2009] [error] proxy: ajp: disabled connection for (192.168.1.140) | [Mon Oct 26 10:44:29 2009] [error] proxy: ajp: disabled connection for (192.168.1.140) | [Mon Oct 26 10:44:39 2009] [error] proxy: ajp: disabled connection for (192.168.1.140) | [Mon Oct 26 10:44:49 2009] [error] proxy: ajp: disabled connection for (192.168.1.140) | [Mon Oct 26 10:44:59 2009] [error] proxy: ajp: disabled connection for (192.168.1.140) | [Mon Oct 26 10:47:11 2009] [error] ajp_cping_cpong: apr_socket_recv failed | [Mon Oct 26 10:47:31 2009] [error] ajp_cping_cpong: apr_socket_recv failed | [Mon Oct 26 10:48:19 2009] [error] [client 192.168.1.111] proxy: error processing body, referer: http://192.168.1.111:8080/dvc/inbox/write/message/cId/18 | [Mon Oct 26 10:48:19 2009] [error] proxy: dialog to 192.168.1.140:8009 (192.168.1.140) failed | [Mon Oct 26 10:48:22 2009] [error] proxy: dialog to 192.168.1.141:8009 (192.168.1.141) failed | [Mon Oct 26 10:48:22 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:27 2009] [error] proxy: ajp: disabled connection for (192.168.1.141) | [Mon Oct 26 10:48:37 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:37 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:37 2009] [error] proxy: ajp: disabled connection for (192.168.1.141) | [Mon Oct 26 10:48:38 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:38 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:38 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:38 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:39 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:39 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:40 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:40 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:40 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:40 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:41 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:41 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:47 2009] [error] proxy: ajp: disabled connection for (192.168.1.141) | [Mon Oct 26 10:48:57 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:57 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:57 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:48:57 2009] [error] proxy: ajp: disabled connection for (192.168.1.141) | [Mon Oct 26 10:48:57 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:02 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:02 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:03 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:03 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:03 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:07 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:07 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:07 2009] [error] proxy: ajp: disabled connection for (192.168.1.141) | [Mon Oct 26 10:49:07 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:08 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:08 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:08 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:12 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:12 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 10:49:12 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262116#4262116 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262116 From do-not-reply at jboss.com Mon Oct 26 07:22:05 2009 From: do-not-reply at jboss.com (ravikumar.palaparthi) Date: Mon, 26 Oct 2009 07:22:05 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: All TCP connections are in CLOSE_WAIT State ... Message-ID: <15051477.1256556125350.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi, we have a separate DB API to get the DB connection and to execute queries or procedure .. so in that API they are not closing ResultSet along with the connection. so thats the reason we got that ERROR CLOSE_WAIT .. As a fix i closed that ResultSet in Finally block .. thats it ... Thanks Ravi Kumar Palaparthi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262146#4262146 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262146 From do-not-reply at jboss.com Mon Oct 26 07:23:30 2009 From: do-not-reply at jboss.com (richard.opalka@jboss.com) Date: Mon, 26 Oct 2009 07:23:30 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: no access to wsdl Message-ID: <18953689.1256556210071.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> IMHO it will be related to JBWS-2699. Please upgrade to JBossAS 5x series and upgrade to JBossWS 3.2.0 (or JBossWS 3.2.1 comming out these days) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262147#4262147 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262147 From do-not-reply at jboss.com Mon Oct 26 07:34:38 2009 From: do-not-reply at jboss.com (quartelh) Date: Mon, 26 Oct 2009 07:34:38 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Generating JBossWS SOAP/JMS document literal using wsconsume Message-ID: <10085184.1256556878185.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, using wsconsume to generate the service works fine for SOAP/HTTP document/literal wsdls. However, I run into the problem that when I change the binding to use JMS the Service and interface classes are not generated. When I change from document to RPC style it works. I include the binding and service snippet of the WSDL. | | | | | | | | | | | | | | | | | | | | | | Is there anything I specified wrong that causes the problem? What should the transport definition be for JBossWS? Any help is greatly appreciated! Thanks in advance, Herbert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262149#4262149 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262149 From do-not-reply at jboss.com Mon Oct 26 08:04:24 2009 From: do-not-reply at jboss.com (mturner24) Date: Mon, 26 Oct 2009 08:04:24 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Jboss 5 - Required Trans Type Session Bean calling Not_Suppo Message-ID: <12059020.1256558664681.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi ! This used to work in Jboss 4.2.3, but now I migrated to jBoss 5.1.0 I have a Session Bean A with transaction type REQUIRED calling a method to another injected Session Bean B with NOT_SUPPORTED. In the method of session bean B, a checked exception (not runtime) is thrown. In session bean A, there's a catch to grab the checked exception. With jBoss 4.2.3: I'm able to catch the checked exception correctly. THE PROBLEM With jBoss 5.1.0: The checked exception is not directly thrown, it's a EJB Exception that is thrown (wrapping my checked exception) So is there anything i can do to prevent the container from wrapping my checked exception with an EJBException ? Thanks Max View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262156#4262156 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262156 From do-not-reply at jboss.com Mon Oct 26 08:16:20 2009 From: do-not-reply at jboss.com (elsy) Date: Mon, 26 Oct 2009 08:16:20 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Web Services for low powered devices Message-ID: <4850881.1256559380833.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all, i'm not sure were to post my question, but as I'm using JBOSS ws eventing right now, here it goes ... Somebody know if it is possible to use JBOSS web services on mobil low-powered devices , using for example Linux as operating system? Is there any movement from JBOSS to this kind of devices? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262162#4262162 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262162 From do-not-reply at jboss.com Mon Oct 26 08:19:29 2009 From: do-not-reply at jboss.com (DeanoUK) Date: Mon, 26 Oct 2009 08:19:29 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Login: Incorrect username doesn't produce error message Message-ID: <26755513.1256559569876.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> When logging in, an incorrect password will produce a login.jsp error message. However, when we use an incorrect username, no error message is produced - JBoss Portal doesn't seem to forward to the login error page as defined in the web.xml In any ideas as to why this is the case? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262164#4262164 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262164 From do-not-reply at jboss.com Mon Oct 26 08:23:54 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Mon, 26 Oct 2009 08:23:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls Message-ID: <13888760.1256559834496.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello again! >From the documentation about java activities: | | | | | | | | | | | | | | | | | | | | | | | | | | anonymous wrote : | For the java task you can pass arguments and use expressions for the value of the arguments. These can afaik be process variable names as well, so that solves one problem. The varying number of arguments is afaik dealt with by jBPM since it uses reflection to find the correct method signature. Not 100% completely sure though. | How exactly can I address process instance variables to use them as arguments for method calls? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262166#4262166 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262166 From do-not-reply at jboss.com Mon Oct 26 08:43:00 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 26 Oct 2009 08:43:00 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Jboss 5 - Required Trans Type Session Bean calling Not_S Message-ID: <9504452.1256560980301.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Mark the user exception as @ApplicationException http://java.sun.com/products/ejb/javadoc-3_0-fr/javax/ejb/ApplicationException.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262167#4262167 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262167 From do-not-reply at jboss.com Mon Oct 26 09:00:54 2009 From: do-not-reply at jboss.com (pradeep.gulla) Date: Mon, 26 Oct 2009 09:00:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Conditional Task Assignment with Fork Message-ID: <28261694.1256562054741.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Plzzzzzzzzz reply [/img] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262172#4262172 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262172 From do-not-reply at jboss.com Mon Oct 26 09:02:33 2009 From: do-not-reply at jboss.com (rasa) Date: Mon, 26 Oct 2009 09:02:33 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss web console error Message-ID: <26542080.1256562153976.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "rasa" wrote : "jaikiran" wrote : Is this a clean installation or have you done any changes and/or deployed any of your applications? Try it on a clean installation without any changes. | | | | No I have deployed my application. One thing i needed to ask is in jbss.web deployer there is no servlet api and jsp-api jar files. When i copied those files it is started working now. Let me check once again. clean installation is working fine. But with application everything working fine with the old release. ie in 3.2.5. even AS is not able to find the classes from the ear which is deployed in the deploy directory | | java.lang.ClassNotFoundException: No ClassLoaders found for: com.apps.web.module.transaction.TicketReservationAction | 18:10:02,786 ERROR [STDERR] at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | 18:10:02,786 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521) | 18:10:02,786 ERROR [STDERR] at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415) | 18:10:02,786 ERROR [STDERR] at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | 18:10:02,786 ERROR [STDERR] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | 18:10:02,786 ERROR [STDERR] at java.lang.Class.forName0(Native Method) | 18:10:02,786 ERROR [STDERR] at java.lang.Class.forName(Class.java:164) | | I guess something i missed ??? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262173#4262173 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262173 From do-not-reply at jboss.com Mon Oct 26 09:22:51 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Mon, 26 Oct 2009 09:22:51 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: SessionBean and the case of RESTRICTIONS for entitquery Message-ID: <30140720.1256563371625.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, better post this in the SEAM forum: http://www.seamframework.org/Community/Forums Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262178#4262178 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262178 From do-not-reply at jboss.com Mon Oct 26 09:26:52 2009 From: do-not-reply at jboss.com (quicksilver) Date: Mon, 26 Oct 2009 09:26:52 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - JBoss Cache - For Replication, Do i need objects in classpat Message-ID: <4569082.1256563612198.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have JBoss 3.2.1 running under Weblogic 10.3. I noticed that my async replication was not working the other day, so i switched to sync.. I've noticed is that i get some sort of JGroups ClassNotFound error when the replication is occurring from one server to the other. It will mention the classname it is trying to transfer, and say that it could not find it. The way i solved it was by including my-product-lib.jar on the classpath so that JGroups could see it. Thing is, this causes other issues, because i am including it on the server classpath, so Weblogic now has 2 copies of the objects. One in my-product-lib.jar and the other in my-product.ear. What is the correct way to configure replication so that the Objects are visible to JGroups/JBoss Cache, but not taking over the rightful place of the objects from my EAR file? Thanks in advance for any help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262179#4262179 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262179 From do-not-reply at jboss.com Mon Oct 26 09:35:40 2009 From: do-not-reply at jboss.com (Sintetik7) Date: Mon, 26 Oct 2009 09:35:40 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - WebServiceContext injected field corrupted under heavy load Message-ID: <21660551.1256564140887.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have a webservice implemented as follows: | public class SSSServiceProvider implements Provider { | | @Resource(type = Object.class) | protected WebServiceContext wsContext; | | public Source invoke(Source req) { | MessageContext mc = wsContext.getMessageContext(); | String path = ((String) mc.get(MessageContext.PATH_INFO)); | .... | I'm using wsContext for the sole purpose to access a path, since my wsdl is just doc/literal (not wrapped). This code worked ok at JBoss 5.0.1 (and jbossws 3.1.0), at least i didn't notice any problems with extracted "path". Recently, we moved to JBoss 5.1.0 (jbossws 3.1.2) and problems started to appear. Under some load (~20 000 requests / day) service started to mess up injected wsContext. Some 10-100 requests per day got wrong "path", looks like it comes from the adjacent request (<~1ms incoming time). What i did then is I upgraded jbossws to 3.2.0, released recently. At first i didn't notice any errors. After a few days I decided to move other service (heavy loaded) to JBoss 5.1 + JBossws 3.2.0 as well. "Heavy-loaded" service consumes some ~1 000 000 requests / day and the same error happens now 100-300 times a day. Btw, later I found that 1st service (under ~20 000) generates the same errors as well, but at a much less rate - ~5/week. Both services are implemented virtually identically. Is it possible that next request corrupts injected wsContext object before I finish reading it??? It looks like this because as far as I see from logs it gets corrupted only if two messages are _really close_ (<~1ms). The question is - how do I get path reliably? PS. In last changelogs I see some bugfixes with resources injection, so I guess I've encountered some kind of new behaviour. PPS. I've reported the problem before (testing the same services) that might be related somehow https://jira.jboss.org/jira/browse/JBWS-2662 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262181#4262181 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262181 From do-not-reply at jboss.com Mon Oct 26 09:43:57 2009 From: do-not-reply at jboss.com (mturner24) Date: Mon, 26 Oct 2009 09:43:57 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Jboss 5 - Required Trans Type Session Bean calling Not_S Message-ID: <5125552.1256564637331.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you, That solved the problem ! Note: I had to set this Annotation on the specific exception, setting it on an ancestor did not work, which is good in a way for when I'll want to have a different behavior on a sub-exception. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262182#4262182 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262182 From do-not-reply at jboss.com Mon Oct 26 09:50:40 2009 From: do-not-reply at jboss.com (jbosspnet) Date: Mon, 26 Oct 2009 09:50:40 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Action associated with timer is not invoked Message-ID: <28749133.1256565040692.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am using Jbpm 3.2.3 on Jboss 4.2.3.GA. I have the following simple process: | | | | | | | | | | | | | | | | | | | | | | | The idea is that I perform a check in TimerHandler every 2 seconds, then I set some variable that MyDecisionHandler will use to take "OK" or "KO" transition. I have deployed the process archive with the two classes (TimerHandler and MyDecisionHandler) and then I use jbpm console to signal process. When I enter to "state" state and I click signal, the class action associated to the timer (sample.TimerHandler) will never be called. Why? I have to do other things to creater timer or is a configuration problem in jbpm.cfg.xml? I have added the entry: and jbpm-enterprise.jar is deployed in Jboss. Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262183#4262183 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262183 From do-not-reply at jboss.com Mon Oct 26 10:01:33 2009 From: do-not-reply at jboss.com (daziplqa) Date: Mon, 26 Oct 2009 10:01:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Evn enty resources inheritance Message-ID: <12715058.1256565693304.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have bean B1 that uses env entry env1, when I extends the bean B1 with bean B2 and tried to use the value of the evn entry evn1, it returns null. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262186#4262186 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262186 From do-not-reply at jboss.com Mon Oct 26 10:02:19 2009 From: do-not-reply at jboss.com (lbrewster) Date: Mon, 26 Oct 2009 10:02:19 -0400 (EDT) Subject: [jboss-user] [Spring Integration] - Re: Help/instructions for installing and using JBoss Spring Message-ID: <24928257.1256565739493.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Marius, Thanks very much for the quick response. I'll work with the info you provided and hopefully that will get me going. I'll let you know what happens. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262187#4262187 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262187 From do-not-reply at jboss.com Mon Oct 26 10:21:28 2009 From: do-not-reply at jboss.com (Krohm) Date: Mon, 26 Oct 2009 10:21:28 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Action associated with timer is not invoked Message-ID: <24001429.1256566888605.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi. Had a similar problem, the solution was to add the business calandar and set it properly. (apparently required by the jobexecutor to determine durations) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262191#4262191 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262191 From do-not-reply at jboss.com Mon Oct 26 10:22:46 2009 From: do-not-reply at jboss.com (Krohm) Date: Mon, 26 Oct 2009 10:22:46 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Action associated with timer is not invoked Message-ID: <13774181.1256566966136.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262193#4262193 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262193 From do-not-reply at jboss.com Mon Oct 26 10:26:33 2009 From: do-not-reply at jboss.com (markroy) Date: Mon, 26 Oct 2009 10:26:33 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Capturing process creator in jBPM 4 Message-ID: <20832714.1256567193790.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In my process definition, how can I capture the identity of the process instance creator? Apparently, in JBPM 3, you could configure a swimlane for the start task. However, it seems that you cannot do that in JBPM 4. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262195#4262195 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262195 From do-not-reply at jboss.com Mon Oct 26 10:27:14 2009 From: do-not-reply at jboss.com (PeterJ) Date: Mon, 26 Oct 2009 10:27:14 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deployment related Issue Message-ID: <31593026.1256567234022.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Looks like you are missing the queue to which the MDB will listen. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262196#4262196 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262196 From do-not-reply at jboss.com Mon Oct 26 10:43:22 2009 From: do-not-reply at jboss.com (chacs) Date: Mon, 26 Oct 2009 10:43:22 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - 1.4.x Topic Subscriber and TTL'ed Messages Message-ID: <16361706.1256568202031.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, JBoss Messaging version 1.4.x We have a JMS Topic where we post messages with TTL of (say) 2 weeks. Our clients create durable subscriptions to the topic. After creating the durable subscription, the client may return to consume the messages later (may be daily, weekly, monthly, etc). Since the clients are not always online, message consumption is by TopicSubscriber.receive() function (NOT by message listeners) The issue we encounter is when a subscription has many expired (TTL'ed) messages. JBoss Messaging only gets rid of expired messages "on-the-fly" when the TopicSubscriber.receive() is called. It can take non-trival minutes to get to the first non-expired message if the subscription contains many expired messages. We currently uses TopicSubscriber.receive(5000), which means if JBoss Messaging cannot get to the 1st non-expired message within 5 seconds, it returns null (no message). To "worsen" the problem, message consumption is via a RPC-style facade function and will most likely timed out. Is there anyway to configure JBoss Messaging to delete expired message actively via perhaps some kind of cron job? Or any other suggestions? Thank you. p.s. The topic is deployed in a cluster. We have thought of using a nightly cron job to receive() using CLIENT_ACKNOWLEDGE and rollback to get rid of the expired messages... but we cannot find a way to reliably get to the specific connection managers of each node within the cluster. (i.e. we may get the connection manager of cluster A even though we point the jndi url to cluster B.) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262200#4262200 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262200 From do-not-reply at jboss.com Mon Oct 26 10:58:17 2009 From: do-not-reply at jboss.com (babazs) Date: Mon, 26 Oct 2009 10:58:17 -0400 (EDT) Subject: [jboss-user] [Clustering] - Re: mod_cluster + 503 Service Temporarily Unavailable error Message-ID: <7776418.1256569097219.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> and the end of the log: [Mon Oct 26 15:55:45 2009] [error] (OS 10054)A l??tez?? kapcsolatot a t??voli ??llom??s k??nyszer??tetten bez??rta. : ajp_ilink_receive() can't receive header | [Mon Oct 26 15:55:45 2009] [error] ajp_read_header: ajp_ilink_receive failed | [Mon Oct 26 15:55:45 2009] [error] (120006)APR does not understand this error code: proxy: read response failed from 192.168.1.140:8009 (192.168.1.140) | [Mon Oct 26 15:55:45 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 15:55:47 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 15:55:48 2009] [error] proxy: ajp: disabled connection for (192.168.1.141) | [Mon Oct 26 15:55:49 2009] [error] proxy: CLUSTER: (balancer://mycluster). All workers are in error state | [Mon Oct 26 15:55:53 2009] [error] proxy: ajp: disabled connection for (192.168.1.141) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262204#4262204 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262204 From do-not-reply at jboss.com Mon Oct 26 11:14:07 2009 From: do-not-reply at jboss.com (mike_burton) Date: Mon, 26 Oct 2009 11:14:07 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM 4] - Process Definition Message-ID: <20116713.1256570047785.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi sebastian Thank you very much for the info. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262208#4262208 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262208 From do-not-reply at jboss.com Mon Oct 26 11:19:33 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Mon, 26 Oct 2009 11:19:33 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: unable to deploy app in jboss 5 Message-ID: <8144148.1256570373099.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, here is further information: http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214388 Seems the spring.dtd is non-well-formed. You might give the spring-beans.xsd a try: http://www.springframework.org/schema/beans/spring-beans.xsd Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262210#4262210 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262210 From do-not-reply at jboss.com Mon Oct 26 11:28:14 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Mon, 26 Oct 2009 11:28:14 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: AS 5.1.0.GA fails to parse Spring schemas, on AS 4.2.3.G Message-ID: <9417991.1256570894876.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, just some guessing... You might try to remove the newline and spaces between "xsi:schemaLocation="...." and the first id/schemalocation pair. If this does not work: try to specify the schema locations on the first element of each xsd, as seen here: http://lists.w3.org/Archives/Public/www-xml-schema-comments/2000JulSep/0235.html. Maybe the JBoss XML parser does not like multiple schema locations... Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262212#4262212 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262212 From do-not-reply at jboss.com Mon Oct 26 12:01:18 2009 From: do-not-reply at jboss.com (jbosspnet) Date: Mon, 26 Oct 2009 12:01:18 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Action associated with timer is not invoked Message-ID: <6837422.1256572878577.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for you reply. I also think that the problem is in configuration. Actually my jbpm.cfg.xml is | | | | | | | | | | | | | | | | | | | | | | As you see I have the entry: | Is it the same of as you have wrote? Otherwise, where can I find and define the resources "jbpm.jobexecutor.cfg.xml" and "jbpm.businesscalendar.cfg.xml" ? Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262217#4262217 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262217 From do-not-reply at jboss.com Mon Oct 26 12:13:06 2009 From: do-not-reply at jboss.com (pferraro) Date: Mon, 26 Oct 2009 12:13:06 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Optional depends? Message-ID: <28900030.1256573586705.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is there a way to express an optional dependency between beans? e.g. install bean A before bean B, but only if bean A exists. In psuedo-markup: | | B | | The "optional" aspect would be transparent if it were possible to describe the dependency within the guardian bean, instead of the dependent bean. e.g. In pseudo-markup: | | | A | The use case for this in the AS is mod_cluster, whose service bean must be installed before (and undeployed after) the WebServer bean. Normally, this would be expressed as jbossweb depends on mod_cluster, but jbossweb should not require mod_cluster. Thoughts? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262221#4262221 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262221 From do-not-reply at jboss.com Mon Oct 26 12:30:12 2009 From: do-not-reply at jboss.com (Alkero) Date: Mon, 26 Oct 2009 12:30:12 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - [JBPM 4.1] could not initialize proxy - no Session Message-ID: <24657014.1256574612923.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have a "could not initialize proxy" exception in a workflow when I try to get the process definition id from tasks which are between a fork and a join. The problem doesn't occur if I have not a split/join implementation. Process Definition: | | | | | | | | | | | | | | | | | | | | | Test case: package org.jbpm.examples.processdefinition.id; | | import java.util.List; | import org.jbpm.api.Execution; | import org.jbpm.api.ProcessInstance; | import org.jbpm.api.task.Task; | import org.jbpm.test.JbpmTestCase; | | /** | * @author David Loiseau | */ | | public class ProcessDefinitionIdTest extends JbpmTestCase { | | | String deploymentId; | | protected void setUp() throws Exception { | super.setUp(); | | deploymentId = repositoryService.createDeployment() | .addResourceFromClasspath("org/jbpm/examples/processdefinition/id/process.jpdl.xml") | .deploy(); | } | | public void testFindProcessDefinitionIdFromExecution(){ | String actorName = "test"; | ProcessInstance processInstance = executionService.startProcessInstanceByKey("id"); | List tasks = taskService.findPersonalTasks(actorName); | for(Task task : tasks){ | Execution execution = processEngine.getExecutionService().findExecutionById(task.getExecutionId()); | String processDefinitionId = execution.getProcessInstance().getProcessDefinitionId(); | assertNotNull(processDefinitionId); | } | } | | protected void tearDown() throws Exception { | repositoryService.deleteDeploymentCascade(deploymentId); | | super.tearDown(); | } | | | } | Exception: ### EXCEPTION ########################################### | 17:26:39,203 SEV | [BaseJbpmTestCase] TEST THROWS EXCEPTION: could not initialize proxy - no Session | org.hibernate.LazyInitializationException: could not initialize proxy - no Session | at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:86) | at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140) | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190) | at org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_4.getProcessDefinitionId(ExecutionImpl_$$_javassist_4.java) | at org.jbpm.examples.processdefinition.id.ProcessDefinitionIdTest.testFindProcessDefinitionIdFromExecution(ProcessDefinitionIdTest.java:32) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at junit.framework.TestCase.runTest(TestCase.java:164) | at org.jbpm.test.BaseJbpmTestCase.runTest(BaseJbpmTestCase.java:80) | at junit.framework.TestCase.runBare(TestCase.java:130) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:120) | at junit.framework.TestSuite.runTest(TestSuite.java:230) | at junit.framework.TestSuite.run(TestSuite.java:225) | at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:79) | at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46) | at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) | at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) | ### EXCEPTION ###########################################anonymous wrote : View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262224#4262224 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262224 From do-not-reply at jboss.com Mon Oct 26 12:45:06 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Mon, 26 Oct 2009 12:45:06 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Re: EAR being deployed over and over again?! Message-ID: <1942546.1256575506591.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, you should ask this in the JBoss AS Users forum: http://www.jboss.org/index.html?module=bb&op=viewforum&f=287, as this forum is only for Microcontainer users. Do you have Seam in your app? I remember having read about some issues like this with Seam. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262230#4262230 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262230 From do-not-reply at jboss.com Mon Oct 26 12:52:03 2009 From: do-not-reply at jboss.com (adam.laczynski) Date: Mon, 26 Oct 2009 12:52:03 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - JBoss cache / WebLogic: problem with suspend/resume transact Message-ID: <5285568.1256575923265.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I used JBoss Cache with WebLogic. I noticed that org.jboss.cache.interceptors.InvocationContextInterceptor suspend/resume xa transaction. It causes problem on WebLogic when iteration thought ResultSet is not finished. I posted it on oracle forum but without any solution (http://forums.oracle.com/forums/thread.jspa?threadID=975115). I have two questions: 1) Why JBoss Cache suspend/resume transaction? Could it be disabled? 2) Do anybody have similar problem? How it was solved? My environment - JBoss Cache (3.1.0.GA) - WebLogic 10.0.2.0 - Oracle thin driver 10.2.0.2.0 Best regards[/url] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262231#4262231 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262231 From do-not-reply at jboss.com Mon Oct 26 13:10:11 2009 From: do-not-reply at jboss.com (ljnelson) Date: Mon, 26 Oct 2009 13:10:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - @EJB: can it be used to look up a remote bean on another ser Message-ID: <10990308.1256577011384.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> My colleague asked me whether it's possible somehow to deploy a .war file, containing a servlet with an @EJB reference to a stateless session bean, on JBoss server A, and an ejb .jar file, containing the bean so referenced, on JBoss server B. My immediate answer was no, but then I hesitated. Perhaps there's a vendor specific way to accomplish this? The broader context is that we're looking to see what we'd have to do if a client of ours were to want to scale horizontally--i.e. have many .war instances all talking to a remote, behind-the-DMZ EJB server. Personally I think this is a bad idea, since the web tier is rarely the bottleneck point, but supposing we had a particularly difficult customer who wanted to do this--is there anything we could tell him? Ordinarily, of course, you'd ship the .war file and the EJB .jar file as part of an .ear file, dump it in one server, and scale the server (i.e. garden variety clustering, or vertical scaling, or whatever you want to call it). But we have customers who like for whatever reason to put their web stuff on one box and their business logic on another. Any pointers are gratefully appreciated. Best, Laird View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262233#4262233 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262233 From do-not-reply at jboss.com Mon Oct 26 13:21:55 2009 From: do-not-reply at jboss.com (Fuchs) Date: Mon, 26 Oct 2009 13:21:55 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once Message-ID: <13334574.1256577715834.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> after i deploying my application i get this error from the java console: [java] Exception in thread "main" javax.naming.NameNotFoundException: CustomerArchivTimerBean not bound | [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | [java] at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | [java] at org.jnp.server.NamingServer.getObject(NamingServer.java:543) | [java] at org.jnp.server.NamingServer.lookup(NamingServer.java:267) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | [java] at java.lang.reflect.Method.invoke(Method.java:597) | [java] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) | [java] at sun.rmi.transport.Transport$1.run(Transport.java:159) | [java] at java.security.AccessController.doPrivileged(Native Method) | [java] at sun.rmi.transport.Transport.serviceCall(Transport.java:155) | [java] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) | [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) | [java] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) | [java] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) | [java] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) | [java] at java.lang.Thread.run(Thread.java:619) | [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255) | [java] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233) | [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142) | [java] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) | [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:667) | [java] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:627) | [java] at javax.naming.InitialContext.lookup(InitialContext.java:392) | [java] at ejb3.timer.client.CustomerArchivClient.testClusterScheduleIntervalTimer(CustomerArchivClient.java:22) | [java] at ejb3.timer.client.CustomerArchivClient.main(CustomerArchivClient.java:15) | [java] Java Result: 1 The JBoss console says: ObjectName: jboss.j2ee:jar=customerTimer.ejb3,name=CustomerArchivTimerBean,service=EJB3 | State: FAILED | Reason: java.lang.IllegalArgumentException: ejb3.timer.bean.CustomerArchivTimerBean is not an interface in the jboss web-console the ejb3-service CustomerArchivTimerBean is registered. i am confused why the Bean isnt found. is there anyone who has an idea what i am doing wrong this time, or what the exception mean? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262238#4262238 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262238 From do-not-reply at jboss.com Mon Oct 26 13:32:54 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 26 Oct 2009 13:32:54 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once Message-ID: <11567457.1256578374556.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Your bean is not deployed because of this error: Reason: java.lang.IllegalArgumentException: ejb3.timer.bean.CustomerArchivTimerBean is not an interface What does your bean class and its interfaces look like, including the annotations? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262241#4262241 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262241 From do-not-reply at jboss.com Mon Oct 26 13:35:33 2009 From: do-not-reply at jboss.com (jaikiran) Date: Mon, 26 Oct 2009 13:35:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: @EJB: can it be used to look up a remote bean on another Message-ID: <24091550.1256578533858.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> See http://www.jboss.org/index.html?module=bb&op=viewtopic&t=147469 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262242#4262242 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262242 From do-not-reply at jboss.com Mon Oct 26 13:36:52 2009 From: do-not-reply at jboss.com (narayana_y) Date: Mon, 26 Oct 2009 13:36:52 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - [jBPM-4.1] - Process Engine Message-ID: <25704476.1256578612302.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi We have a application which is using jBPM3.2 right now and we are adding new functionality to our application. We want to use jBPM4.1 in that new functionality. The question is, can we use jBPM4.1 as the application already has jBPM3.2 process engine. Can jBPM4.1 process engine and jBPM3.2 process engine exists together in an application? Please clarify Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262243#4262243 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262243 From do-not-reply at jboss.com Mon Oct 26 13:44:45 2009 From: do-not-reply at jboss.com (ljnelson) Date: Mon, 26 Oct 2009 13:44:45 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: @EJB: can it be used to look up a remote bean on another Message-ID: <25635085.1256579085384.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for the reply. It appears that that thread ends in a question. I know that EJB 3.1 introduces the requirement that EJBs must be "mounted" in the global JNDI namespace. But a JNDI name is within a Context. So I still don't see how an @EJB reference could portably refer to an EJB mounted--globally or not--in a remote Context. Perhaps that's the point of the thread you referenced? Or perhaps your point is the opposite--i.e. that coupled with an absolute "corba:iiop" scheme (and a host? and a port?) one could fashion a reference that would be traversed reliably? Kind of hard to tell; I hope you'll forgive my attempts here to read the tea leaves--a sentence or two about how I'm supposed to take that other thread would be heartily appreciated. Thanks again for the link. Best, Laird View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262247#4262247 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262247 From do-not-reply at jboss.com Mon Oct 26 13:50:08 2009 From: do-not-reply at jboss.com (diogo.santana) Date: Mon, 26 Oct 2009 13:50:08 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Does the jBPM deployer works? Message-ID: <23723650.1256579408180.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yes, I'm using version 4. Thank you both. Diogo Santana View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262248#4262248 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262248 From do-not-reply at jboss.com Mon Oct 26 13:52:32 2009 From: do-not-reply at jboss.com (nilspreusker) Date: Mon, 26 Oct 2009 13:52:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4 Error]Getting error while 2 tasks are created on Message-ID: <8684605.1256579552116.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> @sushantgupta402: Did u find a solution to this yet? I have a similar problem and would be interested to know whether you found out what the issue was. Cheers, Nils View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262249#4262249 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262249 From do-not-reply at jboss.com Mon Oct 26 14:20:46 2009 From: do-not-reply at jboss.com (mohitanchlia) Date: Mon, 26 Oct 2009 14:20:46 -0400 (EDT) Subject: [jboss-user] [EJB] - Timeout on waiting for Bean pool Message-ID: <23957836.1256581246172.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Jboss 4.2: For stateless bean I am trying to find what the default wait timeout for new requests when none of the pool members are available. How long does the new requests wait for Instance to be available. Also, how do I set it? I am trying to look for pool-config schema but have not been able to find that. This is from jboss.xml | | org.jboss.ejb3.StrictMaxPool | 80 | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262253#4262253 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262253 From do-not-reply at jboss.com Mon Oct 26 14:27:16 2009 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 26 Oct 2009 14:27:16 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM / Spring - issue persisting data within thread Message-ID: <32508583.1256581636975.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> how do you persist data? Process variables? And how do you you want to 'see' it in the other thread? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262254#4262254 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262254 From do-not-reply at jboss.com Mon Oct 26 14:36:56 2009 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 26 Oct 2009 14:36:56 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls Message-ID: <22591608.1256582216269.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If you take a look at the java example in the examples folder in the source, you can see that 'joesmoe' is the name of the variable. handshakes is a getter for a map which in turn contains force and duration as integers. So if you have a plain string as a variable, just use the name in the EL. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262258#4262258 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262258 From do-not-reply at jboss.com Mon Oct 26 14:50:33 2009 From: do-not-reply at jboss.com (homes) Date: Mon, 26 Oct 2009 14:50:33 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM-4.1] - Process Engine Message-ID: <11545456.1256583033398.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hey, I think there is no problem with using both jbpm3.x and jbpm4.x in one application. They are indedependent software projects! Best regards View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262259#4262259 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262259 From do-not-reply at jboss.com Mon Oct 26 15:00:48 2009 From: do-not-reply at jboss.com (mwilmes) Date: Mon, 26 Oct 2009 15:00:48 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Problem Joining 3 Tables Message-ID: <13168847.1256583648219.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Wolfgang, thanks for your answer. I will do as you recommend but that will take some time since I am very busy currently. Best regards Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262261#4262261 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262261 From do-not-reply at jboss.com Mon Oct 26 15:55:33 2009 From: do-not-reply at jboss.com (nesyarug) Date: Mon, 26 Oct 2009 15:55:33 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: AS 5.1.0.GA fails to parse Spring schemas, on AS 4.2.3.G Message-ID: <19410101.1256586933532.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Wolfgang, Thank you for your suggestions. Have tried them all with no result unfortunately. Nes View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262274#4262274 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262274 From do-not-reply at jboss.com Mon Oct 26 16:27:35 2009 From: do-not-reply at jboss.com (JimDwyer) Date: Mon, 26 Oct 2009 16:27:35 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Custom Authentication/Identity Module Message-ID: <20173311.1256588855483.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Is this the same for jBPM4? Has anybody done this for jBPM4? Are there examples? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262283#4262283 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262283 From do-not-reply at jboss.com Mon Oct 26 17:35:31 2009 From: do-not-reply at jboss.com (alesj) Date: Mon, 26 Oct 2009 17:35:31 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Re: Optional depends? Message-ID: <21496167.1256592931332.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> To make this work w/o ugly hacks you simply need double configuration. Where in one of them you actually have a mock mod_cluster supply. Otherwise this is pretty much hackish to achieve, as you still heavily depend on deployment order. e.g. jbossweb is deployed first, at that time mod_cluster is not present in any state, hence optional dependency is satisfied and afterwards never re-invoked. But if the order was different you would wire up that optional dependency. To make this "work" you would have to hack around the cleanup code in order not to leave something hanging at the end and get incomplete deployment error. With some mock object you always have proper order, where in the mock case all you do is tag some bean as mod_cluster supplier. We have an optional inject, but this is/should mostly be used when you know you have a phase split - trying to optionally inject something from deployers/ into deploy/ beans. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262288#4262288 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262288 From do-not-reply at jboss.com Mon Oct 26 17:44:00 2009 From: do-not-reply at jboss.com (kukeltje) Date: Mon, 26 Oct 2009 17:44:00 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Custom Authentication/Identity Module Message-ID: <9878040.1256593440179.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> there are examples in the distribution. In the examples directory. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262289#4262289 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262289 From do-not-reply at jboss.com Mon Oct 26 18:32:45 2009 From: do-not-reply at jboss.com (sverker) Date: Mon, 26 Oct 2009 18:32:45 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Problems with authentication on EJB2 Message-ID: <30966121.1256596365598.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok, I've found a solution. In the case with call to ejb from mbean I added a SecurityAssociation.pushRunAsIdentity(new RunAsIdentity("System", "System")) and corresponding pop around the operation. In the case where I called from the web layer it turned out that I first call a SLSB, which calls a method on an entity which tries to create another entity. At that point the principal had been lost. I'm not sure why it didn't pick up unauthenticated-principal at that point. The solution for that was to add to all beans in ejb-jar.xml. There seem to be a bug there, according to http://www.redhat.com/docs/manuals/jboss/jboss-eap-4.2/doc/Server_Configuration_Guide/J2EE_Declarative_Security_Overview-Security_Identity.html it should be the default to use caller identity when no explicit security-identity is present. It seems the bug is in org.jboss.ejb.plugins.SecurityInterceptor#setContainer. I've filed a bug report in jira at https://jira.jboss.org/jira/browse/JBAS-7405 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262295#4262295 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262295 From do-not-reply at jboss.com Mon Oct 26 20:03:25 2009 From: do-not-reply at jboss.com (raja8183) Date: Mon, 26 Oct 2009 20:03:25 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - JBoss Messaging 1.4.2 Fails - JBoss AS 5.0.1 Startup Message-ID: <12920428.1256601805725.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I've been for so long tryign to start the JBoss Messaging server on my JBoss 5.0.1 AS. I have been able to do this on a different context root. The error Ive come across is: 6:46:16,281 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/JavaTools/jboss-5.0.1.GA/server/dispatch/deploy/messaging-service.xml state=PreReal mode=Manual requiredState=Real | org.jboss.deployers.spi.DeploymentException: Error deploying: jboss.messaging:service=ServerPeer | at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:118) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:698) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405) | at org.jboss.Main.boot(Main.java:209) | at org.jboss.Main$1.run(Main.java:547) | at java.lang.Thread.run(Thread.java:595) | Caused by: java.lang.RuntimeException: No Attribute found with name: SecurityDomain for jboss.messaging:service=ServerPeer, attributes: [ProviderVersion, DefaultExpiryQueue, DefaultMaxDeliveryAttempts, ServerAopConfig, JMSProviderName, FailoverCompleteTimeout, JMSVersion, DefaultRedeliveryDelay, StrictTck, Destinations, FailoverStartTimeout, MessageStatistics, RecoverDeliveriesTimeout, DefaultPreserveOrdering, ClientAopConfig, DefaultMessageCounterHistoryDayLimit, DefaultDLQ, SuckerPassword, Instance, DefaultTopicJNDIContext, ServerPeerID, ClusterPullConnectionFactoryName, PostOffice, PersistenceManager, EnableMessageCounters, MessageCounters, ProviderMajorVersion, JMSMajorVersion, DefaultQueueJNDIContext, SecurityStore, JMSUserManager, JMSMinorVersion, SupportsFailover, MessageCounterSamplePeriod, ProviderMinorVersion] | at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:142) | at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:114) | at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:58) | at org.jboss.system.microcontainer.ConfigureAction.installAction(ConfigureAction.java:42) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.install(ServiceController.java:274) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:90) | ... 23 more | Also, I did try to comparing the two contexts, i.e the earlier good context with the the new one, the one trying to get things working. Thanks, Rama View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262299#4262299 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262299 From do-not-reply at jboss.com Mon Oct 26 23:05:03 2009 From: do-not-reply at jboss.com (gaohoward) Date: Mon, 26 Oct 2009 23:05:03 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: JBoss Messaging 1.4.2 Fails - JBoss AS 5.0.1 Startup Message-ID: <8250819.1256612703206.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> which version of JBM are you using? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262306#4262306 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262306 From do-not-reply at jboss.com Mon Oct 26 23:21:45 2009 From: do-not-reply at jboss.com (gaohoward) Date: Mon, 26 Oct 2009 23:21:45 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: 1.4.x Topic Subscriber and TTL'ed Messages Message-ID: <6426926.1256613705221.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If you deploy the topic as a clustered topic, you don't need to worry about the connection to a specific node in the cluster. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262307#4262307 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262307 From do-not-reply at jboss.com Mon Oct 26 23:55:42 2009 From: do-not-reply at jboss.com (rasa) Date: Mon, 26 Oct 2009 23:55:42 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deployment related Issue Message-ID: <3816669.1256615742360.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "PeterJ" wrote : Looks like you are missing the queue to which the MDB will listen. The given dd is perfectly working with jboss 3.2.5. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262309#4262309 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262309 From do-not-reply at jboss.com Tue Oct 27 00:02:18 2009 From: do-not-reply at jboss.com (rasa) Date: Tue, 27 Oct 2009 00:02:18 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: jboss web console error Message-ID: <19185103.1256616138543.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "jaikiran" wrote : | Those jars are available in JBOSS_HOME/server/< servername>/lib folder. Yes it is available. But it should be copied to jboss-web.deployer directory or the webserver will take those jars from default/lib directory. in the earlier version this jars are available in jbosswebtomcat.sar directory itself. Thats gives doubt. Regards Rasa View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262310#4262310 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262310 From do-not-reply at jboss.com Tue Oct 27 01:54:52 2009 From: do-not-reply at jboss.com (sushantgupta402) Date: Tue, 27 Oct 2009 01:54:52 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4 Error]Getting error while 2 tasks are created on Message-ID: <11577090.1256622892971.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Nils, I did not tried much to figure out a workaround for the problem as our client decided to go with an earlier version of JBPM. I will try to find a workaround by this weekend if it is too late do let me know and I may try too get it done earlier. I think one of the workaround would be to modify the query causing the exception. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262317#4262317 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262317 From do-not-reply at jboss.com Tue Oct 27 02:43:11 2009 From: do-not-reply at jboss.com (Fuchs) Date: Tue, 27 Oct 2009 02:43:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once Message-ID: <19070721.1256625791599.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The Bean class: | @Stateless | @Remote (CustomerArchivTimerBean.class) | public class CustomerArchivTimerBean implements CustomerArchivTimerProxy | { | private @Resource SessionContext ctx; | | public void scheduleTimer(Date expiration, Serializable info) | { | System.out.println("Create single action timer [info=" + info + "]"); | ctx.getTimerService().createTimer(expiration, info); | } | | public void scheduleTimer(long initialDuration, long intervalDuration, Serializable info) | { | System.out.println("Create initial+interval timer [info=" + info + "]"); | ctx.getTimerService().createTimer(initialDuration, intervalDuration, info); | } | | public void cancelTimer(Serializable info) | { | System.out.println("Cancel timer [info=" + info + "]"); | Collection timers = ctx.getTimerService().getTimers(); | for (Timer timer : timers) | { | if (timer.getInfo().equals(info)) | { | System.out.println("Timer[info=" + info + "] found, cancelling..."); | timer.cancel(); | System.out.println("Timer[info=" + info + "] cancelled"); | } | } | | } | | @Timeout | public void timeoutHandler(Timer timer) throws Exception | { | System.out.println("Received timer event: " + timer.getInfo()); | Date date = new Date(System.currentTimeMillis()); | System.out.println("Current time is: " + date + ", origin: timeoutHandler"); | cancelTimer("CustomerArchivTimer"); | } | | } | The interface of the Bean: | public interface CustomerArchivTimerProxy | { | | public void scheduleTimer(Date expiration, Serializable info); | | public void scheduleTimer(long initialDuration, long intervalDuration, Serializable info); | | public void cancelTimer(Serializable info); | | public void timeoutHandler(Timer timer) throws Exception; | | } | The client methods are: | public static void main(String[] args) throws Exception | { | | testClusterScheduleIntervalTimer(); | System.out.println("Timer scheduled to trigger after 10 seconds"); | } | | public static void testClusterScheduleIntervalTimer() throws Exception | { | InitialContext ctx = new InitialContext(); | CustomerArchivTimerProxy timer = (CustomerArchivTimerProxy) ctx.lookup("CustomerArchivTimerBean/remote"); | timer.scheduleTimer(10000, 5000, "CustomerArchivTimer"); | } | The jndi properties: | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=localhost | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262319#4262319 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262319 From do-not-reply at jboss.com Tue Oct 27 02:52:36 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 27 Oct 2009 02:52:36 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM-4.1] - Process Engine Message-ID: <8530178.1256626356154.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> AFAIK this was even a requirement when jBPM 4 was planned. Table names in jBPM4 are all prefixed JBPM4_. HTH Sebastian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262320#4262320 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262320 From do-not-reply at jboss.com Tue Oct 27 02:55:27 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 27 Oct 2009 02:55:27 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using Process variables as parameters for method calls Message-ID: <32569379.1256626527931.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks, Ronald. It was somehow too obvious. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262321#4262321 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262321 From do-not-reply at jboss.com Tue Oct 27 03:06:39 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 27 Oct 2009 03:06:39 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM 4.1] could not initialize proxy - no Session Message-ID: <11749402.1256627199525.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It could be that your issue is related to these ones: https://jira.jboss.org/jira/browse/JBPM-2544 https://jira.jboss.org/jira/browse/BPMC-20 Especially also read the comments of the first issue. Since these issues are already fixed you could easily find out by testing with the trunk. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262323#4262323 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262323 From do-not-reply at jboss.com Tue Oct 27 03:35:43 2009 From: do-not-reply at jboss.com (johndoe70) Date: Tue, 27 Oct 2009 03:35:43 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBossAS 4.2.4: When? Message-ID: <17761320.1256628943823.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It would be nice if someone from RedHat/JBoss would post here an update to the availability of JBossAS 4.2.4. Thanks in advance! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262325#4262325 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262325 From do-not-reply at jboss.com Tue Oct 27 04:13:00 2009 From: do-not-reply at jboss.com (steeven) Date: Tue, 27 Oct 2009 04:13:00 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - java:comp/env not found in @service POJO bean Message-ID: <18566136.1256631180782.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm trying to use Service POJO bean ( jboss extension of EJB3), but I found that PersitentUnit was not found! @Service(name = MyService.SERVICE_NAME) | @Management(IMyService.class) | //@PersistenceContext(name="em") not work too | public class MyService implements IMyService { | public final static String SERVICE_NAME = "MyService"; | @PersistenceContext() | private EntityManager em; | public void create() throws Exception { | log.info("Ems created"); | } | | @TransactionAttribute(TransactionAttributeType.REQUIRED) | public void start() throws Exception { | log.info("Ems started"); | //em.xxx this line worked | new InitialContext().lookup("java:comp/env/em") not work. | } | } ExceptioN: javax.naming.NameNotFoundException: env not bound I'm retrieving EnityManager from some util class, that nest called in other class, it will be great trouble to pass em inside. Why no Enc in service POJO? any work around? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262330#4262330 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262330 From do-not-reply at jboss.com Tue Oct 27 04:16:09 2009 From: do-not-reply at jboss.com (fabiomsouto) Date: Tue, 27 Oct 2009 04:16:09 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Multiple instances with synchronization Message-ID: <4362750.1256631369215.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I'm currently developing a solution usign jBPM. After a few searches I found that jBPM does not support the pattern of multiple instances with synchronization, but I found a paper where they manually programmed it for jBPM 3. Here is the link http://www.computer.org/portal/web/csdl/doi/10.1109/PACIIA.2008.377 I was wondering if anyone more experienced in jBPM would help me implement this in jBPM 4. Thank you very much for your time. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262331#4262331 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262331 From do-not-reply at jboss.com Tue Oct 27 04:32:17 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Tue, 27 Oct 2009 04:32:17 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once Message-ID: <23617498.1256632337741.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, @Remote (CustomerArchivTimerBean.class) should be @Remote (CustomerArchivTimerProxy.class) But you could place the annotation also on the remote interface itself, without any attributes: @Remote | public interface CustomerArchivTimerProxy | { | Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262333#4262333 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262333 From do-not-reply at jboss.com Tue Oct 27 04:35:34 2009 From: do-not-reply at jboss.com (vijay_venkataraman) Date: Tue, 27 Oct 2009 04:35:34 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Validate Connection factory setting from MQ to JBM and i Message-ID: <16221856.1256632534894.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks Howard for the clarification. boss:service=Naming - I have this service running. I wanted to check if this dependency entry is fine here. >From what you mentioned then i understand that The equivalent of: | ConnectionFactory | is | ConnectionFactory | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262334#4262334 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262334 From do-not-reply at jboss.com Tue Oct 27 04:50:23 2009 From: do-not-reply at jboss.com (jaikiran) Date: Tue, 27 Oct 2009 04:50:23 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean Message-ID: <7273292.1256633423077.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Please post the entire exception stacktrace and also the piece of client code which gets hold of the service. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262335#4262335 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262335 From do-not-reply at jboss.com Tue Oct 27 04:50:54 2009 From: do-not-reply at jboss.com (Fuchs) Date: Tue, 27 Oct 2009 04:50:54 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Client calls Timer only once Message-ID: <27890292.1256633454397.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> An easy one, thanks. The problem ist solved! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262336#4262336 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262336 From do-not-reply at jboss.com Tue Oct 27 05:17:47 2009 From: do-not-reply at jboss.com (eideri) Date: Tue, 27 Oct 2009 05:17:47 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Variable extension Message-ID: <578045.1256635067269.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I'm developing an application using jBPM (version 4.1) that needs to persist binary variables, not only byte array value but the mime-type and the name values also. I've seen that JBPM uses org.jbpm.pvm.internal.lob.Lob class to persist variables of type byte array. On the other side, JBPM also uses Lob class to persist resources while deploying, but here it uses Lob's more fields like name and deployment. But then Lob class doesn't have these fields mapped. In short, my questions are the following ones: To persist the type of variables that my application needs (byte array, mime-type and name), should I reuse Lob table and extend Lob class to have more fields? Or perhaps, is it better to create a new table and map this to a new class to persist the types of variables I need? Any idea will be very welcome. Thank you very much in advance, eider View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262339#4262339 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262339 From do-not-reply at jboss.com Tue Oct 27 05:53:11 2009 From: do-not-reply at jboss.com (Shay2989) Date: Tue, 27 Oct 2009 05:53:11 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - transaction commit command Message-ID: <5128925.1256637191996.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am running on a multi core mechine, sending 10kb . All the 10kb are under the same object . The sender and the receiver are running in different jvm's on the same computer . The Reciver got the transaction in 250 -300 ms in average . How i verify that after a commit command the massge will send immidiately ? Can i improve it ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262342#4262342 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262342 From do-not-reply at jboss.com Tue Oct 27 05:58:40 2009 From: do-not-reply at jboss.com (jbosse) Date: Tue, 27 Oct 2009 05:58:40 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - JBM 1.4.7 Compatibility with JBossAS 4.2.3 and Release Date Message-ID: <22961969.1256637520219.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, i would like to know if JBoss Messaging 1.4.7 will be compatible with JBoss AS 4.2.3 There are indications about the possible release date of this version? Thanks, Carlo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262343#4262343 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262343 From do-not-reply at jboss.com Tue Oct 27 06:08:22 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Tue, 27 Oct 2009 06:08:22 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: AS 5.1.0.GA fails to parse Spring schemas, on AS 4.2.3.G Message-ID: <19954505.1256638102590.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Nes, I don't know Spring, so I can just try to reproduce what you post here. I tried to deploy a simple webapp with just one file "applicationContext.xml" with the content of your sample, and this worked. I also tried to deploy the spring 2.5 sample "imagedb", and this also worked besides database errors because I don't have a MySQL database. The sample's applicationContext.xml has the same header as yours. Could you give the "imagedb" sample a try? Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262348#4262348 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262348 From do-not-reply at jboss.com Tue Oct 27 06:15:27 2009 From: do-not-reply at jboss.com (zour) Date: Tue, 27 Oct 2009 06:15:27 -0400 (EDT) Subject: [jboss-user] [Security] - Authentication succeeded, getCallerPrincipal()=anonymous Message-ID: <26113791.1256638527434.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm using JBoss 5.1.0, a J2EE application, the frontend is a RAP application deployed in an OSGi container (Equinox). All runs fine beside the login. Though authentication is successfull, I always get the default identity anonymous from an EJB. Login does work properly, since if I enter a wrong password I get redirected to the according web page. @SecurityDomain("myapplication") | @Stateless(name = UserBean.EJBNAME) | public class UserBean implements UserBeanRemote, UserBeanLocal { | | public static final String EJBNAME = "UserBean"; | | @Resource() | private transient SessionContext session; | | @Override | public void testSession() { | String name = this.session.getCallerPrincipal().getName(); | System.out.println("Principal: "+name); | } The principal's name is always 'anonymous' (the default). The custom login module is being used in other J2EE applications without such problems. Snippet from login-config.xml: | | | MyApplication/AuthorizationBean/local | | | | | web.xml: | FORM | | /login.html | /login_failed.html | | jboss-web.xml | java:/jaas/myapplication | jbossweb.sar/contex.xml | | org.jboss.web.tomcat.security.RunAsListener | | I don't know if this is a bug or I'm just missing some configuration. A Realm perhaps? Would this work: http://tomcat.apache.org/tomcat-5.5-doc/realm-howto.html#JAASRealm I have another working authorization configuration with JAAS and Seam, but this doesn't require any Realm's at all. Could you please give me a hint? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262350#4262350 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262350 From do-not-reply at jboss.com Tue Oct 27 06:18:33 2009 From: do-not-reply at jboss.com (gohiljigar15) Date: Tue, 27 Oct 2009 06:18:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Urgent.....EJB3/Hibernate.... Message-ID: <20194289.1256638713824.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi All, I am new to EJB3...and have got bit confused.... as per my understanding EJB3 follows the JPA standard when it comes to persistence layer....right...? 1) does it require any Other Persistence Provider when i am using EJB3...? 2) If NO...and if want to use Hibernate which also follows the same persistence standard i.e JPA.....from an architecture perspective which one is better I mean using EJB3.0 only OR using EJB3+Hibernate....? Thank You....in Advance.... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262352#4262352 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262352 From do-not-reply at jboss.com Tue Oct 27 06:45:51 2009 From: do-not-reply at jboss.com (grdzeli_kaci) Date: Tue, 27 Oct 2009 06:45:51 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - how to handle hibernate exceptions in ejb3 Message-ID: <27978212.1256640351464.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> can anybody help on this ? is it possible to handle hibernate exceptions ??? for example : org.hibernate.exception.ConstraintViolationException and many others. i need to make something in this case. _____________________ Regards, Paata Lominadze. Magticom LTD. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262370#4262370 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262370 From do-not-reply at jboss.com Tue Oct 27 06:55:21 2009 From: do-not-reply at jboss.com (gbansal80) Date: Tue, 27 Oct 2009 06:55:21 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: User: null is NOT authenticated Message-ID: <19205683.1256640921055.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It seems that our code is performing logout action which is clearing Principal from cache because of NullPointerException is thrown (User Null Is Not Authenticated). The relevant portions of the stack trace are provided below: 2009-10-27 12:04:43,216 TRACE [org.jboss.security.plugins.JaasSecurityManager.messaging] Begin isValid, principal:null, cache info: null 2009-10-27 12:04:43,216 TRACE [org.jboss.security.plugins.JaasSecurityManager.messaging] defaultLogin, principal=null 2009-10-27 12:04:43,217 TRACE [org.jboss.security.plugins.JaasSecurityManager.messaging] Login failure javax.security.auth.login.LoginException: java.lang.NullPointerException at com.avaya.security.authorization.common.AuthorizationUtil.publishMessage(AuthorizationUtil.java:369) at com.avaya.security.authorization.client.AuthorizationClient.sendUserLogoutNotification(AuthorizationClient.java:1111) at com.avaya.mgmt.console.framework.bean.CommonConsoleIdentity.logoutaction(CommonConsoleIdentity.java:368) However I still have following questions: 1/ In case the principal=null, why can't guest credentials be used for sending the message. In the "messaging" application policy, it has been already configured that any unauthenticated user will assume "guest" credential ( guest ) . So why in this case "guest" credentials are not used. 2/ Any reasons why this exception starts coming only after the system has been up for more than 2 days. The complete stack trace is pasted below: 2009-10-27 12:04:43,119 TRACE [org.jboss.security.plugins.JaasSecurityManager.messaging] doesUserHaveRole(Set), subject: Subject: Principal: guest Principal: Roles(members:john,guest,j2ee) 2009-10-27 12:04:43,119 TRACE [org.jboss.security.plugins.JaasSecurityManager.messaging] roles=Roles(members:john,guest,j2ee) 2009-10-27 12:04:43,119 TRACE [org.jboss.security.plugins.JaasSecurityManager.messaging] hasRole(guest)=true 2009-10-27 12:04:43,119 TRACE [org.jboss.security.plugins.JaasSecurityManager.messaging] hasRole=true 2009-10-27 12:04:43,216 TRACE [org.jboss.security.plugins.JaasSecurityManager.messaging] Begin isValid, principal:null, cache info: null 2009-10-27 12:04:43,216 TRACE [org.jboss.security.plugins.JaasSecurityManager.messaging] defaultLogin, principal=null 2009-10-27 12:04:43,217 TRACE [org.jboss.security.plugins.JaasSecurityManager.messaging] Login failure javax.security.auth.login.LoginException: java.lang.NullPointerException at javax.security.auth.login.LoginContext.invoke(LoginContext.java:872) at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186) at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680) at javax.security.auth.login.LoginContext.login(LoginContext.java:580) at org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603) at org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537) at org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344) at org.jboss.jms.server.security.SecurityMetadataStore.authenticate(SecurityMetadataStore.java:188) at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegateInternal(ServerConnectionFactoryEndpoint.java:233) at org.jboss.jms.server.endpoint.ServerConnectionFactoryEndpoint.createConnectionDelegate(ServerConnectionFactoryEndpoint.java:171) at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.org$jboss$jms$server$endpoint$advised$ConnectionFactoryAdvised$createConnectionDelegate$aop(ConnectionFactoryAdvised.java:108) at org.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised.createConnectionDelegate(ConnectionFactoryAdvised.java) at org.jboss.jms.wireformat.ConnectionFactoryCreateConnectionDelegateRequest.serverInvoke(ConnectionFactoryCreateConnectionDelegateRequest.java:91) at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:862) at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101) at org.jboss.remoting.Client.invoke(Client.java:1858) at org.jboss.remoting.Client.invoke(Client.java:718) at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:178) at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java) at org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:80) at org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect0.invoke(StateCreationAspect0.java) at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java) at org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java) at org.jboss.jms.client.container.ClusteringAspect.handleCreateConnectionDelegate(ClusteringAspect.java:134) at sun.reflect.GeneratedMethodAccessor880.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121) at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientClusteredConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java) at org.jboss.jms.client.delegate.ClientClusteredConnectionFactoryDelegate.createConnectionDelegate(ClientClusteredConnectionFactoryDelegate.java) at org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205) at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87) at org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82) at com.avaya.security.authorization.common.AuthorizationUtil.publishMessage(AuthorizationUtil.java:369) at com.avaya.security.authorization.client.AuthorizationClient.sendUserLogoutNotification(AuthorizationClient.java:1111) at com.avaya.mgmt.console.framework.bean.CommonConsoleIdentity.logoutaction(CommonConsoleIdentity.java:368) at sun.reflect.GeneratedMethodAccessor3950.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:328) at org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:341) at org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58) at org.jboss.el.parser.AstValue.invoke(AstValue.java:96) at org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276) at com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68) at com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69) at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190) at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:458) at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:763) at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195) at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138) at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.avaya.panther.faces.util.ResourceInjectionFilter.doFilter(ResourceInjectionFilter.java:36) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) 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.LoggingFilter.doFilter(LoggingFilter.java:58) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44) at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:150) 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:182) at com.avaya.security.iam.tomcat.HTTPAuthInterceptor.invoke(HTTPAuthInterceptor.java:1077) 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.authenticator.SingleSignOn.invoke(SingleSignOn.java:420) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:619) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262380#4262380 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262380 From do-not-reply at jboss.com Tue Oct 27 07:23:09 2009 From: do-not-reply at jboss.com (babazs) Date: Tue, 27 Oct 2009 07:23:09 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Datasource Failover Notification Message-ID: <13319719.1256642589263.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hy! Could you attach your postgress-ds.xml. thx. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262389#4262389 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262389 From do-not-reply at jboss.com Tue Oct 27 07:26:07 2009 From: do-not-reply at jboss.com (babazs) Date: Tue, 27 Oct 2009 07:26:07 -0400 (EDT) Subject: [jboss-user] [JCA] - HA-XA-datasource + Postgres 8 how? Message-ID: <26410675.1256642767423.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hy! Can somebody send an example ha-xa-datasource with two postgres db? thank you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262390#4262390 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262390 From do-not-reply at jboss.com Tue Oct 27 07:38:17 2009 From: do-not-reply at jboss.com (mayankmit2002) Date: Tue, 27 Oct 2009 07:38:17 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Datasource Failover Notification Message-ID: <3674671.1256643497786.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> | | | | PostgresDS | org.postgresql.xa.PGXADataSource | ${data.source} | 5432 | smd | | systemmgr | cms10 | ServerName | , | | | | | PostgreSQL 8.0 | | | 32 | 5 | 20 | 0 | 30000 | 0 | true | select version() | | | | ArgusDS | org.postgresql.xa.PGXADataSource | ${data.source} | 5432 | smd | | systemmgr | cms10 | ServerName | , | | | | | PostgreSQL 8.0 | | | 32 | 5 | 20 | 0 | 30000 | 0 | true | select version() | | | | DefaultDS | org.postgresql.xa.PGXADataSource | ${data.source} | 5432 | jms | | systemmgr | cms10 | ServerName | , | | | | | PostgreSQL 8.0 | | | 32 | 5 | 20 | 0 | 30000 | 0 | true | select version() | | | | BMSDS | org.postgresql.xa.PGXADataSource | ${data.source} | 5432 | bms | systemmgr | cms10 | ServerName | , | | | | | PostgreSQL 8.0 | | | 32 | 5 | 20 | 0 | 30000 | 0 | true | select version() | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262395#4262395 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262395 From do-not-reply at jboss.com Tue Oct 27 07:45:41 2009 From: do-not-reply at jboss.com (nilspreusker) Date: Tue, 27 Oct 2009 07:45:41 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4 Error]Getting error while 2 tasks are created on Message-ID: <956192.1256643941934.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sushant, don't worry, I'll dig deeper into this myself. Cheers, Nils View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262398#4262398 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262398 From do-not-reply at jboss.com Tue Oct 27 07:48:15 2009 From: do-not-reply at jboss.com (amalraj.palanichamy) Date: Tue, 27 Oct 2009 07:48:15 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Persistence Manager Problem - null-persistence-service.x Message-ID: <27221082.1256644095704.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> JBoss Messaging Null Persistence Service =========================== Purpose: To disable the Database Persistence Policy and introducing Null Persistence Service. -------- Step 1: we have to delete the existing \server\default\deploy\messaging\hsqldb-persistence-service.xml. -------- Step 2: delete the following messaging security policy from the \server\default\deploy\messaging\messaging-jboss-beans.xml file -------- guest java:/DefaultDS SELECT PASSWD FROM JBM_USER WHERE USER_ID=? SELECT ROLE_ID, 'Roles' FROM JBM_ROLE WHERE USER_ID=? Step 3: Include the messaging policy in the \server\default\conf\login-config.xml file as the follows, ------- guest props/messaging-users.properties props/messaging-roles.properties And also place the following properties files in the directory \server\default\conf\props 1. messaging-users.properties ------------------------------ # # user=password # guest=guest 2. messaging-roles.properties ------------------------------- # # user=role1,role2,... # guest=guest Step 4: Place the null-persistence-service.xml file with the following contents under the directory \server\default\deploy\messaging ------- jboss.messaging:service=ServerPeer jboss:service=TransactionManager JMS post office false jboss:service=TransactionManager View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262399#4262399 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262399 From do-not-reply at jboss.com Tue Oct 27 07:50:06 2009 From: do-not-reply at jboss.com (babazs) Date: Tue, 27 Oct 2009 07:50:06 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Datasource Failover Notification Message-ID: <4168259.1256644206831.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> How can you use ha-xa datasource service, these datasources are differents. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262402#4262402 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262402 From do-not-reply at jboss.com Tue Oct 27 07:51:47 2009 From: do-not-reply at jboss.com (babazs) Date: Tue, 27 Oct 2009 07:51:47 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Datasource Failover Notification Message-ID: <32255399.1256644307209.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I would like to create the same topolgy with postgres datasources: http://www.mastertheboss.com/en/jboss-application-server/82-jboss-datasource-ha.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262403#4262403 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262403 From do-not-reply at jboss.com Tue Oct 27 08:04:25 2009 From: do-not-reply at jboss.com (amalraj.palanichamy) Date: Tue, 27 Oct 2009 08:04:25 -0400 (EDT) Subject: [jboss-user] [Security] - Re: SecurityAssociation: javax.security.auth.Subject dissape Message-ID: <10145196.1256645065221.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Even we have faced the same problem in our application. The workaround is introducing a new Thread for JMS Publishing part For ex : Thread jmsPublisherThread = new Thread() | { | public void run() | { | try | { | PublisherManager.getInstance().sendMessage(topicName, | SerializableObj, PublisherType); | // Publisher Type : Durable or Non Durable | } | catch(Exception e) | { | e.printStackTrace(); | } | } | }; | | jmsPublisherThread.start(); It will solve the problem and the caller principals will not be disturbed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262405#4262405 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262405 From do-not-reply at jboss.com Tue Oct 27 08:06:37 2009 From: do-not-reply at jboss.com (amalraj.palanichamy) Date: Tue, 27 Oct 2009 08:06:37 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Losing Credentials After Call to Method Message-ID: <3353092.1256645197136.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> For workaround, Please have a look at the URL : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262405#4262405 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262406#4262406 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262406 From do-not-reply at jboss.com Tue Oct 27 08:08:25 2009 From: do-not-reply at jboss.com (amalraj.palanichamy) Date: Tue, 27 Oct 2009 08:08:25 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Disappearing credentials after publisher.send Message-ID: <22642791.1256645305983.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> For workaround, Please have a look at the URL : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262405#4262405 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262407#4262407 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262407 From do-not-reply at jboss.com Tue Oct 27 08:15:28 2009 From: do-not-reply at jboss.com (babazs) Date: Tue, 27 Oct 2009 08:15:28 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: HA-XA-datasource + Postgres 8 how? Message-ID: <30820934.1256645728583.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I would like to create the same topolgy with postgres datasources on JBoss 5.1GA: http://www.mastertheboss.com/en/jboss-application-server/82-jboss-datasource-ha.htm View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262410#4262410 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262410 From do-not-reply at jboss.com Tue Oct 27 08:57:09 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Tue, 27 Oct 2009 08:57:09 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Urgent.....EJB3/Hibernate.... Message-ID: <11474495.1256648229467.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, 1) nope, the one bundled with your application server is all you need, and basic code should not need to care about the JPA provider. 2) EJB3 only is probably better, because your app is able to run on different app servers, and if the EJB standard is changed, your app will probably still work. But the more complex your app becomes, the more chance is that you need to work with the JPA layer directly... Hope this helps a bit Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262422#4262422 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262422 From do-not-reply at jboss.com Tue Oct 27 08:58:43 2009 From: do-not-reply at jboss.com (vchira) Date: Tue, 27 Oct 2009 08:58:43 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to Message-ID: <23562361.1256648323706.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "koen.aers at jboss.com" wrote : As I said in the post on the developer's forum, there will be support for instance migration in the upcoming release. The solution is somewhat different from Caleb's solution for jBPM 3.x. | | Regards, | Koen Can you pls clarify? what kind of sollution? wich post? if i know that the process instance will work with the new process definistion can i just change there process definition in DB or something? would that work? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262423#4262423 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262423 From do-not-reply at jboss.com Tue Oct 27 09:15:30 2009 From: do-not-reply at jboss.com (lbrewster) Date: Tue, 27 Oct 2009 09:15:30 -0400 (EDT) Subject: [jboss-user] [Spring Integration] - Re: Help/instructions for installing and using JBoss Spring Message-ID: <13181458.1256649330220.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Marius, Just wanted to let you know that I was able to get my Hibernate/Spring project working thanks to the information you provided. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262425#4262425 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262425 From do-not-reply at jboss.com Tue Oct 27 09:41:24 2009 From: do-not-reply at jboss.com (Xibalban) Date: Tue, 27 Oct 2009 09:41:24 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - How to get JBPM identities in ESB? Message-ID: <18919289.1256650884098.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Can I somehow get JBPM identities in ESB process? I would like to maintain a list of user names with email addresses in jbpm-console and get a user's email address in ESB process. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262430#4262430 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262430 From do-not-reply at jboss.com Tue Oct 27 09:45:50 2009 From: do-not-reply at jboss.com (chacs) Date: Tue, 27 Oct 2009 09:45:50 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: 1.4.x Topic Subscriber and TTL'ed Messages Message-ID: <24937434.1256651150510.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In a clustered environment, the subscriptions are also split into sub-subscriptions at each cluster. If we wish to implement the nightly cron to clear the expired messages (using CLIENT_ACKNOWLEDGE and rollback), we must be able to obtain the connection manager for each cluster to clear it's local expired messages. The inability to connect to a specific cluster means this cannot be a viable solution. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262431#4262431 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262431 From do-not-reply at jboss.com Tue Oct 27 09:56:35 2009 From: do-not-reply at jboss.com (mbelow) Date: Tue, 27 Oct 2009 09:56:35 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - JBPM4: How to find leaving transitions of an execution Message-ID: <4595251.1256651795394.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I'm quite new to JBM4... I would like to fetch a list of all transitions leaving the current activity of an execution. I thought that this would actually be a quite common thing to do, but I was only able to archive this with an ugly cast (from Execution to ExecutionImpl). Is there a cleaner way of doing this using the API? Thanks in advance, Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262434#4262434 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262434 From do-not-reply at jboss.com Tue Oct 27 10:07:33 2009 From: do-not-reply at jboss.com (babazs) Date: Tue, 27 Oct 2009 10:07:33 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: HA-XA-datasource + Postgres 8 how? Message-ID: <30116249.1256652453885.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I think this issue is related to this: https://jira.jboss.com/jira/browse/JBAS-5472 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262440#4262440 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262440 From do-not-reply at jboss.com Tue Oct 27 10:35:33 2009 From: do-not-reply at jboss.com (icordoba) Date: Tue, 27 Oct 2009 10:35:33 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Multiple JBoss instances vs. one "big" JBoss with different Message-ID: <16210900.1256654133979.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hello, I start this thread to get opinions on which is the best approach when needing to deploy multiple different applications in the same server. I've been using JBoss for years starting with version 3. During this time I've used a couple of JBoss instances with scope class loading, even though docs state that disabling unified class loading and enabling marshaning (CallByValue?) is CPU consuming. I am migrating now to JBoss 5.1 and have decided to test keeping unified class loading and starting multiple JBoss'es in differennt localhost IPs. (I cannot deploy different applications in the same instance as I have many version conflicts. I use multiple versions of my own EJB3 component library) These JBoss will need less memory than the previous one and only JBoss. Of course, they are faster now. is this approach right? I use MacOS and its Java VM, while not specially fast, it is suppoused to handle memory sharing between different java instances. Maybe there is a different approach for deploying different apps in the same server... as far as I know there is no way to enable isolated class loading without enabling "CallByValue"... is there? Thanks for any advice/experiences. Ignacio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262443#4262443 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262443 From do-not-reply at jboss.com Tue Oct 27 10:52:36 2009 From: do-not-reply at jboss.com (samuelpaulc) Date: Tue, 27 Oct 2009 10:52:36 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - How to load classes dynamically in EJB3 on JBoss 4.2.2 at Ru Message-ID: <21539469.1256655156532.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi All, My application is a SWT application on the client side and an EJB3 on JBoss 4.2.2 on the server side. Users(from client) can upload jars containing classes that are copied onto the JBoss server machine to a known directory. The classes within the newly uploaded jars have to be loaded,instantiated and a known method has to be called on them. We have enforced upon the user to implement our base interfaces in their classes so that we can call any new jars that are uploaded at runtime without shutting down and bringing up JBoss. I am getting a NullPointerException when I try to load the class dynamically(using URLClassLoader) We have tried using URLClassLoader but the loaded class is not visible at runtime. Also tried to load class using UnifiedClassLoader3 but am not sure I did the right way. Please suggest the best possible way to do this ASAP. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262444#4262444 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262444 From do-not-reply at jboss.com Tue Oct 27 11:03:07 2009 From: do-not-reply at jboss.com (dcausse) Date: Tue, 27 Oct 2009 11:03:07 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Mutable Objects inside ObjectMessage and rollback behaviour. Message-ID: <21241776.1256655787927.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, with JBM shipped with JBossAS 5.1.0, i suspect that ObjectMessage body instances are cached. In a transaction I modify my object issued from ObjectMessage.getObject(), then something goes wrong and I do rollback on the JMS session. When the broker send the message a second time I get the same instance as the first failed receive with modifications made on my object in the previous failed transaction, It is not what I expect. So my question is : is this normal behaviour? Can I disable this cache and have everything rollbacked and my object deserialized again? Thank you for your help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262445#4262445 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262445 From do-not-reply at jboss.com Tue Oct 27 11:17:26 2009 From: do-not-reply at jboss.com (vchira) Date: Tue, 27 Oct 2009 11:17:26 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - How can I query run my own HQL in jBPM 4.x? Message-ID: <4554322.1256656646776.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have searched the forums buit i was unable to find a solution to my problem. I am trying to run my own hql query using the hibernate session that jBPM is using. how can i do that? is there a way to do something like this using jBPM API? if I could do that i could also search the task instances for a specific task that has some value saved in some variable. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262447#4262447 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262447 From do-not-reply at jboss.com Tue Oct 27 11:21:07 2009 From: do-not-reply at jboss.com (PeterJ) Date: Tue, 27 Oct 2009 11:21:07 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deployment related Issue Message-ID: <31002809.1256656867066.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have no idea what 3.2.5 did if you did not specify a queue name (or how one could be specified outside the ejb-jar.xml file), but apparently 4.2.3 wants one. I'll leave it to you to look up the config settings. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262448#4262448 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262448 From do-not-reply at jboss.com Tue Oct 27 11:36:10 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 27 Oct 2009 11:36:10 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <32567631.1256657770769.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Till now I haven't been in the situation where would have been need of this but I would consider this a common thing, too. I don't know if this is just a thing left out in the API or if there are reasons. Let's see what the dev's and Ronald say: Take a look at this post: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=162690 It's a bit hard to find because the title is somehow misleading. It's about listing outgoing transititions and not about acitivities. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262449#4262449 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262449 From do-not-reply at jboss.com Tue Oct 27 11:47:37 2009 From: do-not-reply at jboss.com (JimDwyer) Date: Tue, 27 Oct 2009 11:47:37 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Custom Authentication/Identity Module Message-ID: <12043404.1256658457804.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I didn't see any jBPM examples. Can you post the link? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262450#4262450 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262450 From do-not-reply at jboss.com Tue Oct 27 11:49:53 2009 From: do-not-reply at jboss.com (zour) Date: Tue, 27 Oct 2009 11:49:53 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Authentication succeeded, getCallerPrincipal()=anonymous Message-ID: <21503916.1256658593517.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It doesn't work with the UsersRolesLoginModule either. | anonymous | props/users.properties | props/roles.properties | Any ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262451#4262451 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262451 From do-not-reply at jboss.com Tue Oct 27 12:14:41 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 27 Oct 2009 12:14:41 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <7738490.1256660081351.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> File a Jira issue, gather votes and let's see what comes out of that. Personally I think it would be an interesting addition. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262457#4262457 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262457 From do-not-reply at jboss.com Tue Oct 27 12:20:54 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 27 Oct 2009 12:20:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Custom Authentication/Identity Module Message-ID: <19045070.1256660454572.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> uhhmmm... in the zip there is an examples dir on the highest level (below jbpm-4.1) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262461#4262461 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262461 From do-not-reply at jboss.com Tue Oct 27 12:29:10 2009 From: do-not-reply at jboss.com (neillott) Date: Tue, 27 Oct 2009 12:29:10 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Ears sharing jars Message-ID: <29303981.1256660950015.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have one jboss instance running jboss 5.1 with webservices Version: jbossws-native-3.2.0.GA. In this instance I deploy 6 ears all of which have an interface that specifies something like this @WebService @SOAPBinding ( style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.WRAPPED ) public interface OnDemand { public void method1(); ... } I then implement this interface. When I deploy the ear, the ear contains the following: [neil at flicker main ondemand]$ jar -tvf generated/server/ear/ondemand-5.2.3.ear 0 Tue Oct 27 10:15:40 MDT 2009 META-INF/ 256 Tue Oct 27 10:15:38 MDT 2009 META-INF/MANIFEST.MF 0 Tue Oct 27 10:15:40 MDT 2009 lib/ 358273 Tue Oct 27 10:15:40 MDT 2009 lib/antlr-2.7.2.jar 73425 Tue Oct 27 10:15:38 MDT 2009 lib/avalon-framework-4.1.5.jar 321201 Tue Oct 27 10:15:40 MDT 2009 lib/backport-util-concurrent-60-3.1.jar 595558 Tue Oct 27 10:15:38 MDT 2009 lib/catalogsif-5.2.3.jar 121757 Tue Oct 27 10:15:40 MDT 2009 lib/commons-dbcp-1.2.2.jar 96067 Tue Oct 27 10:15:38 MDT 2009 lib/commons-pool-1.5.1.jar 727837 Tue Oct 27 10:15:40 MDT 2009 lib/coreif-5.2.3.jar 632663 Tue Oct 27 10:15:38 MDT 2009 lib/dbif-5.2.3.jar 1059115 Tue Oct 27 10:15:40 MDT 2009 lib/isa-1.4.4.jar 88778 Tue Oct 27 10:15:40 MDT 2009 lib/isautilsif-5.2.3.jar 5750674 Tue Oct 27 10:15:38 MDT 2009 lib/jacorb-2.3.2.jar 802216 Tue Oct 27 10:15:38 MDT 2009 lib/jakarta-poi-2.5.1.jar 89967 Tue Oct 27 10:15:38 MDT 2009 lib/jboss-jaxb-api-5.1.0.GA.jar 50570 Tue Oct 27 10:15:40 MDT 2009 lib/jbossws-jaxws-5.1.0.GA.jar 534827 Tue Oct 27 10:15:40 MDT 2009 lib/joda-time-1.6.jar 391834 Tue Oct 27 10:15:40 MDT 2009 lib/log4j-1.2.15.jar 86165 Tue Oct 27 10:15:40 MDT 2009 lib/logkit-1.2.jar 123874 Tue Oct 27 10:15:40 MDT 2009 lib/menumanagerif-5.2.3.jar 451525 Tue Oct 27 10:15:40 MDT 2009 lib/ondemandif-5.2.3.jar 1556269 Tue Oct 27 10:15:40 MDT 2009 lib/oracle-driver-10.2.0.4.jar 23445 Tue Oct 27 10:15:38 MDT 2009 lib/slf4j-1.5.8.jar 9679 Tue Oct 27 10:15:40 MDT 2009 lib/slf4j-log4j12-1.5.8.jar 8047 Tue Oct 27 10:15:38 MDT 2009 lib/ws-coreif-5.2.3.jar 26180 Tue Oct 27 10:15:40 MDT 2009 lib/wsif-5.2.3.jar 9336 Tue Oct 27 10:15:38 MDT 2009 ondemand-ejb-5.2.3.jar When I deploy only this ear for example, JBoss immediately figures out that I have a webservice and does everything right. I'm able to access my webservice with no problem. If I deploy multiple ears and say they share a jar like this: 451525 Tue Oct 27 10:15:40 MDT 2009 lib/ondemandif-5.2.3.jar But then let's say one ear has 451525 Tue Oct 27 10:15:40 MDT 2009 lib/ondemandif-5.2.3.jar And the other ear has 451525 Tue Oct 27 10:15:40 MDT 2009 lib/ondemandif-5.2.4.jar Whichever ear gets deployed and used first will have its classes loaded from its ondemandif jar. So I tried adding a jboss-app.xml to my META-INF directory in my ear that looks like this: com.mystrotv:loader=ondemandif-5.2.3.jar java2ParentDelegaton=false But then I get this error and my webservice won't load DEPLOYMENTS IN ERROR: Deployment "vfszip:/usr/local/mystro/jboss/server/mas-ws/deploy/ondemand-5.2.3.ear/" is in error due to the following reason(s): java.lang.RuntimeException: Bean Class com.twc.atgw.server.ws.ondemand.OnDemandImpl has no local, webservice, or remote interfaces defined and does not implement at least one business interface: OnDemandImpl at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993) at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939) at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873) at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) However, my webservice loads fine if I don't include this xml file. My intention was to isolate the jars inside the ear so they are not shared across the webservice container. My understanding was that this would accomplish that: java2ParentDelegaton=false Do I need to somehow specify my webservice annotated class in the jboss-app.xml as well? Anyone has any hints that might help? Thanks, Neil View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262464#4262464 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262464 From do-not-reply at jboss.com Tue Oct 27 12:32:57 2009 From: do-not-reply at jboss.com (kukeltje) Date: Tue, 27 Oct 2009 12:32:57 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Variable extension Message-ID: <11055342.1256661177908.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If your class is serializable, jBPM should be able to persist it. Look at jbpm-4.1.zip\jbpm-4.1\examples\src\org\jbpm\examples\java View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262466#4262466 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262466 From do-not-reply at jboss.com Tue Oct 27 12:35:16 2009 From: do-not-reply at jboss.com (neillott) Date: Tue, 27 Oct 2009 12:35:16 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Ears sharing jars Message-ID: <5710193.1256661316937.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I also tried: true And I get the same error. Thanks, Neil View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262467#4262467 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262467 From do-not-reply at jboss.com Tue Oct 27 12:40:26 2009 From: do-not-reply at jboss.com (nilspreusker) Date: Tue, 27 Oct 2009 12:40:26 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4 Error]Getting error while 2 tasks are created on Message-ID: <12702814.1256661626977.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I've verified this problem, it occurs when two subsequent tasks are both assigned to the same person and the second one contains a notification node. When the first task is completed, the MailListener will use the findTaskByExecution method of DbSessionImpl.java, which in turn queries the database for tasks by execution. This causes the NonUniqueResult exception, as there are more tasks associated with the execution. See test case below: === Environment ============================== - jBPM Version : 4.1 - Database : MySQL 5 or HSQL - JDK : Java 6 on Mac OS X Snow Leopard - Container : java version "1.6.0_15" Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219) Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode) - Configuration : standard config file - Libraries : standard jbpm setup === Process ================================== | | | | | | | | | | | | | | | === API =================================== package org.jbpm.examples.task.multiple; | | import java.util.List; | | import org.jbpm.api.task.Task; | import org.jbpm.test.JbpmTestCase; | import org.subethamail.wiser.Wiser; | | public class MultipleTasksTest extends JbpmTestCase { | | Wiser wiser = new Wiser(); | String deploymentId; | | protected void setUp() throws Exception { | super.setUp(); | | // deploy the process definition | deploymentId = repositoryService.createDeployment() | .addResourceFromClasspath( | "org/jbpm/examples/task/multiple/process.jpdl.xml") | .deploy(); | | // create actor | identityService.createUser("johndoe", "John", "Doe", "john at doe"); | | // start mail server | wiser.setPort(2525); | wiser.start(); | } | | protected void tearDown() throws Exception { | // stop mail server | wiser.stop(); | repositoryService.deleteDeploymentCascade(deploymentId); | super.tearDown(); | } | | public void testOltWorkflow() { | executionService.startProcessInstanceByKey("MultipleTasks"); | | List taskList = taskService.findPersonalTasks("johndoe"); | assertEquals(1, taskList.size()); | Task task = taskList.get(0); | assertEquals("task1", task.getName()); | assertEquals("johndoe", task.getAssignee()); | | // submit the task | taskService.completeTask(task.getId(), "to task2"); /*This is where it goes wrong...*/ | | // verify that the next task is active and has been assigned to | // 'johndoe' | taskList = taskService.findPersonalTasks("johndoe"); | assertEquals(1, taskList.size()); | task = taskList.get(0); | assertEquals("task2", task.getName()); | assertEquals("johndoe", task.getAssignee()); | } | | } === Stacktrace ============================== org.hibernate.NonUniqueResultException: query did not return a unique result: 2 at org.hibernate.impl.AbstractQueryImpl.uniqueElement(AbstractQueryImpl.java:844) at org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:835) at org.jbpm.pvm.internal.hibernate.DbSessionImpl.findTaskByExecution(DbSessionImpl.java:383) at org.jbpm.jpdl.internal.activity.MailListener.notify(MailListener.java:50) at org.jbpm.pvm.internal.model.op.ExecuteEventListener.perform(ExecuteEventListener.java:81) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperationSync(ExecutionImpl.java:637) at org.jbpm.pvm.internal.model.ExecutionImpl.performAtomicOperation(ExecutionImpl.java:597) at org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:398) at org.jbpm.pvm.internal.model.ExecutionImpl.signal(ExecutionImpl.java:384) 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:597) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:197) at org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_4.signal(ExecutionImpl_$$_javassist_4.java) at org.jbpm.pvm.internal.task.TaskImpl.complete(TaskImpl.java:194) at org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:60) at org.jbpm.pvm.internal.cmd.CompleteTaskCmd.execute(CompleteTaskCmd.java:32) at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) at org.jbpm.pvm.internal.tx.StandardTransactionInterceptor.execute(StandardTransactionInterceptor.java:54) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46) at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) at org.jbpm.pvm.internal.svc.TaskServiceImpl.completeTask(TaskServiceImpl.java:96) at org.jbpm.examples.task.multiple.MultipleTasksTest.testOltWorkflow(MultipleTasksTest.java:47) 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:597) at junit.framework.TestCase.runTest(TestCase.java:164) at org.jbpm.test.BaseJbpmTestCase.runTest(BaseJbpmTestCase.java:80) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197) === Debug logs ============================== === Problem description ========================= Problem occurs when two subsequent tasks are both assigned to the same person and the second one contains a notification node View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262469#4262469 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262469 From do-not-reply at jboss.com Tue Oct 27 12:42:09 2009 From: do-not-reply at jboss.com (valeriu.nedelcu) Date: Tue, 27 Oct 2009 12:42:09 -0400 (EDT) Subject: [jboss-user] [Security] - RBAC Profile of XACML Message-ID: <16716347.1256661729553.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi everyone! Our organization is trying to implement an authorization scheme based on JBoss' XACML library (v2.0.4) and RBAC profile of XACML. (RBAC profile is a standard specification available here: http://docs.oasis-open.org/xacml/2.0/access_control-xacml-2.0-rbac-profile1-spec-os.pdf). I had several issues with implementing this profile, mostly related to difficulties in finding policies and policy sets by reference. Therefore I wrote a JUnit test case for the example given in the aforementioned document and ran it inside the jboss-xacml project (latest revision on trunk). The authorization scenario is the following: there are two roles ('employee' and 'manager'), a resource ('purchase order') and two actions ('create' and 'sign'). The employee can only create purchase orders, while the manager has also the ability to sign them. The policies needed for this scenario are described in greater detail in the RBAC profile document, pages 7-12. For each role there are two policy sets, the role policy set (RPS) and the permission policy set (PPS). The RPS is the primary policy set that has to be checked firsthand by the PDP and must include a reference to the applicable PPS. For example, RPS for employee looks like this (XacmlRolePolicySet-employee.xml): | | | | | | | urn:example:role-values:employee | | | | | | | | PPS:employee:role | | and the corresponding PPS is (XacmlPermissionPolicySet-employee.xml): | | | | | | Permissions specifically for the employee role. | | | | | | | | | purchase order | | | | | | | | create | | | | | | | | | | The JBoss XACML Configuration File used (src/test/resouces/test/config/rbacPolicySetConfig.xml): | | | | test/policies/rbac/XacmlRolePolicySet-employee.xml | | test/policies/rbac/XacmlPermissionPolicySet-employee.xml | | | | test/policies/rbac/XacmlRolePolicySet-manager.xml | | test/policies/rbac/XacmlPermissionPolicySet-manager.xml | | | | | | | | | The following request file asks for authorization for an employee that wants to create a purchase order. According to the policy the request should be granted. | | | | | 500 | | | Nick the Employee | | | urn:example:role-values:employee | | | | | purchase order | | | | | create | | | | This one is for an employee who want to sign a purchase order (src/test/resources/test/policies/rbac/sign-purchase-order-by-employee-request.xml): | | | | 500 | | | Nick the Employee | | | urn:example:role-values:employee | | | | | purchase order | | | | | sign | | | | This request should be denied but surprisingly, I got a DECISION_NOT_APPLICABLE. Here is the method: public void testRBACSignPurchaseOrderByEmployee() throws Exception | { | String fileName = "test/config/rbacPolicySetConfig.xml"; | ClassLoader tcl = Thread.currentThread().getContextClassLoader(); | URL configFile = tcl.getResource(fileName); | JAXBContext jc = JAXBContext.newInstance("org.jboss.security.xacml.jaxb"); | assertNotNull("JAXBContext is !null", jc); | Unmarshaller u = jc.createUnmarshaller(); | JAXBElement j = (JAXBElement) u.unmarshal(configFile); | assertNotNull("JAXBElement is !null", j); | | assertNotNull("configFile != null", configFile); | PolicyDecisionPoint pdp = new JBossPDP(j); | TestCase.assertEquals("Sign purchase order by employee should be denied", | XACMLConstants.DECISION_DENY, XACMLTestUtil.getDecision(pdp, | "test/policies/rbac/sign-purchase-order-by-employee-request.xml")); | } | The JUnit test case is a slight adaptation of JBossXACMLConfigUnitTestCase. I ran the test from inside Eclipse SDK and as part of Maven build process, and the results were the same. So my questions are: How this result can be explained? Have I done anything wrong on the configuration level? | Can I configure/implement a policy (module) finder that would discover the policies referenced by PolicySetIdReference or PolicyIdReference elements? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262470#4262470 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262470 From do-not-reply at jboss.com Tue Oct 27 12:54:13 2009 From: do-not-reply at jboss.com (raja8183) Date: Tue, 27 Oct 2009 12:54:13 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: JBoss Messaging 1.4.2 Fails - JBoss AS 5.0.1 Startup Message-ID: <7537297.1256662453231.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> JBoss Messaging 1.4.2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262473#4262473 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262473 From do-not-reply at jboss.com Tue Oct 27 13:01:31 2009 From: do-not-reply at jboss.com (raja8183) Date: Tue, 27 Oct 2009 13:01:31 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: JBoss Messaging 1.4.2 Fails - JBoss AS 5.0.1 Startup Message-ID: <26889226.1256662891995.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> None of the Queues/Topics are deployed. | DEPLOYMENTS IN ERROR: | Deployment "vfsfile:/C:/JavaTools/jboss-5.0.1.GA/server/dispatch/deploy/messaging-service.xml" is in error due to the following reason(s): java.lang.RuntimeException: No Attribute found with name: SecurityDomain for jboss.messaging:service=ServerPeer, attributes: [ProviderVersion, DefaultExpiryQueue, DefaultMaxDeliveryAttempts, ServerAopConfig, JMSProviderName, FailoverCompleteTimeout, JMSVersion, DefaultRedeliveryDelay, StrictTck, Destinations, FailoverStartTimeout, MessageStatistics, RecoverDeliveriesTimeout, DefaultPreserveOrdering, ClientAopConfig, DefaultMessageCounterHistoryDayLimit, DefaultDLQ, SuckerPassword, Instance, DefaultTopicJNDIContext, ServerPeerID, ClusterPullConnectionFactoryName, PostOffice, PersistenceManager, EnableMessageCounters, MessageCounters, ProviderMajorVersion, JMSMajorVersion, DefaultQueueJNDIContext, SecurityStore, JMSUserManager, JMSMinorVersion, SupportsFailover, MessageCounterSamplePeriod, ProviderMinorVersion] | Deployment "jboss.messaging:service=ServerPeer" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.messaging:service=ServerPeer' ** | The messaging-service.xml is the default service file: | | | | | | | | | ${jboss.messaging.ServerPeerID:0} | | | | /queue | | | | /topic | | jboss.messaging:service=PostOffice | | | | java:/jaas/messaging | | | | | | | | | | | | jboss.messaging.destination:service=Queue,name=DLQ | | | | 10 | | | | jboss.messaging.destination:service=Queue,name=ExpiryQueue | | | | 0 | | | | 5000 | | | | 60000 | | | | 300000 | | | | -1 | | | | jboss.messaging.connectionfactory:service=ClusterPullConnectionFactory | | | | false | | | | 300000 | | | | false | | | | jboss.messaging:service=PersistenceManager | | jboss.messaging:service=JMSUserManager | | jboss.messaging:service=Connector,transport=bisocket | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262478#4262478 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262478 From do-not-reply at jboss.com Tue Oct 27 13:17:43 2009 From: do-not-reply at jboss.com (JimDwyer) Date: Tue, 27 Oct 2009 13:17:43 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Custom Authentication/Identity Module Message-ID: <26688759.1256663863094.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> uhhmmm....thanks...uhhmmmm...I was looking for the answer in the identity project examples....uhhmmm....but will look in the jBPM examples in the uhhmmm... 4.1 release. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262479#4262479 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262479 From do-not-reply at jboss.com Tue Oct 27 13:22:37 2009 From: do-not-reply at jboss.com (mawenzel) Date: Tue, 27 Oct 2009 13:22:37 -0400 (EDT) Subject: [jboss-user] [JMX] - jmx-console depends on generic named ear-file Message-ID: <11314112.1256664157218.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have a filter class (for the JMX-Console) in an ear-file (test_xxx.ear) which is dynamically named. Now I have the following line in the jboss-web.xml of the jmx-console: | jboss.j2ee:service=EARDeployment,url='test_xxx.ear' | The problem is: the ear-file has a dynamically-given name (like test_010.ear, test_020.ear,...) I tried an url with an wildcard and a directory, but the result is the same: I get a warning-message like: MBeans waiting for other MBeans... What can I do? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262481#4262481 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262481 From do-not-reply at jboss.com Tue Oct 27 13:33:22 2009 From: do-not-reply at jboss.com (h2kinfosys) Date: Tue, 27 Oct 2009 13:33:22 -0400 (EDT) Subject: [jboss-user] [Persistence] - Re: dedicated server process results in ORA-24777 error Message-ID: <4086905.1256664802343.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If we write the bellow connection URL it works fine, without providing Server=SHARED. jdbc:oracle:thin:@(description=((address=(protocol=tcp)(host=mana-jb)(port=1521)))(connect_data=(SID=testdb) I would like to know how to find out the JBOss is using Shared Server connection pool? What are the approaches we need to test to make sure the Database connections are SHARED? Thank you, Mahesh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262483#4262483 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262483 From do-not-reply at jboss.com Tue Oct 27 13:47:04 2009 From: do-not-reply at jboss.com (chubinator) Date: Tue, 27 Oct 2009 13:47:04 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Unable to process deployment descriptor for context and @Web Message-ID: <21149113.1256665624439.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I've created some JbossWS web services using the top-down approach and wsconsume. I'm deploying a Stateless EJB implementation of one of my services to JBoss 5.1.0. It all deploys fine, but I get this warning: WARNING [config] Unable to process deployment descriptor for context '/myapp' My EJB looks like this: @Stateless | @WebService | @WebContext( contextRoot="/myapp" ) | public class MyServiceBean implements com.company.webservices.myapp.v1.MyServicePortType { My deployment package is a .ear file with the following contents: META-INF/application.xml | myservices.jar | myapp.jar The contents of the application.xml is: | | myapp-1.0 | | myapp.jar | | | myservices.jar | | I spent a lot of time searching around the internet and the forums, and the best I can figure is that JBoss wants me to configure the context some place. The two examples I found reference some context.xml file that can be either in the WEB-INF folder of the war or configured as part of the JBoss server (outside my ear). I was not able to locate a DTD for this context.xml file and I'd really like to include it in my .ear. I'll generate a war if necessary, but want to be sure I understand what JBoss expects to see. Any help is greatly appreciated, Mark View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262487#4262487 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262487 From do-not-reply at jboss.com Tue Oct 27 13:55:40 2009 From: do-not-reply at jboss.com (kkoster) Date: Tue, 27 Oct 2009 13:55:40 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - lookupLocaly failing Message-ID: <19054049.1256666140095.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am attempting to deploy an EAR that contains annotated EJB3 beans. I have already done this on several instances of JBoss, but this one is causing me problems. I am getting the following exception. | javax.naming.NamingException: Could not dereference object [Root exception is java.lang.RuntimeException: Exception while trying to locate proxy factory in JNDI, at key ProxyFactory/risk-server/UserContextManagementBean/kdr/remote/UserContextManagement/KDR] | I have checked the JNDI tree in the web-console using JNDIView and can see the name that I am looking up (i.e. kdr/remote/UserContextManagement) registered with what appear to the the appropriate bindings. I turned up the logging to trace on org.jboss.ha.jndi and got the following output: | 2009-10-27 13:38:56,522 TRACE [org.jboss.ha.jndi.HANamingService] (JBoss System Threads(1)-4) Accepted bootstrap client: Socket[addr=/192.168.11.3,port=51953,localport=1100] | 2009-10-27 13:38:57,086 TRACE [org.jboss.ha.jndi.impl.jbc.JBossCacheDistributedTreeManager] (RMI TCP Connection(4)-192.168.11.3) lookup, name=kdr/remote/UserContextManagement | 2009-10-27 13:38:57,087 TRACE [org.jboss.ha.jndi.HAJNDI] (RMI TCP Connection(4)-192.168.11.3) lookupLocally, name=kdr/remote/UserContextManagement | 2009-10-27 13:38:57,124 TRACE [org.jboss.ha.jndi.impl.jbc.JBossCacheDistributedTreeManager] (RMI TCP Connection(4)-192.168.11.3) lookup, name=ProxyFactory/risk-server/UserContextManagementBean/kdr/remote/UserContextManagement/KDR | 2009-10-27 13:38:57,125 TRACE [org.jboss.ha.jndi.HAJNDI] (RMI TCP Connection(4)-192.168.11.3) lookupLocally, name=ProxyFactory/risk-server/UserContextManagementBean/kdr/remote/UserContextManagement/KDR | 2009-10-27 13:38:57,125 TRACE [org.jboss.ha.jndi.HAJNDI] (RMI TCP Connection(4)-192.168.11.3) lookupLocally failed, name=ProxyFactory/risk-server/UserContextManagementBean/kdr/remote/UserContextManagement/KDR | javax.naming.NameNotFoundException: ProxyFactory not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) | at org.jnp.server.NamingServer.getObject(NamingServer.java:785) | at org.jnp.server.NamingServer.lookup(NamingServer.java:396) | at org.jboss.ha.jndi.HAJNDI.lookupLocally(HAJNDI.java:131) | at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:202) | 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:597) | at org.jboss.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.java:209) | 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:597) | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) | at sun.rmi.transport.Transport$1.run(Transport.java:159) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Transport.java:155) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) | at java.lang.Thread.run(Thread.java:619) | 2009-10-27 13:38:57,125 TRACE [org.jboss.ha.jndi.HAJNDI] (RMI TCP Connection(4)-192.168.11.3) calling lookupLocally(ProxyFactory/risk-server/UserContextManagementBean/kdr/remote/UserContextManagement/KDR) on HAJNDI cluster | 2009-10-27 13:38:57,132 TRACE [org.jboss.ha.jndi.HAJNDI] (RMI TCP Connection(4)-192.168.11.3) Returned results size: 0 | It looks like an internal caching issue of the proxy. This is going a bit deeper than I can spend time looking at right now. If anyone has any ideas what is going on here, I would be grateful for some suggestions. Karl View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262491#4262491 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262491 From do-not-reply at jboss.com Tue Oct 27 14:18:51 2009 From: do-not-reply at jboss.com (mramos) Date: Tue, 27 Oct 2009 14:18:51 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Cache configuration question Message-ID: <17585411.1256667531627.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi. I'm currently migrating our JBoss Cluster from 4.2.3 to 5.1.0. We already have almost everything working, just a small piece is missing: Pojo Cache. We make heavy use of this feature, so all/any help on this is much appreciated! My configuration in JBossAS 4.2.3 is: cat jboss423/server/all/deploy/pojocache-service.xml: | | | | | | | jboss:service=Naming | | | | | | | | REPEATABLE_READ | | | REPL_ASYNC | | | | ${jboss.partition.name:DefaultPartition}-PojoCacheCluster | | | | | | | | | | | | | | | | | | | | | | | | | | | | false | | | 15000 | | | 15000 | | | 10000 | | | | | 5 | org.jboss.cache.eviction.LRUPolicy | | | 0 | 86400 | | | | | | | true | / | false | | | | org.jboss.cache.loader.FileCacheLoader | | false | | true | | false | | | | | | In my work to migrate this config to something equal in jboss 5.1.0, I got something like this. cat jboss510/server/all/deploy/pojocache-service.xml: | | | | | | jboss:service=TransactionManager | | | | | READ_COMMITTED | | | REPL_ASYNC | | | PojoCacheCluster | | | | | | | | | | | | | | | | | | | | | | | | false | | | 15000 | | | 15000 | | | 10000 | | | | The problem is i can't define an eviction policy and/or maxNodes attribute. I know i'm doing something wrong (obviously), but i can't undestand what. Examples on how to configure this properly are welcome! Regards, Miguel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262496#4262496 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262496 From do-not-reply at jboss.com Tue Oct 27 14:57:34 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 27 Oct 2009 14:57:34 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <7897054.1256669854693.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You could count on my vote. I consider you to point out the use case in the feature request. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262502#4262502 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262502 From do-not-reply at jboss.com Tue Oct 27 15:01:40 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 27 Oct 2009 15:01:40 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x? Message-ID: <20764517.1256670100930.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I thought there was a getter for the Hibernate session object but there is just a setter in ProcessEngine. So if you create the hibernate session on your own and inject it into the Process Engine you can use the same session at the engine. I don't know if there is a reason for the missing getter. http://docs.jboss.com/jbpm/v4/javadocs/org/jbpm/api/ProcessEngine.html P.S.: I assumed you were talking about jBPM 4.1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262503#4262503 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262503 From do-not-reply at jboss.com Tue Oct 27 15:02:32 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 27 Oct 2009 15:02:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x? Message-ID: <16228669.1256670152481.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I hate this forum for the impossibility to edit posts to correct typos!! :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262504#4262504 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262504 From do-not-reply at jboss.com Tue Oct 27 15:06:46 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 27 Oct 2009 15:06:46 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to get JBPM identities in ESB? Message-ID: <2623474.1256670406219.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I don't know what you are trying to achieve. So please clarify. If you want to access jbpm's user management you would need to obtain a reference of the identity service: http://docs.jboss.com/jbpm/v4/javadocs/org/jbpm/api/IdentityService.html Afterwards you could use findUserById() or whatever. HTH View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262505#4262505 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262505 From do-not-reply at jboss.com Tue Oct 27 15:08:59 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 27 Oct 2009 15:08:59 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Multiple instances with synchronization Message-ID: <13201624.1256670539633.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I neither have the time nor the knowledge right now but I propose to discuss a concept in the developers' forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262506#4262506 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262506 From do-not-reply at jboss.com Tue Oct 27 15:10:32 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Tue, 27 Oct 2009 15:10:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4] Migration from one process definition version to Message-ID: <22015076.1256670632715.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I doubt that just changing the process definition works. There is already documentation on this feature checked into the trunk. So why don't checkout the documentation to find out? :) >From what I saw in the documentation there are 3 basic use cases right now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262508#4262508 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262508 From do-not-reply at jboss.com Tue Oct 27 16:01:43 2009 From: do-not-reply at jboss.com (steven7846) Date: Tue, 27 Oct 2009 16:01:43 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - How to open a simple popup .xhtml(not a portlet popup) from Message-ID: <6676887.1256673703636.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Everything is in the title. I have looked through google but i was not able to get the response. Does Anybody who have the solution could explain to me with code details how can I call a simple popup from a portlet? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262515#4262515 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262515 From do-not-reply at jboss.com Tue Oct 27 17:53:13 2009 From: do-not-reply at jboss.com (kkoster) Date: Tue, 27 Oct 2009 17:53:13 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: lookupLocaly failing Message-ID: <26744523.1256680393801.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry, forgot to mention this is on JBoss 5.1.0.GA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262524#4262524 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262524 From do-not-reply at jboss.com Tue Oct 27 19:54:31 2009 From: do-not-reply at jboss.com (kkoster) Date: Tue, 27 Oct 2009 19:54:31 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: lookupLocaly failing Message-ID: <23996874.1256687671839.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Just to add more detail. I turned up the logging on org.jnp.server to TRACE (it produces a lot of output) and found this in the log: | 2009-10-27 19:09:23,284 TRACE [org.jnp.server.NamingServer] (main) bind UserContextManagement=Reference Class Name: Proxy for: org.kdr.security.user.UserContextManagementRemote | Type: ProxyFactoryKey | Content: ProxyFactory/risk-server/UserContextManagementBean/kdr/remote/UserContextManagement/KDR | Type: EJB Container Name | Content: jboss.j2ee:ear=risk-server.ear,jar=risk-ejb.jar,name=UserContextManagementBean,service=EJB3 | Type: Proxy Factory is Local | Content: false | Type: Remoting Host URL | Content: socket://GFL1:3873/? | Type: Remote Business Interface | Content: org.kdr.security.user.UserContextManagementRemote | Type: Cluster Partition Name | Content: KDR | Type: Cluster Proxy Factory Load Balance Policy | Content: org.jboss.ha.client.loadbalance.RoundRobin | Type: Cluster Family Name | Content: jboss.j2ee:ear=risk-server.ear,jar=risk-ejb.jar,name=UserContextManagementBean,service=EJB3socketKDR | Type: Cluster Target Remoting Host URL | Content: socket://GFL1:3873/? | , Proxy for: org.kdr.security.user.UserContextManagementRemote | | 2009-10-27 19:09:23,285 TRACE [org.jnp.server.NamingServer] (main) org.jnp.server.NamingServer at 66bc8644, setBinding: name=UserContextManagement, obj=Reference Class Name: Proxy for: org.kdr.security.user.UserContextManagementRemote | Type: ProxyFactoryKey | Content: ProxyFactory/risk-server/UserContextManagementBean/kdr/remote/UserContextManagement/KDR | Type: EJB Container Name | Content: jboss.j2ee:ear=risk-server.ear,jar=risk-ejb.jar,name=UserContextManagementBean,service=EJB3 | Type: Proxy Factory is Local | Content: false | Type: Remoting Host URL | Content: socket://GFL1:3873/? | Type: Remote Business Interface | Content: org.kdr.security.user.UserContextManagementRemote | Type: Cluster Partition Name | Content: KDR | Type: Cluster Proxy Factory Load Balance Policy | Content: org.jboss.ha.client.loadbalance.RoundRobin | Type: Cluster Family Name | Content: jboss.j2ee:ear=risk-server.ear,jar=risk-ejb.jar,name=UserContextManagementBean,service=EJB3socketKDR | Type: Cluster Target Remoting Host URL | Content: socket://GFL1:3873/? | , className=Proxy for: org.kdr.security.user.UserContextManagementRemote | This looks like the been and the relevant interfaces/classes/names are being parsed out correctly. I later see them in what looks like the existing bindings with the name server when new artifacts are being bound. Example: | 2009-10-27 19:09:23,469 TRACE [org.jnp.server.NamingServer] (main) org.jnp.server.NamingServer at 7841514b, No binding for: BusinessCalendarManagementBean in context risk-server, bindings: | EnvironmentObjectSourceManagementBean=org.jnp.server.NamingServer at 422f4736 | ParameterConstructorManagementBean=org.jnp.server.NamingServer at 5711297a | EnvironmentObjectFactoryContextManagementBean=org.jnp.server.NamingServer at 550c45fe | InstrumentEnvironmentMatcherManagementBean=org.jnp.server.NamingServer at 3fbd15da | TradeManagementBean=org.jnp.server.NamingServer at 69d7135a | RoleContextManagementBean=org.jnp.server.NamingServer at ebab1b6 | PerturbationRuleManagementBean=org.jnp.server.NamingServer at 1d89e611 | TranslationSourceManagementBean=org.jnp.server.NamingServer at 553d70ce | SpotCurveHistoryStateManagementBean=org.jnp.server.NamingServer at 780bfb81 | TradeMatchStateManagementBean=org.jnp.server.NamingServer at 27f7ee30 | TradeMatchContextManagementBean=org.jnp.server.NamingServer at 565de293 | ObjectStateManagementBean=org.jnp.server.NamingServer at 3fa472bf | AggregatorNameManagementBean=org.jnp.server.NamingServer at 3822ee3c | TradeSettlementApplyRuleManagementBean=org.jnp.server.NamingServer at 435f7db5 | EnvironmentObjectFactoryConfigurationManagementBean=org.jnp.server.NamingServer at 3f834f84 | TradeReaderBuilderManagementBean=org.jnp.server.NamingServer at 37f0d3ce | ObjectTypeManagementBean=org.jnp.server.NamingServer at 577c76cd | DateRangeToDayRuleManagementBean=org.jnp.server.NamingServer at 423425c1 | TradeLinkTypeManagementBean=org.jnp.server.NamingServer at 221c02f5 | TradeMatchRuleManagementBean=org.jnp.server.NamingServer at 163542ef | ValuatorManagementBean=org.jnp.server.NamingServer at 3e6df2b0 | TradeSettlementRuleManagementBean=org.jnp.server.NamingServer at 1b9f1a8b | UnitManagementBean=org.jnp.server.NamingServer at 20e38957 | EnvironmentObjectFactoryManagementBean=org.jnp.server.NamingServer at 4fc74c82 | ModelTypeManagementBean=org.jnp.server.NamingServer at 7a70c042 | EnvironmentObjectTypeManagementBean=org.jnp.server.NamingServer at 7d065976 | ValuationAggregatorSpecificationManagementBean=org.jnp.server.NamingServer at 6b091424 | PerturbationContextManagementBean=org.jnp.server.NamingServer at 5622ea37 | InstrumentTypeManagementBean=org.jnp.server.NamingServer at 44b89dd0 | CashTypeManagementBean=org.jnp.server.NamingServer at 6811c805 | TradeFeeRuleContextManagementBean=org.jnp.server.NamingServer at 361227f | RoleManagementBean=org.jnp.server.NamingServer at 1884bb5 | ObjectTypeStateManagementBean=org.jnp.server.NamingServer at dd0ca4f | TradeMatchManagementBean=org.jnp.server.NamingServer at 3a135e2a | CurveStrategyContextManagementBean=org.jnp.server.NamingServer at 60648df2 | SynchWorkerManagementBean=org.jnp.server.NamingServer at 61df79fe | TradeLinkStateManagementBean=org.jnp.server.NamingServer at 1523db0 | TradeFeeApplyRuleManagementBean=org.jnp.server.NamingServer at 793044e | TradeFeeRuleManagementBean=org.jnp.server.NamingServer at e5ac92f | LocationManagementBean=org.jnp.server.NamingServer at 104c2c06 | TradeFeeSuppressionRuleManagementBean=org.jnp.server.NamingServer at 188d7d8b | JMSEmitterBean=org.jnp.server.NamingServer at 840509b | ValuatorContextManagementBean=org.jnp.server.NamingServer at 6a562541 | TradeFeeContextManagementBean=org.jnp.server.NamingServer at 4dd2c7f5 | ValuationJobSpecificationManagementBean=org.jnp.server.NamingServer at 3ae6f61c | BucketerManagementBean=org.jnp.server.NamingServer at 3ea6da02 | TradeSettlementRuleContextManagementBean=org.jnp.server.NamingServer at 6ba964d4 | ValueTypeManagementBean=org.jnp.server.NamingServer at 6dc4a8dd | ScenarioManagementBean=org.jnp.server.NamingServer at 19dad138 | UnitConvertManagementBean=org.jnp.server.NamingServer at 2cafed2f | PerturbationRuleContextManagementBean=org.jnp.server.NamingServer at 1d836fe | TradeSourceManagementBean=org.jnp.server.NamingServer at cf72664 | HolidayTableManagementBean=org.jnp.server.NamingServer at 77df9558 | TranslationManagementBean=org.jnp.server.NamingServer at 2a9d704c | PerturbationApplyRuleManagementBean=org.jnp.server.NamingServer at 2486e1cd | InstrumentTemplateManagementBean=org.jnp.server.NamingServer at 5c31d43 | AggregatorExtractorManagementBean=org.jnp.server.NamingServer at 18979865 | DayCountManagementBean=org.jnp.server.NamingServer at 44130dba | CurveStrategyManagementBean=org.jnp.server.NamingServer at 204d57a2 | TranslationTypeManagementBean=org.jnp.server.NamingServer at 260f204b | PortfolioManagementBean=org.jnp.server.NamingServer at 7bc08345 | KeywordRendererManagementBean=org.jnp.server.NamingServer at 6c9de34c | TradeSettlementContextManagementBean=org.jnp.server.NamingServer at 4807f3e2 | TimeContextManagementBean=org.jnp.server.NamingServer at 54e5ebc5 | DateRangeToDateRangeRuleManagementBean=org.jnp.server.NamingServer at 744f439d | UserContextManagementBean=org.jnp.server.NamingServer at 65821e23 | GroupContextManagementBean=org.jnp.server.NamingServer at 78d96b4b | ProductManagementBean=org.jnp.server.NamingServer at 5b19393d | ShareClassManagementBean=org.jnp.server.NamingServer at 40b96b99 | But when the remote application makes a JNDI lookup the following details emerge: | 2009-10-27 19:11:50,589 TRACE [org.jboss.ha.jndi.HANamingService] (JBoss System Threads(1)-4) Accepted bootstrap client: Socket[addr=/192.168.11.3,port=57934,localport=1100] | 2009-10-27 19:11:51,619 TRACE [org.jboss.ha.jndi.impl.jbc.JBossCacheDistributedTreeManager] (RMI TCP Connection(3)-192.168.11.3) lookup, name=kdr/remote/UserContextManagement | 2009-10-27 19:11:51,620 TRACE [org.jboss.ha.jndi.HAJNDI] (RMI TCP Connection(3)-192.168.11.3) lookupLocally, name=kdr/remote/UserContextManagement | 2009-10-27 19:11:51,786 TRACE [org.jboss.ha.jndi.impl.jbc.JBossCacheDistributedTreeManager] (RMI TCP Connection(3)-192.168.11.3) lookup, name=ProxyFactory/risk-server/UserContextManagementBean/kdr/remote/UserContextManagement/KDR | 2009-10-27 19:11:51,786 TRACE [org.jboss.ha.jndi.HAJNDI] (RMI TCP Connection(3)-192.168.11.3) lookupLocally, name=ProxyFactory/risk-server/UserContextManagementBean/kdr/remote/UserContextManagement/KDR | 2009-10-27 19:11:51,786 TRACE [org.jnp.server.NamingServer] (RMI TCP Connection(3)-192.168.11.3) org.jnp.server.NamingServer at 7e628e42, No binding for: ProxyFactory in context , bindings: | UserTransactionSessionFactory=org.jnp.interfaces.MarshalledValuePair at 1951dea9 | risk-server=org.jnp.server.NamingServer at 7841514b | UUIDKeyGeneratorFactory=org.jnp.interfaces.MarshalledValuePair at 36c2b1d3 | HAPartition=org.jnp.server.NamingServer at 1206cda0 | SecureManagementView=org.jnp.server.NamingServer at 2113cfd1 | SecureDeploymentManager=org.jnp.server.NamingServer at 1624bdb0 | HiLoKeyGeneratorFactory=org.jnp.interfaces.MarshalledValuePair at 435b92dd | XAConnectionFactory=org.jnp.interfaces.MarshalledValuePair at 72381307 | topic=org.jnp.server.NamingServer at 32ae8db4 | kdr=org.jnp.server.NamingServer at 4f840e24 | ClusteredConnectionFactory=org.jnp.interfaces.MarshalledValuePair at 7cb9682a | ProfileService=org.jnp.interfaces.MarshalledValuePair at 10f1abd1 | HASessionState=org.jnp.server.NamingServer at 1d7275cd | SecureProfileService=org.jnp.server.NamingServer at 4127e183 | queue=org.jnp.server.NamingServer at 56d6d6c6 | ClusteredXAConnectionFactory=org.jnp.interfaces.MarshalledValuePair at 7065dd5e | UserTransaction=Reference Class Name: org.jboss.tm.usertx.client.ClientUserTransaction | | invokers=org.jnp.server.NamingServer at 5e0fae9 | ConnectionFactory=org.jnp.interfaces.MarshalledValuePair at 536e5b7b | jmx=org.jnp.server.NamingServer at 755392d5 | JAXR=org.jnp.interfaces.MarshalledValuePair at 5edbde1 | persistence.unit:unitName=risk-server.ear=org.jnp.server.NamingServer at 14dd3d | TomcatAuthenticators=org.jnp.interfaces.MarshalledValuePair at 40b29eda | console=org.jnp.server.NamingServer at 20550f84 | | 2009-10-27 19:11:51,787 TRACE [org.jboss.ha.jndi.HAJNDI] (RMI TCP Connection(3)-192.168.11.3) lookupLocally failed, name=ProxyFactory/risk-server/UserContextManagementBean/kdr/remote/UserContextManagement/KDR | javax.naming.NameNotFoundException: ProxyFactory not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) | at org.jnp.server.NamingServer.getObject(NamingServer.java:785) | at org.jnp.server.NamingServer.lookup(NamingServer.java:396) | at org.jboss.ha.jndi.HAJNDI.lookupLocally(HAJNDI.java:131) | at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:202) | 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:597) | at org.jboss.ha.framework.server.HARMIServerImpl.invoke(HARMIServerImpl.java:209) | 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:597) | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) | at sun.rmi.transport.Transport$1.run(Transport.java:159) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Transport.java:155) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) | at java.lang.Thread.run(Thread.java:619) | 2009-10-27 19:11:51,787 TRACE [org.jboss.ha.jndi.HAJNDI] (RMI TCP Connection(3)-192.168.11.3) calling lookupLocally(ProxyFactory/risk-server/UserContextManagementBean/kdr/remote/UserContextManagement/KDR) on HAJNDI cluster | 2009-10-27 19:11:51,791 TRACE [org.jboss.ha.framework.interfaces.HAPartition.KDR] (RMI TCP Connection(3)-192.168.11.3) callMethodOnCluster(true), objName=HAJNDI, methodName=lookupLocally, members=[] | 2009-10-27 19:11:51,791 TRACE [org.jboss.ha.framework.server.ClusterPartition$RpcHandler] (RMI TCP Connection(3)-192.168.11.3) destination list of HAJNDI.lookupLocally() is empty: no need to send message | 2009-10-27 19:11:51,791 TRACE [org.jboss.ha.jndi.HAJNDI] (RMI TCP Connection(3)-192.168.11.3) Returned results size: 0 | It looks like the only bindings are the root of the name tree. I have this application running without any problems on Windows but when I moved to Linux, this problem arose. The annotations on this bean are: | @Stateless | @Clustered(loadBalancePolicy = "org.jboss.ha.client.loadbalance.RandomRobin", partition = "KDR") | @Local( { UserContextManagementLocal.class }) | @LocalBinding(jndiBinding = "kdr/local/UserContextManagement") | @Remote( { UserContextManagementRemote.class }) | @RemoteBinding(jndiBinding = "kdr/remote/UserContextManagement") | public class UserContextManagementBean implements UserContextManagementLocal, | UserContextManagementRemote, Serializable { | I am stumped as to what is going on. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262532#4262532 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262532 From do-not-reply at jboss.com Tue Oct 27 20:22:29 2009 From: do-not-reply at jboss.com (brarpavi) Date: Tue, 27 Oct 2009 20:22:29 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - server port in use 8080 error!! Message-ID: <23356229.1256689349993.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi , iam new to jboss and have just installed jboss following the below websites intructions... http://techieexchange.wordpress.com/2008/02/01/how-to-make-jboss-seam-work-with-eclipse-for-windows/#comment-128 but when i started the server has the website owner had told(before ant deployment) it gives server port in use 8080 so please guide me what to do as i have to submit my assignment using this s/w View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262533#4262533 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262533 From do-not-reply at jboss.com Tue Oct 27 21:18:47 2009 From: do-not-reply at jboss.com (steeven) Date: Tue, 27 Oct 2009 21:18:47 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean Message-ID: <33539847.1256692727770.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> here is the full error stacktrace: 09:12:17,884 ERROR [AbstractKernelController] Error installing to Start: name=jboss.j2ee:ear=my.ear,jar=myserver.jar,name=MyService,service=EJB3 state=Create | java.lang.RuntimeException: java.lang.reflect.InvocationTargetException | at org.jboss.ejb3.service.ServiceContainer.invokeOptionalMethod(ServiceContainer.java:381) | at org.jboss.ejb3.service.ServiceContainer.lockedStart(ServiceContainer.java:264) | at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:884) | 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:597) | at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) | at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) | at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) | at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) | at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540) | at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121) | at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Thread.java:619) | Caused by: java.lang.reflect.InvocationTargetException | 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:597) | at org.jboss.ejb3.service.ServiceContainer.invokeOptionalMethod(ServiceContainer.java:369) | ... 62 more | Caused by: javax.naming.NameNotFoundException: env not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:771) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:779) | at org.jnp.server.NamingServer.getObject(NamingServer.java:785) | at org.jnp.server.NamingServer.lookup(NamingServer.java:396) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:726) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:833) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:686) | at javax.naming.InitialContext.lookup(InitialContext.java:392) | at org.steeven.server.MyService.start(EmsServer.java:43) | ... 67 more This exception happened in Service POJO start() method, no client code. An interesting thing: if an EJB is invoked first, new InitialContext().lookup("java:comp/env/em") will work without exception. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262535#4262535 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262535 From do-not-reply at jboss.com Tue Oct 27 21:54:57 2009 From: do-not-reply at jboss.com (gaohoward) Date: Tue, 27 Oct 2009 21:54:57 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: JBM 1.4.7 Compatibility with JBossAS 4.2.3 and Release D Message-ID: <9002115.1256694897486.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, The latest release for 4.2.3 is 1.4.5.GA. 1.4.7 should be the next release. But it's likely a release for AS5. However we haven't decided yet the release date. If you have any issues that want to be fixed into next release, feel free to add them to JIRA. Thanks. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262536#4262536 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262536 From do-not-reply at jboss.com Tue Oct 27 22:02:47 2009 From: do-not-reply at jboss.com (gaohoward) Date: Tue, 27 Oct 2009 22:02:47 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: 1.4.x Topic Subscriber and TTL'ed Messages Message-ID: <31744538.1256695367265.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It should not be necessary for a subscriber to connect to each node in order to receive all of its messages. In JBM if message sucker is configured, you can receive messages from any node in the cluster. The user guide provides detailed info about it. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262537#4262537 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262537 From do-not-reply at jboss.com Tue Oct 27 22:08:44 2009 From: do-not-reply at jboss.com (gaohoward) Date: Tue, 27 Oct 2009 22:08:44 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: JBoss Messaging 1.4.2 Fails - JBoss AS 5.0.1 Startup Message-ID: <25409000.1256695724402.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> 1.4.2 is not for AS5. Pls try 1.4.3, or 1.4.6 (latest) Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262538#4262538 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262538 From do-not-reply at jboss.com Tue Oct 27 22:32:42 2009 From: do-not-reply at jboss.com (ozizka@redhat.com) Date: Tue, 27 Oct 2009 22:32:42 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - ManagementView API question/comment Message-ID: <13025176.1256697162526.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, regarding ManagementView#getMatchingDeploymentName( String regex ): 1) Shouldn't the name be ...Names? 2) What's the point of throwing an exception in case of zero names found? Why not just reply with an empty set? Now when I just want to check remotely whether or not something is deployed, I have to: | public boolean isDeployed( String name ){ | try { | Set names = currentProfileView.getMatchingDeploymentName( name ); | if( matchingNames.size() > 0 ) | return true; | } catch( Exception ex ){ | if( ex.getCause() != null && ex.getCause().getCause() != null && | ex.getCause().getCause() instanceof NoSuchDeploymentException ){ | return false; | } else { | throw ex; | } | } | instead of | return currentProfileView.getMatchingDeploymentName( name ).size() > 0; | 3) The same applies to getDeployment( String name ) - why not just return null? Perhaps there are some tech reasons to do it this ugly way, but I would like it to have the API more user-friendly. Thanks, Ondra View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262540#4262540 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262540 From do-not-reply at jboss.com Tue Oct 27 22:36:51 2009 From: do-not-reply at jboss.com (gaohoward) Date: Tue, 27 Oct 2009 22:36:51 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Mutable Objects inside ObjectMessage and rollback behavi Message-ID: <32630105.1256697411485.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, You can try to set RedeliveryDelay attribute in your destination configuration file to be something greater than zero. Howard View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262541#4262541 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262541 From do-not-reply at jboss.com Tue Oct 27 22:43:23 2009 From: do-not-reply at jboss.com (ozizka@redhat.com) Date: Tue, 27 Oct 2009 22:43:23 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Re: ManagementView API question/comment Message-ID: <23262425.1256697803143.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> According to the following legacy code which worked with AS 5 snapshots, has this behavior changed? | managedDeployment = currentProfileView.getDeployment(deployment); | return managedDeployment != null; | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262543#4262543 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262543 From do-not-reply at jboss.com Tue Oct 27 22:59:49 2009 From: do-not-reply at jboss.com (ozizka@redhat.com) Date: Tue, 27 Oct 2009 22:59:49 -0400 (EDT) Subject: [jboss-user] [JBoss Microcontainer Users] - Re: ManagementView API question/comment Message-ID: <14397389.1256698789557.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "ozizka at redhat.com" wrote : legacy code which worked Actually, it might have not work, because the deployable name changed too, so it started throwing the ex. Anyway, I understand that the common case is that the developer expects the deployment to be in place rather than not, but even in that case, throwing an exception in case of no matches is easy enough to let it up to the caller, opposed to the handling of the exception. Or, a findMatchingDeploymentNames() alternative could be available. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262544#4262544 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262544 From do-not-reply at jboss.com Tue Oct 27 23:05:01 2009 From: do-not-reply at jboss.com (raja8183) Date: Tue, 27 Oct 2009 23:05:01 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: JBoss Messaging 1.4.2 Fails - JBoss AS 5.0.1 Startup Message-ID: <4704637.1256699101364.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> i'll try that tomorrow. I do have a different context root, in which I was successfully able to run the JBM 1.4.2 on my AS 5.0.1. Thanks, Rama View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262545#4262545 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262545 From do-not-reply at jboss.com Tue Oct 27 23:30:29 2009 From: do-not-reply at jboss.com (vimalm) Date: Tue, 27 Oct 2009 23:30:29 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Consuming Web Services when WSDL access / UDDI discovery is Message-ID: <12341404.1256700629968.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> One of the Vendors that we have, expose some .net web services end points but now prohibit access to WSDL via the ?WSDL mechanism as part of a their new security policy. Suddenly the code that used to work to consume their web services no longer works with this new security policy implementation. I have generated the web services stubs using wsconsume and using those stubs to make the calls. One of the thing that Service class does (From JBOSSWS which gets invoked by the generated Stubs) is to open an InputStream to WSDL URL which is now blocked and I get a FileNotFoundException and my process terminates and not able to invoke the business method on the endPoint. Is there a way around this problem or access to the WSDL URL is absolutely required where the web services are hosted? We have been using Jboss 4.2.1GA and the jbossws implementation that came with it. I am hoping that suggestion does not involve upgrading the JBOSS server to 5.X as we are not prepared to do that right now! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262547#4262547 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262547 From do-not-reply at jboss.com Wed Oct 28 01:00:02 2009 From: do-not-reply at jboss.com (rasa) Date: Wed, 28 Oct 2009 01:00:02 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deployment related Issue Message-ID: <10367891.1256706002241.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "PeterJ" wrote : I have no idea what 3.2.5 did if you did not specify a queue name (or how one could be specified outside the ejb-jar.xml file), but apparently 4.2.3 wants one. I'll leave it to you to look up the config settings. No actually what we are doing is we are creating queue througha class which is deployed as a sar file and it is bounded with jboss. So no need of queue name in dd. and our standardjboss.xml file is | first_queue | Sending Message Driven Bean | first_queue | jboss.j2ee:jndiName=local/MessageMDB,service=EJB,plugin=invoker,binding=Receiving-message-driven-bean | I feel the issue is with the depends tag. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262550#4262550 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262550 From do-not-reply at jboss.com Wed Oct 28 01:21:30 2009 From: do-not-reply at jboss.com (grdzeli_kaci) Date: Wed, 28 Oct 2009 01:21:30 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: server port in use 8080 error!! Message-ID: <26057185.1256707290582.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "brarpavi" wrote : hi , | iam new to jboss and have just installed jboss following the below websites intructions... | | http://techieexchange.wordpress.com/2008/02/01/how-to-make-jboss-seam-work-with-eclipse-for-windows/#comment-128 | | but when i started the server has the website owner had told(before ant deployment) it gives server port in use 8080 so please guide me what to do as i have to submit my assignment using this s/w maybe you already have started some application server or web container. for example apache tomcat or something like that. try to lookup your running ports by netstat -atp (linux) or netstat -a (windows). ___________________ Regards, Paata Lominadze. Magticom LTD. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262552#4262552 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262552 From do-not-reply at jboss.com Wed Oct 28 01:30:33 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 28 Oct 2009 01:30:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean Message-ID: <7448396.1256707833364.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Which exact version of JBoss AS is this? Use our latest EJB3 plugin http://www.jboss.org/ejb3/ejb3plugin.html against JBoss AS 5.1.0 and try it out. The latest plugin can be downloaded from here http://www.jboss.org/ejb3/downloads.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262553#4262553 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262553 From do-not-reply at jboss.com Wed Oct 28 01:39:04 2009 From: do-not-reply at jboss.com (grdzeli_kaci) Date: Wed, 28 Oct 2009 01:39:04 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean Message-ID: <22809899.1256708344925.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> which as are you using ? i can give you my full working example. 1. Management Interface: | @Management | public interface CommonServiceMan { | void create() throws SomeMyException; | void start() throws SomeMyException; | void stop() throws SomeMyException; | void destroy() throws SomeMyException; | } | 2.Remote Interface | @Remote | public interface CommonServiceInt { | public String testMethod(String name) throws SomeMyException; | } | 3.Implementation | @Remote(CommonServiceInt.class) | @Service(objectName = "jboss:custom=CommonServiceBean") | public class CommonServiceBean implements CommonServiceInt, | CommonServiceMan { | public String testMethod(String name) throws SomeMyException{ | System.out.println("my test method call"); | return "Hello : "+name; | } | public void create() throws SomeMyException { | System.out.println("Create method ....") ; | } | public void start() throws SomeMyException { | System.out.println("Start method ....") ; | } | public void stop() throws SomeMyException { | System.out.println("Stop method ....") ; | } | public void destroy() throws SomeMyException { | System.out.println("Destroy method ....") ; | } | } | | This example is working fine for me. I test it on jboss as 4.2.1, 4.2.2, 4.2.3 and 5.1.0 (i use each one for different projects.) ______________________ Regards, Paata Lominadze. Magticom LTD. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262554#4262554 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262554 From do-not-reply at jboss.com Wed Oct 28 01:41:45 2009 From: do-not-reply at jboss.com (grdzeli_kaci) Date: Wed, 28 Oct 2009 01:41:45 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean Message-ID: <24714729.1256708505087.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> sorry i missed EntityManager declaration into implementation. | @PersistenceContext(unitName = "CustomerCareOracle") | private EntityManager oracleManager; | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262555#4262555 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262555 From do-not-reply at jboss.com Wed Oct 28 01:45:52 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 28 Oct 2009 01:45:52 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deployment related Issue Message-ID: <6326646.1256708752223.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : jboss.j2ee:jndiName=local/MessageMDB,service=EJB,plugin=invoker,binding=Receiving-message-driven-bean Who sets up that MBean? Looking at the name, it isn't setup by JBoss by default. So something in your application is expected to setup/configure an MBean with that name. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262557#4262557 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262557 From do-not-reply at jboss.com Wed Oct 28 01:52:30 2009 From: do-not-reply at jboss.com (sushantgupta402) Date: Wed, 28 Oct 2009 01:52:30 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4 Error]Getting error while 2 tasks are created on Message-ID: <8571895.1256709150583.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Nils, For me it happens even if the second task in not a notification node. Please see the process definition attached by me. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262559#4262559 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262559 From do-not-reply at jboss.com Wed Oct 28 02:40:16 2009 From: do-not-reply at jboss.com (Xibalban) Date: Wed, 28 Oct 2009 02:40:16 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to get JBPM identities in ESB? Message-ID: <9453894.1256712016258.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I guess that identities listed with http://localhost:8080/jbpm-console/app/identities.jsf?view=users are stored in JBPM database of some sort? I would like to access that from a ESB process to get a user's email address. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262565#4262565 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262565 From do-not-reply at jboss.com Wed Oct 28 02:56:39 2009 From: do-not-reply at jboss.com (reacharavindh) Date: Wed, 28 Oct 2009 02:56:39 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Install Failed - Help Please Message-ID: <14700046.1256712999100.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I am trying to install JBoss AS from Source on Suse Enterprise Linux Ver 11 on Z series. I am a newbie to JBoss. Pl help me with some solutios to this problem I got, linux-13t7:~/Desktop/jboss-5.1.0.GA-src # cd build/ linux-13t7:~/Desktop/jboss-5.1.0.GA-src/build # ls .classpath build-distr.xml build.log docs pom.xml .project build-release.xml build.sh eclipse.psf VersionRelease.java build.bat build.xml etc linux-13t7:~/Desktop/jboss-5.1.0.GA-src/build # ant Buildfile: build.xml maven-init: [echo] Maven Home set to /root/Desktop/jboss-5.1.0.GA-src/tools/maven maven-install: [java] [INFO] Scanning for projects... [java] Downloading: http://repository.jboss.org/maven2/org/jboss/jboss-parent/4/jboss-parent-4.pom [java] Downloading: http://repo1.maven.org/maven2/org/jboss/jboss-parent/4/jboss-parent-4.pom [java] [INFO] ------------------------------------------------------------------------ [java] [ERROR] FATAL ERROR [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] Failed to resolve artifact. [java] [java] GroupId: org.jboss [java] ArtifactId: jboss-parent [java] Version: 4 [java] [java] Reason: Unable to download the artifact from any repository [java] [java] org.jboss:jboss-parent:pom:4 [java] [java] from the specified remote repositories: [java] repository.jboss.org (http://repository.jboss.org/maven2), [java] central (http://repo1.maven.org/maven2), [java] snapshots.jboss.org (http://snapshots.jboss.org/maven2) [java] [java] [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] Trace [java] org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.jboss:jboss-parent for project: org.jboss.jbossas:jboss-as-component-matrix:pom:5.1.0.GA for project org.jboss.jbossas:jboss-as-component-matrix:pom:5.1.0.GA [java] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) [java] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292) [java] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) [java] at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [java] at java.lang.reflect.Method.invoke(Method.java:618) [java] at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) [java] at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) [java] at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) [java] at org.codehaus.classworlds.Launcher.main(Launcher.java:375) [java] Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find parent: org.jboss:jboss-parent for project: org.jboss.jbossas:jboss-as-component-matrix:pom:5.1.0.GA for project org.jboss.jbossas:jboss-as-component-matrix:pom:5.1.0.GA [java] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1370) [java] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1387) [java] at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:821) [java] at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:506) [java] at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:198) [java] at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583) [java] at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461) [java] at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) [java] ... 11 more [java] Caused by: org.apache.maven.project.ProjectBuildingException: POM 'org.jboss:jboss-parent' not found in repository: Unable to download the artifact from any repository [java] [java] org.jboss:jboss-parent:pom:4 [java] [java] from the specified remote repositories: [java] repository.jboss.org (http://repository.jboss.org/maven2), [java] central (http://repo1.maven.org/maven2), [java] snapshots.jboss.org (http://snapshots.jboss.org/maven2) [java] for project org.jboss:jboss-parent [java] at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:603) [java] at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1366) [java] ... 18 more [java] Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable to download the artifact from any repository [java] [java] org.jboss:jboss-parent:pom:4 [java] [java] from the specified remote repositories: [java] repository.jboss.org (http://repository.jboss.org/maven2), [java] central (http://repo1.maven.org/maven2), [java] snapshots.jboss.org (http://snapshots.jboss.org/maven2) [java] [java] at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:212) [java] at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:74) [java] at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:556) [java] ... 19 more [java] Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to download the artifact from any repository [java] at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:331) [java] at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:200) [java] ... 21 more [java] [INFO] ------------------------------------------------------------------------ [java] [INFO] Total time: < 1 second [java] [INFO] Finished at: Wed Oct 28 12:15:02 GMT+05:30 2009 [java] [INFO] Final Memory: 4M/7M [java] [INFO] ------------------------------------------------------------------------ [java] Java Result: 1 BUILD FAILED /root/Desktop/jboss-5.1.0.GA-src/build/build.xml:1084: Unable to build maven modules. See maven output for details. Total time: 3 seconds linux-13t7:~/Desktop/jboss-5.1.0.GA-src/build # thanks in advance Aravindh View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262566#4262566 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262566 From do-not-reply at jboss.com Wed Oct 28 02:58:51 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 28 Oct 2009 02:58:51 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How to get JBPM identities in ESB? Message-ID: <21937351.1256713131110.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Are you talking about jBPM 3.x? I am using 4.x and I don't have a console url like this. And yes: The console of course uses/shows the jBPM users stored in database. Exception: You configured jBPM to use an alternative kind of source. P.S.: If you want further assistance you need to be much clearer. You did not say a lot more than in your original post. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262567#4262567 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262567 From do-not-reply at jboss.com Wed Oct 28 03:12:21 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 28 Oct 2009 03:12:21 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Install Failed - Help Please Message-ID: <31151124.1256713941803.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If you are new, do you really want to build from source? We have platform independent binaries (.zip files) for the AS which you can directly use. If at all you want to build from source then follow this http://www.jboss.org/community/wiki/MavenSettings http://www.jboss.org/community/wiki/jbossasbuild View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262569#4262569 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262569 From do-not-reply at jboss.com Wed Oct 28 03:16:34 2009 From: do-not-reply at jboss.com (gohiljigar15) Date: Wed, 28 Oct 2009 03:16:34 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Urgent.....EJB3/Hibernate.... Message-ID: <2310740.1256714194749.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanx Wolfgang, I got your point...but... talking about hibernate :It supports standardized Java Persistence and EJB 3.0 (JSR 220) object/relational mapping annotations + on top of that It has Hibernate-specific extension annotations for performance optimization and special mappings...right...? So wouldnt it be better to go with EJB + Hibernate...? Regards. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262570#4262570 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262570 From do-not-reply at jboss.com Wed Oct 28 03:17:13 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 28 Oct 2009 03:17:13 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Multiple JBoss instances vs. one Message-ID: <16855152.1256714233109.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "icordoba" wrote : as far as I know there is no way to enable isolated class loading without enabling "CallByValue"... is there? | | | Ignacio There is : http://www.jboss.org/community/wiki/ClassLoadingConfiguration http://www.jboss.org/community/wiki/JBossClassLoadingUseCases View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262571#4262571 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262571 From do-not-reply at jboss.com Wed Oct 28 03:20:33 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 28 Oct 2009 03:20:33 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: lookupLocaly failing Message-ID: <4331202.1256714433332.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : at org.jboss.ha.jndi.HAJNDI.lookupLocally(HAJNDI.java:131) | at org.jboss.ha.jndi.HAJNDI.lookup(HAJNDI.java:202) | Are you running the "all" server configuration? anonymous wrote : javax.naming.NamingException: Could not dereference object [Root exception is java.lang.RuntimeExcep | tion: Exception while trying to locate proxy factory in JNDI, at key ProxyFactory/risk-server/UserCo | ntextManagementBean/kdr/remote/UserContextManagement/KDR] | Please post this entire exception stacktrace. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262572#4262572 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262572 From do-not-reply at jboss.com Wed Oct 28 03:48:06 2009 From: do-not-reply at jboss.com (steeven) Date: Wed, 28 Oct 2009 03:48:06 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean Message-ID: <32936993.1256716086307.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks you guys all, I'm using AS5.1.0 "grdzeli_kaci" wrote : sorry i missed EntityManager declaration into implementation. | | | @PersistenceContext(unitName = "CustomerCareOracle") | | private EntityManager oracleManager; | | This code work for me, but try to invoke some method to oracleManager, exception with raise out. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262579#4262579 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262579 From do-not-reply at jboss.com Wed Oct 28 04:07:27 2009 From: do-not-reply at jboss.com (fabiomsouto) Date: Wed, 28 Oct 2009 04:07:27 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Multiple instances with synchronization Message-ID: <5479656.1256717247597.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you. I'll do that. :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262581#4262581 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262581 From do-not-reply at jboss.com Wed Oct 28 04:09:42 2009 From: do-not-reply at jboss.com (mbelow) Date: Wed, 28 Oct 2009 04:09:42 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <5294183.1256717382234.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank your for the response! After reading your replies, it came to my mind that I might be going to the wrong direction of implementing my app. >From my point of view, it is absolutely neccessary to get information on the outgoing transition of the current activity. (Unless you create your own views for each state of the process). This was actually very easy to do in JBPM3 (because you always had the hibernate pojos at hand). What do you think, am I hadding torwards the wrong direction? Thanks, Martin Below View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262585#4262585 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262585 From do-not-reply at jboss.com Wed Oct 28 04:19:29 2009 From: do-not-reply at jboss.com (grdzeli_kaci) Date: Wed, 28 Oct 2009 04:19:29 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean Message-ID: <263290.1256717969573.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> ok, then you must update latest ejb 3 plugin. link is posted above. I use this code into my application on jboss 5.1.0.GA with have no any problem. ______________________ Regards, Paata Lominadze. Magticom LTD. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262589#4262589 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262589 From do-not-reply at jboss.com Wed Oct 28 04:22:21 2009 From: do-not-reply at jboss.com (dalmauf) Date: Wed, 28 Oct 2009 04:22:21 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Reference extern javascript in jboss-portal.xml Message-ID: <32355428.1256718141656.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, Does anybody know how to make a reference to an extern javascript file in the jboss-portal.xml descriptor? For example: I have a a.war file with a a.js file and a b.war with a b.js file. In this b.war fileI need to use some javascript functions from a.js. This would be my jboss-portal.xml file: bPortlet View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262590#4262590 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262590 From do-not-reply at jboss.com Wed Oct 28 04:25:02 2009 From: do-not-reply at jboss.com (dalmauf) Date: Wed, 28 Oct 2009 04:25:02 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Reference extern javascript in jboss-portal.xml Message-ID: <27385421.1256718302499.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, Does anybody know how to make a reference to an extern javascript file in the jboss-portal.xml descriptor? For example: I have a a.war file with a a.js file and a b.war with a b.js file. In this b.war file I need to use some javascript functions from a.js. This would be my jboss-portal.xml file: bPortlet ?????? Thank you very much for any help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262592#4262592 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262592 From do-not-reply at jboss.com Wed Oct 28 04:28:20 2009 From: do-not-reply at jboss.com (dalmauf) Date: Wed, 28 Oct 2009 04:28:20 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Reference extern javascript in jboss-portal.xml Message-ID: <23508445.1256718500258.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry wrong duplicated message and right name is jboss-portlet.xml Sorry one more time.... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262593#4262593 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262593 From do-not-reply at jboss.com Wed Oct 28 04:30:09 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 28 Oct 2009 04:30:09 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <1028828.1256718609330.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> >From what I can say with my limited knowledge and experience of implementing an application with jBPM I would say no. It should be possible to retrieve the outgoing transitions of an activity and the approach seems clean to me. But why not let us know a bit more about the use case? Let's see what Ronald or any other more experienced user than me can say about it. What do you mean by "Unless you create your own views for each state of the process" ? P.S.: Have you filled the JIRA issue already? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262594#4262594 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262594 From do-not-reply at jboss.com Wed Oct 28 04:38:25 2009 From: do-not-reply at jboss.com (alessio.soldano@jboss.com) Date: Wed, 28 Oct 2009 04:38:25 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Consuming Web Services when WSDL access / UDDI discovery Message-ID: <15050276.1256719105229.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You can store the wsdl locally and point that copy instead of the remote one. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262598#4262598 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262598 From do-not-reply at jboss.com Wed Oct 28 05:02:51 2009 From: do-not-reply at jboss.com (steeven) Date: Wed, 28 Oct 2009 05:02:51 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - NotBoundException when @Service POJO invoke EJB Message-ID: <11648788.1256720571672.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> AS5.1.0, NO EJB3 Plugin installed. I packed service POJO and EJB3 SLSB together and the EJB injected to service bean doesn't worked steady. Sometimes the following exception raised when server start up and deploy. Is it a reason that EJB3 and Service POJO deployed in same time? The start() method invoked without related EJB/service ready? Is it possible to make this service POJO depend on EJB? I want to use Service POJO to do some initialization works when application server start up, am I lost in wrong direction? @Service(name = CmModule.SERVICE_NAME) | public class CmModule implements ICmModule { | public final static String SERVICE_NAME = "CmModule"; | | Logger log = LoggerFactory.getLogger(CmModule.class); | | @EJB | private IMoService moService; | | @TransactionAttribute(TransactionAttributeType.REQUIRED) | public void start(){ | log.info("Cm Module started"); | moService.hello(); | log.info("Default Domain has been added."); | } | } 5:51:23,084 INFO [CmModule] Cm Module started | 15:51:23,084 ERROR [STDERR] org.jboss.ejb3.common.registrar.spi.NotBoundException: Object is bound at key jboss.j2ee:ear=ems.ear,jar=ems-server.jar,name=MoService,service=EJB3, but is not fully installed, instead of state: ControllerState at 18dbaa6{Start} | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.common.registrar.plugin.mc.Ejb3McRegistrar.lookup(Ejb3McRegistrar.java:170) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.common.registrar.plugin.mc.Ejb3McRegistrar.lookup(Ejb3McRegistrar.java:134) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.getContainerLocally(SessionProxyInvocationHandlerBase.java:410) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.proxy.impl.handler.session.SessionLocalProxyInvocationHandler.getContainer(SessionLocalProxyInvocationHandler.java:87) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:193) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.proxy.impl.handler.session.SessionProxyInvocationHandlerBase.invoke(SessionProxyInvocationHandlerBase.java:164) | 15:51:23,084 ERROR [STDERR] at $Proxy411.get(Unknown Source) | 15:51:23,084 ERROR [STDERR] at org.steeven.cm.CmModule.checkDefaultDomain(CmModule.java:51) | 15:51:23,084 ERROR [STDERR] at org.steeven.cm.CmModule.start(CmModule.java:43) | 15:51:23,084 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:51:23,084 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 15:51:23,084 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:51:23,084 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.service.ServiceContainer.invokeOptionalMethod(ServiceContainer.java:369) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.service.ServiceContainer.lockedStart(ServiceContainer.java:264) | 15:51:23,084 ERROR [STDERR] at org.jboss.ejb3.EJBContainer.start(EJBContainer.java:884) | 15:51:23,084 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | 15:51:23,084 ERROR [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | 15:51:23,084 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 15:51:23,084 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:597) | 15:51:23,084 ERROR [STDERR] at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) | 15:51:23,084 ERROR [STDERR] at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) | 15:51:23,084 ERROR [STDERR] at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | 15:51:23,084 ERROR [STDERR] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) | 15:51:23,084 ERROR [STDERR] at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) | 15:51:23,084 ERROR [STDERR] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) | 15:51:23,084 ERROR [STDERR] at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) | 15:51:23,084 ERROR [STDERR] at org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221) | 15:51:23,084 ERROR [STDERR] at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) | 15:51:23,084 ERROR [STDERR] at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) | 15:51:23,084 ERROR [STDERR] at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | 15:51:23,084 ERROR [STDERR] at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | 15:51:23,084 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | 15:51:23,084 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | 15:51:23,084 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540) | 15:51:23,100 ERROR [STDERR] at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121) | 15:51:23,100 ERROR [STDERR] at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51) | 15:51:23,100 ERROR [STDERR] at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | 15:51:23,100 ERROR [STDERR] at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | 15:51:23,100 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | 15:51:23,100 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | 15:51:23,100 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | 15:51:23,100 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | 15:51:23,100 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210) | 15:51:23,100 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | 15:51:23,100 ERROR [STDERR] at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | 15:51:23,100 ERROR [STDERR] at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702) | 15:51:23,100 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | 15:51:23,100 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70) | 15:51:23,100 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53) | 15:51:23,100 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:361) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | 15:51:23,100 ERROR [STDERR] at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | 15:51:23,100 ERROR [STDERR] at org.jboss.system.server.profileservice.repository.AbstractProfileService.activateProfile(AbstractProfileService.java:306) | 15:51:23,100 ERROR [STDERR] at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:271) | 15:51:23,100 ERROR [STDERR] at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461) | 15:51:23,100 ERROR [STDERR] at org.jboss.Main.boot(Main.java:221) | 15:51:23,100 ERROR [STDERR] at org.jboss.Main$1.run(Main.java:556) | 15:51:23,100 ERROR [STDERR] at java.lang.Thread.run(Thread.java:619) | 15:51:23,100 INFO [CmModule] Default Domain has been added. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262605#4262605 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262605 From do-not-reply at jboss.com Wed Oct 28 05:05:34 2009 From: do-not-reply at jboss.com (steeven) Date: Wed, 28 Oct 2009 05:05:34 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean Message-ID: <31087929.1256720734422.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> grdzeli_kaci, Thanks very much~ Are you sure oracleManager worked in start() method? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262607#4262607 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262607 From do-not-reply at jboss.com Wed Oct 28 06:17:56 2009 From: do-not-reply at jboss.com (eideri) Date: Wed, 28 Oct 2009 06:17:56 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Variable extension Message-ID: <21857166.1256725076973.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Serializing the class works :). Thanks! eider View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262629#4262629 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262629 From do-not-reply at jboss.com Wed Oct 28 06:32:11 2009 From: do-not-reply at jboss.com (grdzeli_kaci) Date: Wed, 28 Oct 2009 06:32:11 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean Message-ID: <11159098.1256725931440.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "steeven" wrote : grdzeli_kaci, | | Thanks very much~ | Are you sure oracleManager worked in start() method? yes of course, It is very useful pattern. Singleton service is very useful for me. I load 90 % of database table into memory, because it contains maximum 100 rows each table, these table are configuration table, i have no transaction table into memory only. i load all table in start method, and then if i change something into database, i'll make reload concrete table(s) or row. I'll be very glad that into ejb 3.1 will be singleton service, because now my projects is application server dependent, you know that @Service is jboss ejb3 extension. ______________________ Regards, Paata Lominadze. Magticom LTD. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262645#4262645 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262645 From do-not-reply at jboss.com Wed Oct 28 06:39:01 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Wed, 28 Oct 2009 06:39:01 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: NotBoundException when @Service POJO invoke EJB Message-ID: <19544415.1256726341775.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, you are right, this is probably a timing issue, as the Service bean is probably deployed before the EJB. To avoid this: add a @Depends annotation to the service bean, which points to your EJB. The full EJB service name can be find in JNDIView. Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262648#4262648 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262648 From do-not-reply at jboss.com Wed Oct 28 06:43:10 2009 From: do-not-reply at jboss.com (bus387) Date: Wed, 28 Oct 2009 06:43:10 -0400 (EDT) Subject: [jboss-user] [Tomcat Integration] - Re: All TCP connections are in CLOSE_WAIT State Message-ID: <27296505.1256726590733.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hi RichardTaylor, you fixed this problem with which jbossnative version? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262649#4262649 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262649 From do-not-reply at jboss.com Wed Oct 28 06:48:31 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Wed, 28 Oct 2009 06:48:31 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Urgent.....EJB3/Hibernate.... Message-ID: <29809317.1256726911490.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, this depends on your app. If it has support different servers, you should not use Hibernate. If you know that this app will never run on other servers than JBoss, you can use EJB3 and Hibernate (hoping that JBoss will never change the persistence provider). Probably bad things will happen, if you mix Hibernate and a JPA provider of another vendor ;-). Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262651#4262651 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262651 From do-not-reply at jboss.com Wed Oct 28 06:55:02 2009 From: do-not-reply at jboss.com (steeven) Date: Wed, 28 Oct 2009 06:55:02 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: NotBoundException when @Service POJO invoke EJB Message-ID: <27548205.1256727302067.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks very much, I'll try it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262652#4262652 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262652 From do-not-reply at jboss.com Wed Oct 28 06:57:27 2009 From: do-not-reply at jboss.com (steeven) Date: Wed, 28 Oct 2009 06:57:27 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean Message-ID: <21205956.1256727447729.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks very much, I'll try to ask EJB to do load data instead of invoking EnityManager directly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262653#4262653 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262653 From do-not-reply at jboss.com Wed Oct 28 07:08:01 2009 From: do-not-reply at jboss.com (vchira) Date: Wed, 28 Oct 2009 07:08:01 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x? Message-ID: <26213068.1256728081552.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I can't inject the hibernate session.. i am doing this: | | | | | and I get this error: anonymous wrote : | Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'hibernateSession' of bean class [org.jbpm.pvm.internal.cfg.SpringConfiguration]: Bean property 'hibernateSession' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter? | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262655#4262655 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262655 From do-not-reply at jboss.com Wed Oct 28 07:14:23 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 28 Oct 2009 07:14:23 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x? Message-ID: <6297382.1256728463049.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have no clue what could cause the error. I guess somebody more experienced with java beans can answer this. Question to everyone else: Is there a reason that you can set but not get the Hibernate session? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262657#4262657 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262657 From do-not-reply at jboss.com Wed Oct 28 07:16:31 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 28 Oct 2009 07:16:31 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: identities from LDAP example pls! Message-ID: <7104367.1256728591050.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> *push* View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262659#4262659 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262659 From do-not-reply at jboss.com Wed Oct 28 07:16:39 2009 From: do-not-reply at jboss.com (vchira) Date: Wed, 28 Oct 2009 07:16:39 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x? Message-ID: <33038903.1256728599910.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> wrong copy/paste... i am doing this: | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262660#4262660 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262660 From do-not-reply at jboss.com Wed Oct 28 07:41:49 2009 From: do-not-reply at jboss.com (mayankmit2002) Date: Wed, 28 Oct 2009 07:41:49 -0400 (EDT) Subject: [jboss-user] [JBoss Remoting Users] - Problem with multiple ethernet adapters Message-ID: <10029345.1256730109786.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Setup --------- Server Name : Server001 IBM Blade Server -> Two Ethernet adapters eth0 (100 Mbps) and eth1 (1000 Mbps) -> eth0: 150.158.73.49 -> eth1: 192.168.200.49 Debian 5 Installed Jboss 4.2.3 Jboss Remoting 2.4.0 SP1 Jboss Messaging 1.4.2 Host file entry: | 127.0.0.1 localhost | 150.158.73.49 Server001 Server001 | Scenario ----------- Jboss is bound to "Server001" lookup Code | final Properties props = new Properties(); | props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); | props.put("jnp.sotimeout", "2000"); | props.put("jnp.timeout", "2000"); | props.put(Context.PROVIDER_URL, java.lang.System.getProperty("bind.address") + ":1100"); // HA-JNDI port. | | | String partitionName = java.lang.System.getProperty("jboss.partition.name", java.lang.System.getenv("COMPUTERNAME") + "_PARTITION"); | partitionName = partitionName.toUpperCase(); | | // for auto discovery through partition name | props.put(NamingContext.JNP_PARTITION_NAME, partitionName); | props.put(NamingContext.JNP_DISCOVERY_GROUP, "230.0.0.4");// Default | props.put(NamingContext.JNP_DISCOVERY_PORT, "1102");// Default | props.put(NamingContext.JNP_DISABLE_DISCOVERY, "false"); Problem --------- now the problem is, some time we have seen that, Jboss starts normally without any exception and is looking at eth0 but suddently it starts looking up at eth1, thus unable to lookup deployed services. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262663#4262663 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262663 From do-not-reply at jboss.com Wed Oct 28 08:01:14 2009 From: do-not-reply at jboss.com (vchira) Date: Wed, 28 Oct 2009 08:01:14 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x? Message-ID: <30938256.1256731274565.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> i think i know what is going on. the problem is that zhe hibernateSessionFactory setter is not a valid Java Beans seter.(has a return value). Maybe someone could take a look and make jBPM a bit more Spring friendly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262669#4262669 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262669 From do-not-reply at jboss.com Wed Oct 28 08:11:36 2009 From: do-not-reply at jboss.com (longbeach) Date: Wed, 28 Oct 2009 08:11:36 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - EJB 3.0 and JBoss 5 CR1 : calling a web service Message-ID: <24547935.1256731896652.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I have defined a web service which is a stateless session bean : | @Stateless | @WebService(endpointInterface ="com.bla.blabla.DoSomething") | @Remote(DoSomething.class) | | public class DoSomethingBean { | | @WebMethod(operationName="DoSomething") | public boolean go(String t, String n){ | ... | } | | } | I call that web service in a main java client : URL url = new URL("http://127.0.0.1:8085/blabla/DoSomethingBean?wsdl"); | QName qname = new QName("http://services.blabla.com/", "DoSomethingBeanService"); | | ServiceFactory factory = ServiceFactory.newInstance(); | Service remote = factory.createService(url, qname); | | DoSomething dosome = (DoSomething) remote.getPort(DoSomething.class); | dosome.go("arg1", arg2"); | http://127.0.0.1:8085/blabla/DoSomethingBean?wsdl works, it points to the WSDL. I get an error message : | javax.servlet.ServletException: java.lang.reflect.UndeclaredThrowableException | org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:515) | org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:419) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | Also : | cause m??????re | | java.rmi.RemoteException: Call invocation failed; nested exception is: | java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage | org.jboss.ws.core.jaxrpc.client.CallImpl.invokeInternal(CallImpl.java:536) | org.jboss.ws.core.jaxrpc.client.CallImpl.invoke(CallImpl.java:277) | org.jboss.ws.core.jaxrpc.client.PortProxy.invoke(PortProxy.java:156) | Does Web services work well with JBoss 5 CR1 ? Thanks for helping View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262672#4262672 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262672 From do-not-reply at jboss.com Wed Oct 28 08:11:43 2009 From: do-not-reply at jboss.com (vchira) Date: Wed, 28 Oct 2009 08:11:43 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - using an external scheduler to execute 'jobs' Message-ID: <32295985.1256731903025.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> in the Developer Docu one can read the following sentence: | Do note that this mechanism is pluggable, which means that in the future other destinations could be used (JMS, JCR, etc). | what does that mean? is there a way to use an external job scheduler? I would like to use UC4 or Quarz as a scheduler but i found no way change the jBPM behavior whet it comes to write job in the DB. Is it possible to do something like that? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262673#4262673 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262673 From do-not-reply at jboss.com Wed Oct 28 08:27:19 2009 From: do-not-reply at jboss.com (jaikiran) Date: Wed, 28 Oct 2009 08:27:19 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: EJB 3.0 and JBoss 5 CR1 : calling a web service Message-ID: <7157172.1256732839250.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : java.rmi.RemoteException: Call invocation failed; nested exception is: | java.lang.UnsupportedOperationException: setProperty must be overridden by all subclasses of SOAPMessage I guess you are using JDK6. See this http://www.jboss.org/index.html?module=bb&op=viewtopic&t=158265 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262679#4262679 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262679 From do-not-reply at jboss.com Wed Oct 28 08:27:52 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Wed, 28 Oct 2009 08:27:52 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Authentication succeeded, getCallerPrincipal()=anonymous Message-ID: <23471891.1256732872374.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, no ideas, but a lot of requests for more details ;-). How does your client access your secured app? Is it a standalone application client? Is some servlet/website/web service called? How does the client log in? Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262680#4262680 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262680 From do-not-reply at jboss.com Wed Oct 28 08:28:28 2009 From: do-not-reply at jboss.com (wesleyhales) Date: Wed, 28 Oct 2009 08:28:28 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: RichFaces Portlet causes timeout Exception Message-ID: <2143253.1256732908870.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> http://www.jboss.org/files/portletbridge/docs/2.0.0.BETA/en/html_single/index.html#d0e463 Make sure you use the /faces/ context for the page location View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262681#4262681 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262681 From do-not-reply at jboss.com Wed Oct 28 08:30:00 2009 From: do-not-reply at jboss.com (wesleyhales) Date: Wed, 28 Oct 2009 08:30:00 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Reference extern javascript in jboss-portal.xml Message-ID: <11119622.1256733000138.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> http://anonsvn.jboss.org/repos/portletbridge/trunk/examples/seam/booking/seamBookingPortlet/src/main/jbossportal/jboss-portlet.xml View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262682#4262682 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262682 From do-not-reply at jboss.com Wed Oct 28 08:47:15 2009 From: do-not-reply at jboss.com (bwestrich) Date: Wed, 28 Oct 2009 08:47:15 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <11672614.1256734035955.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Pardon my jumping in, but here's one use case for this: In our application, it is possible for a user to send an invalid transition to jBPM. When this occurs, there is a requirement for the server to display an error message that lists the valid transitions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262685#4262685 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262685 From do-not-reply at jboss.com Wed Oct 28 09:09:02 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 28 Oct 2009 09:09:02 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <4307477.1256735342321.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> https://jira.jboss.org/jira/browse/JBPM-2609 Go ahead and vote. :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262693#4262693 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262693 From do-not-reply at jboss.com Wed Oct 28 09:10:13 2009 From: do-not-reply at jboss.com (vchira) Date: Wed, 28 Oct 2009 09:10:13 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x? Message-ID: <2988262.1256735413548.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I found the answer. it is actually quite simple. you can write your own Command and execute it . inside the execute Method from the Command you have access to the DBSession and you can execute Hibernate Queries. I will post an Example later on maybe if somone is interested. I am implementing a command that returns a list of Tasks which have a specific name and belong to a process definition with a specific key and have variables with a specific value. maybe a command like this would be useful to everyone and can be integrated in jBPM task service. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262694#4262694 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262694 From do-not-reply at jboss.com Wed Oct 28 09:33:28 2009 From: do-not-reply at jboss.com (sangeetha.gold) Date: Wed, 28 Oct 2009 09:33:28 -0400 (EDT) Subject: [jboss-user] [Security] - HttpRequest in Custom Login Module Message-ID: <22365848.1256736808715.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am using JAAS Custom LoginModule it is extended by AbstractServerLoginModule. I would like to use HttpRequest object inside my custom LoginModule. Could you please let me know how to get HttpRequest in my custom LoginModule. Is it possible to use HttpRequest in custom LoginModule. And also I have couple of questions. 1. Is auto-login is possible using JAAS. If Yes, How to do auto-login in JAAS? [Auto-login : Without prompting dialog box/FORM jsp for user credentails. ] 2. Is JAAS support Cookie authentication? - I have cookie in my browser which is created by 3-party application, using this cookie I would like to get authenticated using JAAS. If Yes, please let me know the process/steps to do. 3. How to get HttpRequest object in my custom LoginModule? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262699#4262699 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262699 From do-not-reply at jboss.com Wed Oct 28 09:45:55 2009 From: do-not-reply at jboss.com (longbeach) Date: Wed, 28 Oct 2009 09:45:55 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: EJB 3.0 and JBoss 5 CR1 : calling a web service Message-ID: <32863534.1256737555283.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks very much, it worked. In fact, I had copied all jar files to JBOSS_HOME/lib/endorsed It did not work. I am using Vista. So i tried the second suggestion : nothing in JBOSS_HOME/lib/endorsed and I created a ENDORSED folder in jre1.6.0_07\lib\ And it works. It is a pretty annoying thing anyways. Thanks again jaikiran, it is not the fist time you have helped me successfully, i appreciate it a lot :) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262706#4262706 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262706 From do-not-reply at jboss.com Wed Oct 28 09:46:01 2009 From: do-not-reply at jboss.com (mbelow) Date: Wed, 28 Oct 2009 09:46:01 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <28390873.1256737561663.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sebastian, when the process arrives at a certaion point where a node has more than one outgoing transition, the user actually needs to make a choise which transition to take. So I need to display all possible transitions to the user. I'm still not sure if I'm running in the wrong direction, because this seems to obvious to me... Thanks for the help again, Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262707#4262707 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262707 From do-not-reply at jboss.com Wed Oct 28 10:07:24 2009 From: do-not-reply at jboss.com (fabianignacio) Date: Wed, 28 Oct 2009 10:07:24 -0400 (EDT) Subject: [jboss-user] [Persistence] - Locking problem uses all connections in pool Message-ID: <29351824.1256738844068.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi We are using JBoss 4.2.3GA, EJB 3.0 (SessionBeans, EntityManager and EntityBeans) to an Oracle 10g. We are having some issues with a concurrency scenario and the db connection pool. In a particular moment a persist or remove or merge or ejb query or native query locks a table or a row, and the other connection requests begings to been blocked, and therefore all connections in the pool are used and blocked until we getting java.sql.SQLException: Closed Connection for new requests. We are not specifing any transaction isolation level, so we know that we are using Oracle's default READ COMMITTED, but for some reason we don't know, the locks are not been release and new requests are been blocked as well. We don't get any DEADLOCK exception, and we query the gv_$lock table to check the tables and queries, and every time is a different one. This happend no so often, but in a short time frame. If we kill the first lock in the database, the other ones are release. Some other times, we didn't need to kill the lock, it release the connection after several minutes and then the other requests execute normally, causing very ugly effects in our application. The only thing that could be a clue on this, is maybe that something in our entity model relationship is making Oracle to lock the tables and rows. We have object with one-to-many, many-to-one and many-to-many relationships. But again, with READ COMMITTED should be an issue. We though implementing the @Version annotation in the Entity model, but once again, it shouldn't be an issue because of the READ COMMITTED isolation level in the DB. Any thought would be appreciate Thanks a lot View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262718#4262718 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262718 From do-not-reply at jboss.com Wed Oct 28 10:19:09 2009 From: do-not-reply at jboss.com (sweiss) Date: Wed, 28 Oct 2009 10:19:09 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Portal giving way to GateIn Message-ID: <10111462.1256739549091.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I've been looking at the GateIn portal and while it looks promising it doesn't seem quite ready for prime time. We (I work with the original poster) are considering it as an alternative to the JBoss portal but there are some shortcomings. For example, I haven't come across any way to add new portlets. We will also need to add new skins, and create our own authentication module. Are these kinds of customizations doable, or planned? I've also played around a little with the GateIn portlet container, but without documentation it's difficult to assess. Will developer documentation be available any time soon? (Or does it already exist somewhere?) Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262721#4262721 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262721 From do-not-reply at jboss.com Wed Oct 28 10:37:23 2009 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 28 Oct 2009 10:37:23 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: server port in use 8080 error!! Message-ID: <4476561.1256740643972.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> See https://www.jboss.org/community/wiki/DebugBindException View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262725#4262725 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262725 From do-not-reply at jboss.com Wed Oct 28 10:43:00 2009 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 28 Oct 2009 10:43:00 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Deployment related Issue Message-ID: <18117666.1256740980212.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I suspect that the mbean you are depending on probably existed in 3.2.5 but no longer exists in 4.2.x. I recommend that you use JndiView to determine what mbeans are available in 4.2.x and choose one of those to depend on. I guess I should have looked at the deployment report you posted earlier a little closer because in this case it did provide enough info to point out the problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262727#4262727 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262727 From do-not-reply at jboss.com Wed Oct 28 10:47:00 2009 From: do-not-reply at jboss.com (vinayarammohan@yahoo.com) Date: Wed, 28 Oct 2009 10:47:00 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Memory Management in Jboss Message-ID: <25226444.1256741220672.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, My app server goes slow every couple of days. We will have to restart the server. Our application is in Spring , JSF and Facelets. I am skeptical about the objects being garbage collected. Is there a way to check how many and what objects are loaded in to Jboss server? Thanks Vinaya View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262729#4262729 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262729 From do-not-reply at jboss.com Wed Oct 28 11:01:32 2009 From: do-not-reply at jboss.com (vimalm) Date: Wed, 28 Oct 2009 11:01:32 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Consuming Web Services when WSDL access / UDDI discovery Message-ID: <28499423.1256742092642.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello Alessio Thanks for your response. My current code looks like | URL wsdlURL = new URL ( "http://www.example.com/example.asmx?WSDL"); | QName serviceQName = new QName("http://www.example.com/example/", "Calculate"); | Calculate calc = new Calculate(wsdlURL, serviceQName); | CalculateSoap calcSoap = calc.getCalculateSoap(); | calcSoap.execute(); | It fails on Line 3 with a FileNotFoundException. If I use a WSDL stored locally will I have to modify the WSDL to point to the correct soap address in the following WSDL fragment at the very tail end of the WSDl to let it know where the service is hosted? | | | | Thanks for your help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262733#4262733 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262733 From do-not-reply at jboss.com Wed Oct 28 11:06:00 2009 From: do-not-reply at jboss.com (PeterJ) Date: Wed, 28 Oct 2009 11:06:00 -0400 (EDT) Subject: [jboss-user] [Performance Tuning] - Re: Memory Management in Jboss Message-ID: <17003323.1256742360859.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What JDK are you using? And what OS are you running? JDK 6 comes with VisualVM which lets you see what is going on in a running JVM. It can take and analyze heap dumps. VisualVM can connect to JDK 5 JVMs also, but the heap dump functionality is not available on Windows. Also, make use of the GC data options (-verbose:gc, -XX:PrintHeapAtGC, etc.) to see what the garbage collector is doing. For an introduction, see my presentation at: http://www.cecmg.de/doc/tagung_2007/agenda07/24-mai/2b3-peter-johnson/index.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262735#4262735 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262735 From do-not-reply at jboss.com Wed Oct 28 11:13:34 2009 From: do-not-reply at jboss.com (nilspreusker) Date: Wed, 28 Oct 2009 11:13:34 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [JBPM4 Error]Getting error while 2 tasks are created on Message-ID: <21747243.1256742814438.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sushant, try this: JUnit Test Case: package org.jbpm.examples.task.multiple1; | | import java.util.List; | | import org.jbpm.api.ProcessInstance; | import org.jbpm.api.task.Task; | import org.jbpm.test.JbpmTestCase; | | public class MultipleTasksTest1 extends JbpmTestCase { | | String deploymentId; | | protected void setUp() throws Exception { | super.setUp(); | | // deploy the process definition | deploymentId = repositoryService.createDeployment() | .addResourceFromClasspath( | "org/jbpm/examples/task/multiple1/process.jpdl.xml") | .deploy(); | | // create actor | identityService.createUser("johndoe", "John", "Doe", "john at doe"); | } | | protected void tearDown() throws Exception { | | } | | public void testMultipleTasks() { | ProcessInstance processInstance = executionService | .startProcessInstanceByKey("MultipleTasks"); | | String processInstanceId = processInstance.getId(); | | assertTrue(executionService.createProcessInstanceQuery() | .processInstanceId(processInstanceId).uniqueResult().isActive( | "task1")); | | List taskList = taskService.findPersonalTasks("johndoe"); | assertEquals(1, taskList.size()); | Task task = taskList.get(0); | assertEquals("task1", task.getName()); | assertEquals("johndoe", task.getAssignee()); | | // submit the task | taskService.completeTask(task.getId(), "to task2"); | | // verify that the next task is active and has been assigned to | // 'johndoe' | taskList = taskService.findPersonalTasks("johndoe"); | assertEquals(1, taskList.size()); | task = taskList.get(0); | assertEquals("task2", task.getName()); | assertEquals("johndoe", task.getAssignee()); | | // submit the task | taskService.completeTask(task.getId(), "to task3"); | | // verify that the next task is active and has been assigned to | // 'johndoe' | taskList = taskService.findPersonalTasks("johndoe"); | assertEquals(1, taskList.size()); | task = taskList.get(0); | assertEquals("task3", task.getName()); | assertEquals("johndoe", task.getAssignee()); | } | | } | Process Definition (process.jpdl.xml): | | | | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262739#4262739 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262739 From do-not-reply at jboss.com Wed Oct 28 11:18:07 2009 From: do-not-reply at jboss.com (nilspreusker) Date: Wed, 28 Oct 2009 11:18:07 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x? Message-ID: <16627255.1256743087838.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm interested :) Cheers, Nils View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262741#4262741 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262741 From do-not-reply at jboss.com Wed Oct 28 11:19:10 2009 From: do-not-reply at jboss.com (boltimuss) Date: Wed, 28 Oct 2009 11:19:10 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Communication between AppServer and Client via multicast Message-ID: <16006662.1256743150610.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello forums, I am new to the forums and to JBOSS. I am trying to write an mBean that will communicate from within the AS across a multicast channel using JGroups. The code I'm using in my mBean is below... | public void create() throws Exception { | channel=new JChannel("test/udp.xml"); | channel.connect("ChatCluster"); | } | | public void sendMsg() throws ChannelNotConnectedException, | ChannelClosedException { | channel.send(new org.jgroups.Message( | null,null, "hello from the server!")); | } | I also created a client that is listening on the channel, but the two are not communicating .. Here is the XML for the channel .. | | Any help would be greatly appreciated as I have spent some tie on this and am trying to figure this out. I would prefer to use some other echanism for communication, however I am limited to just using multicast ... long story.. Thanks!!! ~Bolt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262742#4262742 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262742 From do-not-reply at jboss.com Wed Oct 28 11:48:28 2009 From: do-not-reply at jboss.com (dcausse) Date: Wed, 28 Oct 2009 11:48:28 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Mutable Objects inside ObjectMessage and rollback behavi Message-ID: <9717971.1256744908262.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, thank you very much, instance are now recreated with RedeliveryDelay greater than 0. But is it a normal feature? David. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262756#4262756 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262756 From do-not-reply at jboss.com Wed Oct 28 12:16:07 2009 From: do-not-reply at jboss.com (vimalm) Date: Wed, 28 Oct 2009 12:16:07 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: Consuming Web Services when WSDL access / UDDI discovery Message-ID: <27911160.1256746567460.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Never mind I figured out that the above way will work. The only problem is that I need to attach multiple WSDL's for different environments (dev, uat and prod) inside my ear and then use the logic to dynamically figure out which WSDL URL to load depending on environment. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262764#4262764 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262764 From do-not-reply at jboss.com Wed Oct 28 12:48:46 2009 From: do-not-reply at jboss.com (mawenzel) Date: Wed, 28 Oct 2009 12:48:46 -0400 (EDT) Subject: [jboss-user] [JMX] - Re: jmx-console depends on generic named ear-file Message-ID: <33448720.1256748526809.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok, what I try is: | jboss.j2ee:service=EARDeployment,url='test*' | And the error, starting the jboss, is: | java.lang.Error: Invalid ObjectName: jboss.j2ee:service=EARDeployment,url='test*'; javax.management.MalformedObjectNameException: Invalid character '*' in value part of property | at org.jboss.mx.util.ObjectNameFactory.create(ObjectNameFactory.java:52) | at org.jboss.metadata.WebMetaData.importJBossWebXml(WebMetaData.java:1261) | at org.jboss.metadata.WebMetaData.importXml(WebMetaData.java:851) | .... | What is the reason for this error? I am using JBoss AS 4.2.3GA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262771#4262771 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262771 From do-not-reply at jboss.com Wed Oct 28 12:58:13 2009 From: do-not-reply at jboss.com (vchira) Date: Wed, 28 Oct 2009 12:58:13 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: using an external scheduler to execute 'jobs' Message-ID: <21549843.1256749093332.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I found how this could work... maybe somone from jBPM can help me.. there is an interface TimerSession whioch has a method: | void schedule(Timer timer); | This interface has 2 implemantations JobExecutorTimerSession and EjbTimerSession!! the problem ist that i have no Source for EjbTimerSession... The question is now how can i inject my own TimerSession implementation? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262772#4262772 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262772 From do-not-reply at jboss.com Wed Oct 28 13:00:19 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 28 Oct 2009 13:00:19 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <8931572.1256749219505.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> If you want the user to make this decision you need this information and since it is supplied by the process definition it should be accessible trough the API. Have you voted yet? If not go ahead and do so and post your use case in the comments of the issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262774#4262774 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262774 From do-not-reply at jboss.com Wed Oct 28 13:05:44 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Wed, 28 Oct 2009 13:05:44 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: How can I query run my own HQL in jBPM 4.x? Message-ID: <22285230.1256749544194.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> While browsing JIRA I just found this: https://jira.jboss.org/jira/browse/JBPM-2038 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262775#4262775 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262775 From do-not-reply at jboss.com Wed Oct 28 13:42:41 2009 From: do-not-reply at jboss.com (dimitris@jboss.org) Date: Wed, 28 Oct 2009 13:42:41 -0400 (EDT) Subject: [jboss-user] [JMX] - Re: jmx-console depends on generic named ear-file Message-ID: <21764875.1256751761944.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What you've put there is not a valid JMX 1.2 ObjectName pattern. But even if you make it a valid ObjectName pattern, it won't work as you would like it. AFAIK, it will only accept a simple ObjectName, i.e. it won't dynamically try to resolve the pattern and establish potentially multiple dependencies. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262780#4262780 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262780 From do-not-reply at jboss.com Wed Oct 28 13:43:29 2009 From: do-not-reply at jboss.com (vchira) Date: Wed, 28 Oct 2009 13:43:29 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: using an external scheduler to execute 'jobs' Message-ID: <13877061.1256751809407.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I found how it should work but it doesn't :( There is an xml element which one can configure in jbpm.cfg.xml but unfortunately the TimerSessionBinding does not allow you to configure your own TimerSession implementation. the XML Tag has only 1 attribute 'target' which can have the value 'ejb' and than a org.jbpm.enterprise.internal.ejb.EnterpriseTimerSession will be used. in all other cases the JobExecutorTimerSession class will be used. I opened a feature request with a possible solution so that one can provide it's own implementation for quarz or some other scheduler: https://jira.jboss.org/jira/browse/JBPM-2614 I think this is a pretty important feature because the JobExecutor thread is not reliable and not allowed in an EJB Container. I also found no documentation about org.jbpm.enterprise.internal.ejb.EnterpriseTimerSession. pls vote this feature if you are interested in using your own scheduler. Thx. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262781#4262781 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262781 From do-not-reply at jboss.com Wed Oct 28 14:16:59 2009 From: do-not-reply at jboss.com (larani) Date: Wed, 28 Oct 2009 14:16:59 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: no access to wsdl Message-ID: <9140433.1256753819531.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> thanks! it seems it is question of incompatible versions! it was tutorial with examples for JBoss 4.0 with examples. i used JBoss 5.0 and JDK 1.5. So webservices.xml file and classes don't work fully for 5.0 version. In JMX console the webservice is registered and shown, but under name of EJB Bean instead of name of web service from webservices.xml (url must be changed). Running of web service -client doesn't work so also. Incompatibility between versions is sometimes impressionable! must try upgrade! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262786#4262786 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262786 From do-not-reply at jboss.com Wed Oct 28 14:21:15 2009 From: do-not-reply at jboss.com (raja8183) Date: Wed, 28 Oct 2009 14:21:15 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: JBoss Messaging 1.4.2 Fails - JBoss AS 5.0.1 Startup Message-ID: <28295392.1256754075594.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I was able to start JBM 1.4.3 on JBoss AS 5.0.1 GA release qithout any issues. Thanks Howard. -Rama View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262787#4262787 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262787 From do-not-reply at jboss.com Wed Oct 28 14:24:06 2009 From: do-not-reply at jboss.com (TheOverlord) Date: Wed, 28 Oct 2009 14:24:06 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - How do I configure the SLSB instance pool size (min and max) Message-ID: <11741955.1256754246491.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I want to limit a clustered SLSB instance pool on a server to a maximum of one instance. I do not want to change the pool size for all other SLSBs - just the one I want to configure. How do I do that? I was hoping to find some annotation that would allow me to do that. Something like: @PoolConfig(min=1, max=1) Or something like that. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262788#4262788 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262788 From do-not-reply at jboss.com Wed Oct 28 14:33:29 2009 From: do-not-reply at jboss.com (TheOverlord) Date: Wed, 28 Oct 2009 14:33:29 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: How do I configure the SLSB instance pool size (min and Message-ID: <9394102.1256754809390.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ok, I think I found it. @CacheConfig(maxSize=1) Is that correct? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262791#4262791 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262791 From do-not-reply at jboss.com Wed Oct 28 14:52:22 2009 From: do-not-reply at jboss.com (boltimuss) Date: Wed, 28 Oct 2009 14:52:22 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Communication between AppServer and Client via multicast Message-ID: <21800890.1256755942047.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks to everyone who never answered this question. I'll post what I found in the hope that it may help someone.... It turned out that I had multiple NIC cards on my system, so I set the flag receive_on_all_interfaces="true". View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262796#4262796 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262796 From do-not-reply at jboss.com Wed Oct 28 15:11:12 2009 From: do-not-reply at jboss.com (icordoba) Date: Wed, 28 Oct 2009 15:11:12 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: Multiple JBoss instances vs. one Message-ID: <31158002.1256757072202.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, thanks for the links. I had of course read them before posting but, sorry, I can't find definite information there about having to activate CallByValue. I'm sure I'm missing something. In my scenario I have to deploy two .ears and two .wars. I use classloading configuration for 2 different repositories in jboss-web.xml and jboss-app.xml I need to do this as I cannot include the war's inside the .ears. In JBoss I am activating isolation in ear-deployer-jboss-beans.xml but deactivating CallByValue. I also deactivate CallByValue in jboss-service.xml In war-deployers-jboss-beans.xml I deactivate java2ClassLoadingCompliance, as well as in jboss-app.xml and jboss-web.xml This should enable isolation while not activating CallByValue. I'll make checks with both apps. If anybody knows any configuration file I might me missing please point me to any direction. Thanks, Ignacio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262797#4262797 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262797 From do-not-reply at jboss.com Wed Oct 28 15:31:20 2009 From: do-not-reply at jboss.com (JBossBorot) Date: Wed, 28 Oct 2009 15:31:20 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: How do I configure the SLSB instance pool size (min and Message-ID: <11586219.1256758280661.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Fishing for the same info and have already annotated an EJB3 impl using @CachConfig, as well as @Pool, both having maxSize attributes. Just now, however, came across JBoss documentation regarding @PoolClass annotation reference. At the same, I would also like to make sure I can set the minimum number EJB instances the app starts with. How do I do that? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262798#4262798 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262798 From do-not-reply at jboss.com Wed Oct 28 15:44:56 2009 From: do-not-reply at jboss.com (atika) Date: Wed, 28 Oct 2009 15:44:56 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - As I get all the tasks of a process Message-ID: <27035386.1256759096419.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I need to retrieve all tasks of a process without creating instances as I can do? thank you very much for your help View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262801#4262801 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262801 From do-not-reply at jboss.com Wed Oct 28 15:52:59 2009 From: do-not-reply at jboss.com (icordoba) Date: Wed, 28 Oct 2009 15:52:59 -0400 (EDT) Subject: [jboss-user] [Persistence] - Isolated ears with same name persistence unit Message-ID: <25155570.1256759579500.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I am deploying two different apps in two ears in JBoss 5.1. They deployed OK in JBoss 4. As I reuse compiled JEE5 classes and I use annotations, the persistence unit used in both application has the same name: "mainPersistenceUnit" (it has to be hardcoded). this was not a problem with JBoss 4; in the "persistence.xml" archive in the EJB jar I point to each different data source. The problem is that when starting JBoss 5.1, the second .ear won't load and throw the following exception: | 2009-10-28 20:24:53,064 WARN [org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (main) Unable to register deployment mbean org.jboss.metadata.jpa.spec.PersistenceUnitMetaData.mainPersistenceUnit | javax.management.InstanceAlreadyExistsException: jboss.deployment:id="org.jboss.metadata.jpa.spec.PersistenceUnitMetaData.mainPersistenceUnit",type=Component already registered. | at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:756) | at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:233) | at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431) | at java.security.AccessController.doPrivileged(Native Method) | at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426) | at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376) | at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:1030) | at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.addComponent(AbstractDeploymentContext.java:722) | at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addComponent(AbstractDeploymentUnit.java:251) | at org.jboss.deployers.spi.deployer.helpers.ComponentAdapter.addComponent(ComponentAdapter.java:59) | at org.jboss.deployers.spi.deployer.helpers.AbstractDeploymentVisitor.deploy(AbstractDeploymentVisitor.java:73) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.internalDeploy(AbstractRealDeployerWithInput.java:102) | at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:78) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | I've tried all possible isolated / CallByValue / Java2ParentDeletation / etc. on / off configurations. The weird thing is that, once JBoss has started, I "touch" the second ear and it will deploy without problems. Thanks for any help/directions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262803#4262803 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262803 From do-not-reply at jboss.com Wed Oct 28 15:58:49 2009 From: do-not-reply at jboss.com (atika) Date: Wed, 28 Oct 2009 15:58:49 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: As I get all the tasks of a process Message-ID: <24828012.1256759929343.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm using jbpm 4 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262804#4262804 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262804 From do-not-reply at jboss.com Wed Oct 28 16:09:29 2009 From: do-not-reply at jboss.com (roger0681) Date: Wed, 28 Oct 2009 16:09:29 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - JBPM 4.1 Web Console - Any advice for customization? Message-ID: <6065524.1256760569734.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all! I am new to JBPM; after some use of 3.2.3, I was recommended to using v4. Now I'm trying to develop a few processes, and I need to customize the console, and also give some functionality to process instances forms. I need some startup guide to decide my approach. Is it worth modifying JBPM-Console? Or is it better to create a fully new web application? Should I use JSF, just JSP? I am using JBOSS 5.0.0.GA; should I use JBoss Portal and create "mini sites" for each process, or group of processes? Thanks, Roger View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262808#4262808 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262808 From do-not-reply at jboss.com Wed Oct 28 16:47:11 2009 From: do-not-reply at jboss.com (sridhar18) Date: Wed, 28 Oct 2009 16:47:11 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Timer throwing exception intermittently Message-ID: <12255877.1256762831684.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I'm getting the following error at times when my timers are firing. 11:19:51,157 ERROR [ExecuteJobCmd] exception while executing 'timer[46|2009-10-28 11:19:51,040|timeout]' org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [org.jbpm.pvm.internal.model.ExecutionImpl#152] at org.hibernate.impl.SessionFactoryImpl$2.handleEntityNotFound(SessionFactoryImpl.java:409) at org.hibernate.proxy.AbstractLazyInitializer.checkTargetState(AbstractLazyInitializer.java:108) at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:97) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:140) at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:190) at org.jbpm.pvm.internal.model.ExecutionImpl_$$_javassist_4.getActivity(ExecutionImpl_$$_javassist_4.java) at org.jbpm.pvm.internal.job.TimerImpl.execute(TimerImpl.java:94) at org.jbpm.pvm.internal.job.TimerImpl.execute(TimerImpl.java:52) at org.jbpm.pvm.internal.cmd.ExecuteJobCmd.execute(ExecuteJobCmd.java:76) at org.jbpm.pvm.internal.cmd.ExecuteJobCmd.execute(ExecuteJobCmd.java:42) at org.jbpm.pvm.internal.svc.DefaultCommandService.execute(DefaultCommandService.java:42) at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.executeInNewTx(JtaTransactionInterceptor.java:79) at org.jbpm.pvm.internal.tx.jta.JtaTransactionInterceptor.execute(JtaTransactionInterceptor.java:61) at org.jbpm.pvm.internal.svc.RetryInterceptor.execute(RetryInterceptor.java:55) at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.executeWithRetry(JtaRetryInterceptor.java:52) at org.jbpm.pvm.internal.tx.jta.JtaRetryInterceptor.execute(JtaRetryInterceptor.java:45) at org.jbpm.pvm.internal.svc.EnvironmentInterceptor.execute(EnvironmentInterceptor.java:46) at org.jbpm.pvm.internal.jobexecutor.JobParcel.run(JobParcel.java:48) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) Sample timer in my process definition: | | | | | | | | | | | The timers tend to exist though and run just fine on the next timeout. I'm using jbpm 4.1 on jboss 5.1. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262812#4262812 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262812 From do-not-reply at jboss.com Wed Oct 28 17:21:09 2009 From: do-not-reply at jboss.com (JBossBorot) Date: Wed, 28 Oct 2009 17:21:09 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: How do I configure the SLSB instance pool size (min and Message-ID: <10676066.1256764869890.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "JBossBorot" wrote : @PoolClass Ok, it seems this annotation type has been renamed to just simply Pool, which I've already found. See this thread: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=149856 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262817#4262817 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262817 From do-not-reply at jboss.com Wed Oct 28 17:26:32 2009 From: do-not-reply at jboss.com (Thierry33) Date: Wed, 28 Oct 2009 17:26:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - [jBPM 4.1] Signavio editor : default install failed Message-ID: <9218553.1256765192241.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi ! I wanted to install the signavio editor. I used the default ant task described in the user manual. It fails... My JDK is 1.6 Any idea why ? java.lang.RuntimeException: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** DEPLOYMENTS IN ERROR: Name -> Error vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/ -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/ DEPLOYMENTS IN ERROR: Deployment "vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/" is in error due to the following reason(s): java.lang.IllegalArgumentException: The context vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/ is already registered in domain jbpmeditordomain at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:313) at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.start(StreamingDeploymentTarget.java:190) at org.jboss.profileservice.management.upload.DeploymentProgressImpl.start(DeploymentProgressImpl.java:231) at org.jboss.profileservice.management.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:88) at org.rhq.plugins.jbossas5.util.DeploymentUtils.run(DeploymentUtils.java:120) at org.rhq.plugins.jbossas5.AbstractManagedDeploymentComponent.invokeOperation(AbstractManagedDeploymentComponent.java:181) 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:597) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:482) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): *** DEPLOYMENTS IN ERROR: Name -> Error vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/ -> org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/ DEPLOYMENTS IN ERROR: Deployment "vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/" is in error due to the following reason(s): java.lang.IllegalArgumentException: The context vfsfile:/D:/jbpm-4.1/jboss-5.0.0.GA/server/default/deploy/jbpmeditor.war/ is already registered in domain jbpmeditordomain at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993) at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939) at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873) at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128) at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:265) at org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891) at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106) at org.jboss.remoting.Client.invoke(Client.java:1724) at org.jboss.remoting.Client.invoke(Client.java:629) at org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:305) ... 15 more View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262819#4262819 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262819 From do-not-reply at jboss.com Wed Oct 28 17:38:54 2009 From: do-not-reply at jboss.com (smeverts) Date: Wed, 28 Oct 2009 17:38:54 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: correct usage of EntityManager in a thread under JBossA Message-ID: <27751414.1256765934740.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry to resurrect a dead topic but I too have a need for this same type of behavior. Has anyone figured out how to do this? Is there a better way of doing this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262820#4262820 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262820 From do-not-reply at jboss.com Wed Oct 28 19:11:50 2009 From: do-not-reply at jboss.com (nmatrix9) Date: Wed, 28 Oct 2009 19:11:50 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Is there actual useful books/documentation on EntityQuery? Message-ID: <26319611.1256771510874.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello EJB 3.0 Users, I'm stuck on trying implement/use certain EJB 3.0 EntityQuery methods. A fellow EJB 3.0 user suggested I go to http://docs.jboss.org/seam/2.0.0.GA/api/. I mean it's great that theres a actual "reference" to the methods of EntityQuery but as far providing useful context and details on using the methods they might as well have shown me a blank page. Are there books, DETAILED documentations or tutorials on using the EntityQuery methods? Instead of just for example: "protected void setRestrictionParameterValues(List restrictionParameterValues)" and leaving that as the ultimate answer to life, the universe and everything in it? A picture is worth a thousand words. A good example . . . about three thousand. One thing I don't understand about the java online documentation in general is why can't people post comments about the the methods or how it's implemented in general to provide guidance to new users about a particular technology? PHP does it, which is probally one reason why it has such a high adoption. But for some reason any sort of Java Documentation online which is quite sparse tries to be as mysterious and arcane as possible. This is just my personal observation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262826#4262826 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262826 From do-not-reply at jboss.com Wed Oct 28 19:17:07 2009 From: do-not-reply at jboss.com (smeverts) Date: Wed, 28 Oct 2009 19:17:07 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Long running Serial Process ... what's the best method to do Message-ID: <8955709.1256771827476.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am trying to figure out what the best way to perform a long running process within JBOSS. I have thought about having a quartz job wake up periodically and invoke a function of a MBEAN. The problem with this approach is that I don't want to timeout the quartz job (which is basically a MDB) so I was thinking that I would create a thread within the MBEAN to process the long running task. The problem with that approach is that I need to update the database and I can not access the EnitityManager from within a thread. Any thoughts of how this could be done? Is there a better way to accomplish this? Thanks, Scott View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262829#4262829 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262829 From do-not-reply at jboss.com Wed Oct 28 22:02:06 2009 From: do-not-reply at jboss.com (steeven) Date: Wed, 28 Oct 2009 22:02:06 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: NotBoundException when @Service POJO invoke EJB Message-ID: <22554839.1256781726777.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Wolfgang, I have tried many names found in JNDI, none of them worked. Would you please post your Depends name? maybe I have to make EJB also as a @service? | @Service(name = CmModule.SERVICE_NAME) | @Depends( { "/MoService", "/ems/MoService", "/IMoService", "/ems/MoService/remote", | "/ems/MoService/remote-com.genband.ems.gvu.server.mo.IMoService", "MoService", "ems/MoService", "IMoService", | "ems/MoService/remote", "ems/MoService/remote-com.genband.ems.gvu.server.mo.IMoService" }) | public class CmModule implements ICmModule { | public final static String SERVICE_NAME = "CmModule"; | // @PersistenceContext | // private EntityManager em; | | Logger log = LoggerFactory.getLogger(CmModule.class); | | @EJB | private IMoService moService; | .... | } | Error message: DEPLOYMENTS IN ERROR: | Deployment "" is in error due to the following reason(s): ** UNRESOLVED Demands 'ems/MoService/remote' **, ** UNRESOLVED Demands '/MoService' **, ** UNRESOLVED Demands '/IMoService' **, ** UNRESOLVED Demands '/ems/MoService/remote-com.genband.ems.gvu.server.mo.IMoService' **, ** UNRESOLVED Demands '/ems/MoService/remote' **, ** UNRESOLVED Demands 'IMoService' **, ** UNRESOLVED Demands 'ems/MoService/remote-com.genband.ems.gvu.server.mo.IMoService' **, ** UNRESOLVED Demands '/ems/MoService' **, ** UNRESOLVED Demands 'ems/MoService' **, ** UNRESOLVED Demands 'MoService' ** | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262834#4262834 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262834 From do-not-reply at jboss.com Wed Oct 28 22:03:33 2009 From: do-not-reply at jboss.com (steeven) Date: Wed, 28 Oct 2009 22:03:33 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: NotBoundException when @Service POJO invoke EJB Message-ID: <17540322.1256781813127.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I think this should be a improvement of Service bean, all injected service should be ready before start() method. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262835#4262835 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262835 From do-not-reply at jboss.com Wed Oct 28 22:10:34 2009 From: do-not-reply at jboss.com (steeven) Date: Wed, 28 Oct 2009 22:10:34 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: java:comp/env not found in @service POJO bean Message-ID: <3975348.1256782234421.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks, I will try to call @EJB instead of EntityManager to avoid this problem. really appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262837#4262837 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262837 From do-not-reply at jboss.com Wed Oct 28 22:57:19 2009 From: do-not-reply at jboss.com (yongz) Date: Wed, 28 Oct 2009 22:57:19 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Load balancing with new node Message-ID: <31860829.1256785039156.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, * JBoss 5.01 * JBoss Messaging 1.4.2.GA-SP1 I have a question about JBM Client-Side Load balancing: With Round Robin policy, the connections are spread smoothly across 3 nodes in the cluster, say: A,B,C. While the job is running with the connections to A,B,C, and now there is another new node, say D, joins the cluster. If a new connection is required to be created to D, is there any way that we can *ensure* this new connection will be created on D? and not to A,B,or C? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262839#4262839 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262839 From do-not-reply at jboss.com Wed Oct 28 23:36:36 2009 From: do-not-reply at jboss.com (pepelara) Date: Wed, 28 Oct 2009 23:36:36 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Simple hibernate web app Message-ID: <9964106.1256787396231.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, I am a newbe in Hibernate but I am learning quickly. But I have reached a point that is taking me a lot of time. I have developed a pretty simple web. It is just two JSP, index.jsp that redirects to user.jsp where I have all the code. This is user.jsp, | <%@page import="com.examscam.dao.*,com.examscam.model.*, | com.examscam.util.*,org.hibernate.*;" contentType="text/html;" %> | | <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | | | | | <% | HibernateUtil.beginTransaction(); | UserDAO userDAO = new HibernateUserDAO(); | java.util.List users = null; | String command = request.getParameter("command"); | if (command != null) { | if (command.equals("Create")) { | userDAO.create(user); | } | if (command.equals("Update")) { | userDAO.update(user); | } | if (command.equals("edit")) { | user = userDAO.findByPrimaryKey(user.getId()); | request.setAttribute("user", user); | } | if (command.equals("delete")) { | userDAO.delete(user); | request.setAttribute("user", null); | } | if (command.equals("Fuzzy Search")) { | users = userDAO.findByExample(user, true); | } | if (command.equals("Strict Search")) { | users = userDAO.findByExample(user, false); | } | if (command.equals("Clear")) { | request.setAttribute("user", null); | } | } | if (users == null) { | users = userDAO.findAll(); | } | request.setAttribute("users", users); | HibernateUtil.commitTransaction(); | %> | | | |
| | Id |
| Name |
| Password |
| Email |
| | | | | | |
| | | | | | | | | | edit | delete | | | |
|
|
| | | The problem is that I am not building the web app correctly. For user.jsp I import a jar, hibernatedaoaccess.jar, where are the classes and interfaces I need, | package com.examscam.dao; | | import java.util.List; | import com.examscam.model.User; | | public interface UserDAO { | | public User create(User user); | public boolean update(User user) ; | public boolean delete(User user) ; | public User findByPrimaryKey(Long primaryKey); | public List findByExample(User user, boolean fuzzy); | public List findAll(); | | } | | package com.examscam.model; | | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import javax.persistence.Id; | import javax.persistence.Column; | import javax.persistence.Table; | import javax.persistence.Basic; | import javax.persistence.Temporal; | import javax.persistence.TemporalType; | import javax.persistence.Transient; | | @Entity | @Table (name="user", schema="examscam") | public class User { | private Long id; | private String loginName; | private String password; | private String encryptedPassword; | private String emailAddress; | private Boolean verified; | private java.util.Date lastAccessTime; | private java.util.Calendar registrationDate; | | @Transient | public String getEncryptedPassword() { | return encryptedPassword; | } | public void setEncryptedPassword(String ep) { | this.encryptedPassword = ep; | } | | @Id | @GeneratedValue | @Column (name="id") | public Long getId() { | return id; | } | public void setId(Long id) { | this.id = id; | } | | @Column (name="login_name") | public String getLoginName() { | return loginName; | } | public void setLoginName(String loginName) { | this.loginName = loginName; | } | | @Column (name="password", nullable=false) | public String getPassword() { | return password; | } | public void setPassword(String password) { | this.password = password; | } | | @Column (name="emailAddress") | public String getEmailAddress() { | return emailAddress; | } | | @Temporal(TemporalType.TIMESTAMP) | public java.util.Date getLastAccessTime() { | return lastAccessTime; | } | | @Temporal(TemporalType.DATE) | public java.util.Calendar getRegistrationDate() { | return registrationDate; | } | | @Basic | public Boolean isVerified() { | return verified; | } | | public void setEmailAddress(String emailAddress) { | this.emailAddress = emailAddress; | } | | public void setLastAccessTime | (java.util.Date lastAccessTime) { | this.lastAccessTime = lastAccessTime; | } | | public void setRegistrationDate | (java.util.Calendar registrationDate){ | this.registrationDate = registrationDate; | } | | public void setVerified(Boolean verified) { | this.verified = verified; | } | | public String toString() { | return getId() + " : " + | getLoginName() + " : " + | getPassword() + " : " + | getEmailAddress(); | } | } | | package com.examscam.dao; | | import java.util.List; | import org.hibernate.Criteria; | import org.hibernate.Query; | import org.hibernate.Session; | import org.hibernate.criterion.Example; | import org.hibernate.criterion.MatchMode; | import com.examscam.model.User; | | | public class HibernateUserDAO extends ExamScamDAO implements UserDAO { | | public User create(User user) { | // TODO Auto-generated method stub | if (user.getId() != null && user.getId() != 0) { | user = null; | } | else { | user.setLastAccessTime(new java.util.Date()); | user.setRegistrationDate | (new java.util.GregorianCalendar()); | user.setVerified(false); | super.save(user); | } | return user; | } | | public boolean update(User user) { | // TODO Auto-generated method stub | boolean successFlag = true; | | try { | if (user.getId() == null || user.getId() == 0) { | successFlag = false; | }else { | super.save(user); | } | } | catch (Throwable th) { | successFlag = false; | } | | return successFlag; | } | | public boolean delete(User user) { | // TODO Auto-generated method stub | boolean successFlag = true; | | try { | user.setPassword(" "); | super.delete(user); | } catch (Throwable th) { | successFlag = false; | } | | return successFlag; | } | | @SuppressWarnings("unchecked") | public List findAll() { | // TODO Auto-generated method stub | String queryString = "from User"; | List allUsers; | Query queryResult = | this.getSession().createQuery(queryString); | allUsers = (List) queryResult.list(); | | return allUsers; | | } | | @SuppressWarnings("unchecked") | public List findByExample(User user, boolean fuzzy) { | // TODO Auto-generated method stub | List users = null; | Session session = this.getSession(); | Criteria criteria = | session.createCriteria(User.class); | Example example = Example.create(user); | if (fuzzy) { | example.enableLike(MatchMode.ANYWHERE); | example.ignoreCase(); | example.excludeZeroes(); | } | criteria.add(example); | List list = (List) criteria.list(); | users = list; | return users; | | } | | public User findByPrimaryKey(Long primaryKey) { | // TODO Auto-generated method stub | User user = (User) | super.findByPrimaryKey(User.class, primaryKey); | | return user; | | } | | } | The question is depending on where I put the jar, running the web app against JBoss 4.2.2 GA, it does not find the hibernate.cfg.xml file or the interface UserDao as well. And I can not get it works. Any idea? I am developing on Eclipse Ganymede RS1 that integrates the Data Base if needed and the apps server. Thanking in advance, Jose View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262842#4262842 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262842 From do-not-reply at jboss.com Thu Oct 29 01:41:23 2009 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 29 Oct 2009 01:41:23 -0400 (EDT) Subject: [jboss-user] [JMX] - Re: jmx-console depends on generic named ear-file Message-ID: <4338311.1256794883380.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "mawenzel" wrote : | The problem is: the ear-file has a dynamically-given name (like test_010.ear, test_020.ear,...) | | How dynamic is the name? I mean do you know the name of the ear when the server is starting? If yes, then you can do something like this: jboss.j2ee:service=EARDeployment,url='${myEarName}' Notice the use of ${myEarName}. You can then pass -DmyEarName as a system property while starting the server: ./run.sh -DmyEarName=test_010.ear The property in the xml will then be replaced by this value during xml parsing by the JBoss server. You could even add the -D part into the JAVA_OPTS section within the run.sh/run.bat script instead of typing from the command line. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262843#4262843 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262843 From do-not-reply at jboss.com Thu Oct 29 01:53:06 2009 From: do-not-reply at jboss.com (jaikiran) Date: Thu, 29 Oct 2009 01:53:06 -0400 (EDT) Subject: [jboss-user] [Persistence] - Re: Isolated ears with same name persistence unit Message-ID: <30711504.1256795586725.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> It's a bug https://jira.jboss.org/jira/browse/JBAS-6821 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262845#4262845 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262845 From do-not-reply at jboss.com Thu Oct 29 02:18:27 2009 From: do-not-reply at jboss.com (sarish) Date: Thu, 29 Oct 2009 02:18:27 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM process timers in Multi Server deployment -3.2.6 Message-ID: <13525571.1256797107570.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> huhhh silence... Was i totally off in explaining the problem or this topic is already beaten to death and i am reopening it?.. Anyone else deployed JBPM (with timers) in clustered/non-clustered multi server environments? Please share your experience. I see one good guide related to JBPM Clustering, http://www.theserverside.com/tt/articles/article.tss?l=WorkflowEngineJBossCluster, but that is also describing deployment with Job Executor service instead of Timer/JMS for job execution. Wondering if that's actually the recommended path? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262848#4262848 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262848 From do-not-reply at jboss.com Thu Oct 29 02:26:47 2009 From: do-not-reply at jboss.com (Elenthril) Date: Thu, 29 Oct 2009 02:26:47 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - WSDL generated incorrectly? Message-ID: <21981555.1256797607369.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I am using wstools from eclipse 3.5.1. and jboss-5.1.0.GA to generate a top-down webservice. It is generated from the following, I believe (syntacticly) correct, wsdl with elements. | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All the classes are generated coorectly. However, the wsdl published by JBoss look like this definitions name="ModelAgentService" targetNamespace="http://com.lei.nl/modelAgent" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://com.lei.nl/modelAgent" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://modelagent.lei.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | What happened here is the first parts of the request and response messages are lost, and cannot therefore not be read a client. Has anyone any idea what i am doing wrong? Thnak you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262849#4262849 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262849 From do-not-reply at jboss.com Thu Oct 29 03:30:21 2009 From: do-not-reply at jboss.com (2vm) Date: Thu, 29 Oct 2009 03:30:21 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - java.rmi.ServerException: RemoteException Message-ID: <7177465.1256801421860.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi I am new to this community.I having a problem while accessing stateless session bean from client code. I am using JBOSS 4.0.2 Following is the stack trace java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.ServerException: EJBException:; nested exception is: javax.ejb.EJBException: Could not instantiate bean; CausedByException is: null at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:325) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:595) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) at sun.rmi.server.UnicastRef.invoke(Unknown Source) at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source) at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118) at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) at $Proxy0.create(Unknown Source) at com.oneview.configure.delegate.ConfigureDelegate.getRemoteInstance(ConfigureDelegate.java:447) at com.oneview.configure.delegate.ConfigureDelegate.fetchAllCameraDetail(ConfigureDelegate.java:59) at com.oneview.configure.action.ConfigureCameraAction.processShowConfigureCameraView(ConfigureCameraAction.java:94) at com.oneview.configure.action.ConfigureCameraAction.showConfigureCameraView(ConfigureCameraAction.java:49) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:276) at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:196) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) 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:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Unknown Source) Caused by: java.rmi.ServerException: EJBException:; nested exception is: javax.ejb.EJBException: Could not instantiate bean; CausedByException is: null at org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:352) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:125) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93) at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:613) at org.jboss.ejb.Container.invoke(Container.java:894) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406) 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 sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) at sun.rmi.transport.Transport$1.run(Transport.java:153) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:149) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:595) Caused by: javax.ejb.EJBException: Could not instantiate bean; CausedByException is: null at org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:180) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:78) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90) at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:116) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121) **************************************************** Following is my client code private ConfigureRemoteInterface getRemote() { ConfigureRemoteInterface configureRemoteInterface = null; Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); p.put(Context.PROVIDER_URL, "localhost:1099"); p.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); InitialContext ctx = null; try { ctx = new InitialContext(p); } catch (NamingException e) { e.printStackTrace(); } Object obj = null; try { obj = ctx.lookup("ejb/ConfigureJndi"); } catch (NamingException e) { e.printStackTrace(); } if(obj instanceof ConfigureHomeInterface){ }else if(obj instanceof ConfigureRemoteInterface){ System.out.println(ConfigureCameraAction.class.getName()+">>>>>>>>>>>>OBJ IS OBJECT>>>>>>>>>"); } ConfigureHomeInterface configureHomeInterface=null; configureHomeInterface = (ConfigureHomeInterface) PortableRemoteObject .narrow(obj, ConfigureHomeInterface.class); try { configureRemoteInterface = configureHomeInterface.create(); } catch (RemoteException e) { e.printStackTrace(); } catch (CreateException e) { e.printStackTrace(); } return configureRemoteInterface; } ***************************************** HOME class as follows import java.rmi.RemoteException; import javax.ejb.CreateException; import javax.ejb.EJBHome; public interface ConfigureHomeInterface extends EJBHome { public ConfigureRemoteInterface create() throws RemoteException, CreateException; } ******************************************* Remote as folows import java.rmi.RemoteException; import javax.ejb.EJBObject; public interface ConfigureRemoteInterface extends EJBObject { public String sayHello() throws RemoteException,DataHandlerException ; public void ejbCreate(){} public void ejbRemove(){} public void ejbActivate(){} public void ejbPassivate(){} public void setSessionContext (SessionContext sc ) {} } Any help at the earliest is always welcome :) Thanks in advance ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262851#4262851 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262851 From do-not-reply at jboss.com Thu Oct 29 04:01:06 2009 From: do-not-reply at jboss.com (dalmauf) Date: Thu, 29 Oct 2009 04:01:06 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Reference extern javascript in jboss-portal.xml Message-ID: <32305302.1256803266178.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you Wesley for your fast answer. It seems that in your code there are two portlets packed in the same war file, isn't it (relative path is the same and share same descriptor file)? In my question I was trying to do a reference to an externe file but also packed in a different WAR file, e.g.: in jboss-portlet.xml in MY_FILE_A.war: script src="/faces/rfRes/org/ajax4jsf/framework.pack.js" type="text/javascript" and in jboss-portlet.xml in MY_FILE_B.war: script src="/MY_FILE_A/faces/rfRes/org/ajax4jsf/framework.pack.js" type="text/javascript" But this last reference does not work. Maybe am I wrong with this approach? Thank you very much one more time. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262856#4262856 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262856 From do-not-reply at jboss.com Thu Oct 29 04:10:02 2009 From: do-not-reply at jboss.com (bershath27) Date: Thu, 29 Oct 2009 04:10:02 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Load balancing with new node Message-ID: <24294021.1256803802516.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> For the given scenario, the client won't be able to obtain a connection from the newly added node rightaway. However,once the cluster view is updated,it's upto the ClusteredConnectionFactory to decide/round robin on the new cluster formation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262858#4262858 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262858 From do-not-reply at jboss.com Thu Oct 29 04:56:37 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 29 Oct 2009 04:56:37 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: As I get all the tasks of a process Message-ID: <5636533.1256806597368.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> There are nos tasks in a user's task list without running processes. So what do you want to say or what are you trying to achieve? Are you trying to retrieve all user tasks in a process definition? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262863#4262863 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262863 From do-not-reply at jboss.com Thu Oct 29 05:02:41 2009 From: do-not-reply at jboss.com (sravyts) Date: Thu, 29 Oct 2009 05:02:41 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Extending timers or creating custom jobs Message-ID: <33062131.1256806961805.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We are looking into implementing the following BPM construct in jbpm: start -> task 1 (inputs an activity date) -> wait for the first working day after the activity -> task 2 -> end Is there a way we can implement this? I was looking into using a wait state with an event listeren on "start" which would create a job, with the calculated duedate, and when the job is executed, the execution is signalled so the process continues. But I can't find a way to create custom jobs? There doesn't seem to be an api to create jobs? Is this something that will be available in the future? Wkr, Sofie View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262865#4262865 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262865 From do-not-reply at jboss.com Thu Oct 29 05:06:32 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 29 Oct 2009 05:06:32 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Extending timers or creating custom jobs Message-ID: <22609777.1256807192489.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello sravyts! So basically you want to put a timer on a transition but you do not want to set the duedate in the process definition but during runtime, right? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262867#4262867 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262867 From do-not-reply at jboss.com Thu Oct 29 05:07:22 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Thu, 29 Oct 2009 05:07:22 -0400 (EDT) Subject: [jboss-user] [Security] - Assigning roles to an 'unauthenticatedIdentity' user Message-ID: <32055927.1256807242987.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> i have defined a user named 'defaultuser' as the unauthenticatedIdentity in my login-config.xml file. I am storing all the roles in the DB. Im in need to have this defaultuser able to access any ejb session bean method(s). so either i should have all the roles assigned to him, or have ejb configured to allow the defaultuser to access any session bean method. I do prefer the second option of having the container allowing this user to access any method without checking his principal role list. How do i do this but? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262868#4262868 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262868 From do-not-reply at jboss.com Thu Oct 29 05:14:59 2009 From: do-not-reply at jboss.com (sravyts) Date: Thu, 29 Oct 2009 05:14:59 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Extending timers or creating custom jobs Message-ID: <22238870.1256807699655.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Yep, exactly! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262869#4262869 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262869 From do-not-reply at jboss.com Thu Oct 29 05:15:25 2009 From: do-not-reply at jboss.com (sreevalsan) Date: Thu, 29 Oct 2009 05:15:25 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - How many concurrent users ??? Message-ID: <3370949.1256807725689.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am hosting a JBoss based application server in my college campus. Can you please let me know how many concurrent users can it support. I am having a 2 x Quad Core Server with 8 GB RAM. How many concurrent users does a single instance of JBoss support ? Thanks Sree View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262870#4262870 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262870 From do-not-reply at jboss.com Thu Oct 29 05:19:58 2009 From: do-not-reply at jboss.com (ashutoshdeora) Date: Thu, 29 Oct 2009 05:19:58 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - what can be the maximam size of cache Message-ID: <7316000.1256807998878.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> what can be the maximam size of cache that can be replicated and which cache should wil be the best for this size is more then 10MB View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262871#4262871 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262871 From do-not-reply at jboss.com Thu Oct 29 05:20:24 2009 From: do-not-reply at jboss.com (p4w3l) Date: Thu, 29 Oct 2009 05:20:24 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: identities from LDAP example pls! Message-ID: <179721.1256808024319.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you very much shiva0. I have managed to test it in my environment. I have modified your code for two important reasons: - all strings and especially search strings are moved to properties file now. This allows to change search strings for different directories: MS Active Directory , IBM Lotus Domino, etc. - I have changed the way it search for user groups - it is now looking for members in group record instead of looking for memberOf's in user record. I think it is better attampt and the only possible for IBM Lotus Domino Below is jbpm.cfg.xml that I am still not sure if it is ok for pluged IdentitySession | | | | | | | | | | | | | | Now the class and then ldap.properties for MS Active Directory and IBM Lotus Domino. I have both of them so parameters are TESTED: | package sam; | | import java.io.FileInputStream; | import java.io.IOException; | import java.util.List; | import java.util.ArrayList; | import java.util.Hashtable; | import java.util.StringTokenizer; | import java.util.Properties; | | import javax.naming.*; | import javax.naming.directory.*; | | import org.apache.commons.logging.Log; | import org.apache.commons.logging.LogFactory; | | import org.jbpm.api.identity.Group; | import org.jbpm.api.identity.User; | import org.jbpm.pvm.internal.identity.impl.GroupImpl; | import org.jbpm.pvm.internal.identity.impl.UserImpl; | import org.jbpm.pvm.internal.identity.spi.IdentitySession; | | | public class IdentitySessionImpl implements IdentitySession { | | private Log log = LogFactory.getLog(getClass()); | private static Properties props = null; | private SearchControls lSearchControls = null; | | public IdentitySessionImpl() { | | lSearchControls = new SearchControls(); | lSearchControls.setSearchScope( SearchControls.SUBTREE_SCOPE ); | // set time limit for query. Useful for preventing the application from being blocked | try{ | lSearchControls.setTimeLimit( new Integer(getProps().getProperty("timeout")).intValue() ); | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | lSearchControls.setReturningObjFlag( true ); | } | | public Group findGroupById(String iGroupId) { | | InitialDirContext lContext = null; | GroupImpl lGroup = null; | | try | { | lContext = getLDAPContext(); | | NamingEnumeration lResults = lContext.search( | getProps().getProperty("roleBase"), | getProps().getProperty("findGroupByIdSearch"), | new Object[]{ iGroupId }, | lSearchControls ); | | if ( lResults.hasMore() ) | lGroup = getGroup(lResults.next()); | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | finally | { | try { if (lContext != null ) lContext.close(); } catch (NamingException e) { } | } | | return lGroup; | } | | public List findGroupsByUser(String iUserId) { | | InitialDirContext lContext = null; | List lGroups = new ArrayList(); | | try | { | lContext = getLDAPContext(); | | NamingEnumeration lResults = lContext.search( | getProps().getProperty("roleBase"), | getProps().getProperty("findGroupsByUserSearch"), | new Object[]{ findUserById(iUserId).toString() }, | lSearchControls ); | | while ( lResults.hasMore() ) | lGroups.add( getGroup(lResults.next()) ); | | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | finally | { | try { if (lContext != null ) lContext.close(); } catch (NamingException e) { } | } | | return lGroups; | } | | public List findGroupsByUserAndGroupType(String iUserId, String iGroupType) { | return findGroupsByUser(iUserId); | } | | public User findUserById(String iUserId) { | | InitialDirContext lContext = null; | UserImpl lUser = null; | | try | { | lContext = getLDAPContext(); | | NamingEnumeration lResults = lContext.search( | getProps().getProperty("userBase"), | getProps().getProperty("findUserByIdSearch"), | new Object[]{ iUserId }, | lSearchControls ); | | if ( lResults.hasMore() ) | lUser = getUser(lResults.next()); | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | finally | { | try { if (lContext != null ) lContext.close(); } catch (NamingException e) { } | } | | return lUser; | } | | public List findUsers() { | | List lUsers = new ArrayList(); | InitialDirContext lContext = null; | | try | { | lContext = getLDAPContext(); | | NamingEnumeration lResults = lContext.search( | getProps().getProperty("userBase"), | getProps().getProperty("findUsersSearch"), | lSearchControls ); | | while ( lResults.hasMore() ) | lUsers.add( getUser(lResults.next()) ); | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | finally | { | try { if (lContext != null ) lContext.close(); } catch (NamingException e) { } | } | | return lUsers; | } | | public List findUsersById(String... iUserIds) { | | List lUsers = new ArrayList(iUserIds.length); | | try | { | for (String lUserId : iUserIds) { | lUsers.add( findUserById(lUserId) ); | } | } | finally | { | | } | | return lUsers; | } | | public List findUsersByGroup(String iGroup) { | | InitialDirContext lContext = null; | List lUsers = new ArrayList(); | | try | { | lContext = getLDAPContext(); | | NamingEnumeration lResults = lContext.search( | getProps().getProperty("roleBase"), | getProps().getProperty("findUsersByGroupSearch"), | new Object[]{ iGroup }, | lSearchControls ); | | while ( lResults.hasMore() ) | lUsers.add( getUser(lResults.next()) ); | } | catch (Throwable e) | { | throw new RuntimeException(e); | } | finally | { | try { if (lContext != null ) lContext.close(); } catch (NamingException e) { } | } | | return lUsers; | } | | private UserImpl getUser(SearchResult iResult) throws NamingException, IOException { | | final String iUserId = getAttributeValue(iResult, getProps().getProperty("userIdAttr")); | final String lEmail = getAttributeValue(iResult, getProps().getProperty("userEmailAttr")); | final String lFirstname = getAttributeValue(iResult, getProps().getProperty("userFirstNameAttr")); | final String lLastname = getAttributeValue(iResult, getProps().getProperty("userLastNameAttr")); | | final UserImpl lUser = new UserImpl(iUserId, lFirstname, lLastname); | lUser.setBusinessEmail(lEmail); | | return lUser; | } | | private List getUsers(SearchResult iResult) throws NamingException, IOException { | NamingEnumeration lAllAttrValues = null; | | final List lUsers = new ArrayList(); | final Attribute lAttr = iResult.getAttributes().get(getProps().getProperty("memberOfAttr")); | | if ( lAttr != null ) | lAllAttrValues = lAttr.getAll(); | | while ( lAllAttrValues.hasMore() ) | { | String lUserDN = (String) lAllAttrValues.next(); | lUsers.add( findUserById(getExtractedIdFromDN(lUserDN)) ); | } | return lUsers; | } | | private GroupImpl getGroup(SearchResult iResult) throws NamingException, IOException { | | final String iGroupId = getAttributeValue(iResult, getProps().getProperty("groupIdAttr")); | final GroupImpl lGroup = new GroupImpl(iGroupId); | | return lGroup; | } | | private String getExtractedIdFromDN(String iGroupDN) { | StringTokenizer lTok = new StringTokenizer(iGroupDN, ","); | | String lGroupCN = lTok.nextToken(); | | return lGroupCN.substring(3); | } | | private String getAttributeValue(SearchResult iResult, String iAttributeName) throws NamingException { | NamingEnumeration lAllAttrValues = null; | Attribute lAttr = iResult.getAttributes().get(iAttributeName); | | if ( lAttr != null ) | lAllAttrValues = lAttr.getAll(); | | if ( lAllAttrValues != null && lAllAttrValues.hasMore() ) | return (String) lAllAttrValues.next(); | else | return null; | } | | private InitialDirContext getLDAPContext() throws NamingException, IOException { | InitialDirContext lLdapCtx = null; | | // Set up LDAP configuration settings | Hashtable lContextValues = new Hashtable(); | | lContextValues.put("java.naming.ldap.version", getProps().getProperty("ldapVersion")); | lContextValues.put( Context.INITIAL_CONTEXT_FACTORY, getProps().getProperty("initialContextFactory")); | lContextValues.put( Context.SECURITY_AUTHENTICATION, getProps().getProperty("authentication")); | lContextValues.put( Context.REFERRAL, getProps().getProperty("referral")); | lContextValues.put( Context.PROVIDER_URL, getProps().getProperty("connectionURL")); | lContextValues.put( Context.SECURITY_PRINCIPAL, getProps().getProperty("connectionUsername")); | lContextValues.put( Context.SECURITY_CREDENTIALS, getProps().getProperty("connectionPassword")); | | // Make LDAP connection | lLdapCtx = new InitialDirContext(lContextValues); | | return lLdapCtx; | } | | private static Properties getProps() throws IOException | { | if ( props == null ) | { | props = new Properties(); | props.load( ClassLoader.getSystemClassLoader().getResourceAsStream("ldap.properties") ); | } | | return props; | } | | /* The following methods won't be implemented */ | public String createGroup(String arg0, String arg1, String arg2) { | throw new UnsupportedOperationException(); | } | | public void createMembership(String arg0, String arg1, String arg2) { | throw new UnsupportedOperationException(); | } | | public String createUser(String arg0, String arg1, String arg2, String arg3) { | throw new UnsupportedOperationException(); | } | | public void deleteGroup(String arg0) { | throw new UnsupportedOperationException(); | } | | public void deleteMembership(String arg0, String arg1, String arg2) { | throw new UnsupportedOperationException(); | } | | public void deleteUser(String arg0) { | throw new UnsupportedOperationException(); | } | } | ldap.properties | initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory | connectionURL=ldap://server | authentication=simple | connectionUsername=Username | connectionPassword=Password | timeout=3000 | referral=follow | ldapVersion=3 | | userIdAttr=uid | userEmailAttr=mail | userFirstNameAttr=givenname | userLastNameAttr=sn | userDNAttr=cn | memberOfAttr=member | groupIdAttr=cn | | # Lotus Domino | userBase="ou=BBBXXX_PL,o=BBBXXX" | roleBase= | | findGroupByIdSearch=(&(cn={0})(objectclass=dominoGroup)) | findGroupIdsByUserSearch= | findGroupsByUserSearch=(&(member=cn={0},ou=BBBXXX_PL,o=BBBXXX)(objectclass=dominoGroup)) | findUserByIdSearch=(&(cn={0})(objectclass=dominoPerson)) | findUsersSearch=(&(objectclass=dominoPerson)) | findUsersByGroupSearch=(&(cn={0})(objectclass=dominoGroup)) | | # Active Directory | #userBase="cn=users,dc=int,dc=bbbxxx,dc=pl" | #roleBase="cn=users,dc=int,dc=bbbxxx,dc=pl" | | #findGroupByIdSearch=(&(cn={0})(objectclass=group)) | #findGroupIdsByUserSearch= | #findGroupsByUserSearch=(&(member=cn={0},CN=Users,DC=int,DC=bbbxxx,DC=pl)(objectclass=group)) | #findUserByIdSearch=(&(|(cn={0})(samAccountName={0}))(objectclass=user)) | #findUsersSearch=(&(objectclass=user)) | #findUsersByGroupSearch=(&(cn={0})(objectclass=group)) | [list=][list=] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262872#4262872 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262872 From do-not-reply at jboss.com Thu Oct 29 05:32:46 2009 From: do-not-reply at jboss.com (yongz) Date: Thu, 29 Oct 2009 05:32:46 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: Load balancing with new node Message-ID: <32160520.1256808766261.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for the response. It would be a great feature that the connection can be obtained from the newly added node, in this case, new node can immediately join and share the load without losing existing connections. This will help another common scenario: three nodes(A,B,C) initially using client side load balancing. One node(say B) crashes and then it is restarted. Does this mean the client cannot obtain a connection to it(node B) anymore without losing existing connections to A and C? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262875#4262875 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262875 From do-not-reply at jboss.com Thu Oct 29 05:32:54 2009 From: do-not-reply at jboss.com (sreevalsan) Date: Thu, 29 Oct 2009 05:32:54 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: How many concurrent users ??? Message-ID: <19878269.1256808774531.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry... forgot to add the OS : Red Hat Enterprise Linux Sree View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262876#4262876 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262876 From do-not-reply at jboss.com Thu Oct 29 05:53:40 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 29 Oct 2009 05:53:40 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Extending timers or creating custom jobs Message-ID: <7745183.1256810020507.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> AFAIK there is no API to create jobs. ManagementService just exposes a method to execute jobs and to search for jobs by creating a JobQuery. If this is really the case I would consider you to fill a JIRA issue and to propose the extension of the API. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262881#4262881 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262881 From do-not-reply at jboss.com Thu Oct 29 06:30:03 2009 From: do-not-reply at jboss.com (aaditya) Date: Thu, 29 Oct 2009 06:30:03 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - to make jboss-5.1.0.GA stable and run for long period Message-ID: <17970484.1256812203546.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, this is aadi rigorous jboss 5.1.0.GA user. I am having issue about jboss memory management. My application is getting GC overhead error. I am trying to find out good combinations of JAVA_OPTS My question is what should be gc intervals which gc collector should i define what should be stack size what should be max thread count how to install jvmstat and everything that will make my application stable. Regards, Aadi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262896#4262896 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262896 From do-not-reply at jboss.com Thu Oct 29 06:31:15 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 29 Oct 2009 06:31:15 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: java.rmi.ServerException: RemoteException Message-ID: <26774362.1256812275695.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, if you perform a JNDI lookup inside your server (from inside the webapp, which tries to access the ejb running in the same JBoss instance), you can simply use the parameterless constructor "new InitialContext()". No need for properties. Maybe this confuses JBoss. Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262897#4262897 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262897 From do-not-reply at jboss.com Thu Oct 29 06:36:59 2009 From: do-not-reply at jboss.com (dimitris@jboss.org) Date: Thu, 29 Oct 2009 06:36:59 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBossAS 4.2.4: When? Message-ID: <32222779.1256812619680.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry, there is no plan to produce another bug-fixing 4.2.x community release Next community releases we are working on are 5.2 Beta and later on 6.0 Alpha. If you really need another release 4.2.x release, either get and build Branch_4_2 from source, or buy an EAP (Enterprise Application Platform) 4.2/4.3 subscription. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262899#4262899 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262899 From do-not-reply at jboss.com Thu Oct 29 06:49:59 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 29 Oct 2009 06:49:59 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Simple hibernate web app Message-ID: <22754934.1256813399424.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, the JAR file has to be placed in "WEB-INF\lib" of your WAR file. But I cannot help you further with hibernate.cfg.xml files :-(. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262905#4262905 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262905 From do-not-reply at jboss.com Thu Oct 29 06:51:25 2009 From: do-not-reply at jboss.com (dhanya_piit) Date: Thu, 29 Oct 2009 06:51:25 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Upload files to Jboss from a standalone client Message-ID: <7674949.1256813485958.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> hey, Can any one plz help me out as to how can i deploy images on Jboss server. I want to access it through http://localhost:8080 please help asap View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262907#4262907 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262907 From do-not-reply at jboss.com Thu Oct 29 07:13:50 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 29 Oct 2009 07:13:50 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: correct usage of EntityManager in a thread under JBossA Message-ID: <1118833.1256814830823.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, if you also use threads like the initial poster, this should answer the question: http://stackoverflow.com/questions/976541/how-to-process-data-in-multiple-threads-using-ejb3 So you have to change your concept. Probably your error is a result of using disallowed threading. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262914#4262914 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262914 From do-not-reply at jboss.com Thu Oct 29 07:21:41 2009 From: do-not-reply at jboss.com (jbarrez) Date: Thu, 29 Oct 2009 07:21:41 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: timer not signalling to right transition Message-ID: <19664090.1256815301554.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What happens when you remove the action attached to the timer? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262915#4262915 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262915 From do-not-reply at jboss.com Thu Oct 29 07:24:24 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 29 Oct 2009 07:24:24 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: Upload files to Jboss from a standalone client Message-ID: <24125166.1256815464691.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, please create a new thread, and avoid "asap", as it will reduce the willingness to help ;-). Do you want to dynamically upload images to the server, or do you want to serve static content? For dynamic upload, the basic questions should be answered. Static content has to be placed in some directory in your web app. Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262916#4262916 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262916 From do-not-reply at jboss.com Thu Oct 29 07:26:10 2009 From: do-not-reply at jboss.com (jbarrez) Date: Thu, 29 Oct 2009 07:26:10 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Store long strings as variables Message-ID: <1576611.1256815570742.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The problem to make an auto-switch in the engine itself, is that different databases tend to have different max lengths for strings ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262917#4262917 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262917 From do-not-reply at jboss.com Thu Oct 29 07:31:39 2009 From: do-not-reply at jboss.com (jbarrez) Date: Thu, 29 Oct 2009 07:31:39 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4.1] Update hibernate-type process variables via fo Message-ID: <25503506.1256815899402.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I didn't look into the console implementation, but I'm assuming that if you can display the properties correctly, you should also be able to change them through the form. Can you create a Jira issue for this so we can follow it up? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262918#4262918 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262918 From do-not-reply at jboss.com Thu Oct 29 07:35:47 2009 From: do-not-reply at jboss.com (jbarrez) Date: Thu, 29 Oct 2009 07:35:47 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Querying Against Process Variables Message-ID: <10354061.1256816147345.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Ronald is right. In many cases, the business key is sufficient and even more appropriate to do queries. Do remember that business keys can have any string value, so with a bit of thinking chances are that you don't need additional variables. Nonetheless, querying on variables is planned for a next release, but the approach will probably be way slower performance-wise compared to using the business key. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262920#4262920 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262920 From do-not-reply at jboss.com Thu Oct 29 07:37:11 2009 From: do-not-reply at jboss.com (jbarrez) Date: Thu, 29 Oct 2009 07:37:11 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: NullPointerException in JobExecutorMessageSession.send w Message-ID: <9802750.1256816231155.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Could you post the exact stacktrace. I've seen the job executor working on Spring earlier. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262921#4262921 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262921 From do-not-reply at jboss.com Thu Oct 29 07:42:38 2009 From: do-not-reply at jboss.com (jbarrez) Date: Thu, 29 Oct 2009 07:42:38 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List Message-ID: <17321345.1256816558564.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> @bwestrich: indeed, that's a good analysis :-) We've changed the error message in 4.2 into something more meaningful, because we also had trouble interpreting it ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262922#4262922 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262922 From do-not-reply at jboss.com Thu Oct 29 07:50:37 2009 From: do-not-reply at jboss.com (amalraj.palanichamy) Date: Thu, 29 Oct 2009 07:50:37 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: JBoss5.0GA+hsql have the following exception(shutdown se Message-ID: <23014826.1256817037759.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am getting the following Exceptions trace when Shutdown JBoss (Using Shutdown.bat script as well as Ctrl+C) Could you please help to solve this? fyi : I am using JBoss 5.1.0 GA 2009-10-29 17:15:07,328 ERROR [org.jboss.messaging.util.ExceptionUtil] ConsumerEndpoint[z9-va13gd1g-1-kjj1gd1g-n75q9e-75ro4c5] close [a11-kvt7gd1g-1-kjj1gd1g-n75q9e-75ro4c5] | java.lang.NullPointerException | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.localClose(ServerConsumerEndpoint.java:542) | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.close(ServerConsumerEndpoint.java:388) | at org.jboss.jms.server.endpoint.advised.ConsumerAdvised.org$jboss$jms$server$endpoint$advised$ConsumerAdvised$close$aop(ConsumerAdvised.java:59) | at org.jboss.jms.server.endpoint.advised.ConsumerAdvised$close_N4742752445160157748.invokeTarget(ConsumerAdvised$close_N4742752445160157748.java) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.server.endpoint.advised.ConsumerAdvised.close(ConsumerAdvised.java) | at org.jboss.jms.wireformat.CloseRequest.serverInvoke(CloseRequest.java:66) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106) | at org.jboss.remoting.Client.invoke(Client.java:1724) | at org.jboss.remoting.Client.invoke(Client.java:629) | at org.jboss.remoting.Client.invoke(Client.java:617) | at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189) | at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160) | at org.jboss.jms.client.delegate.ClientConsumerDelegate.org$jboss$jms$client$delegate$ClientConsumerDelegate$close$aop(ClientConsumerDelegate.java:122) | at org.jboss.jms.client.delegate.ClientConsumerDelegate$close_N4742752445160157748.invokeTarget(ClientConsumerDelegate$close_N4742752445160157748.java) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) | at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.client.delegate.ClientConsumerDelegate.close(ClientConsumerDelegate.java) | at org.jboss.jms.client.container.ClosedInterceptor.maintainRelatives(ClosedInterceptor.java:306) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:165) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.client.delegate.ClientSessionDelegate.closing(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossConnectionConsumer.doClose(JBossConnectionConsumer.java:337) | at org.jboss.jms.client.JBossConnectionConsumer.close(JBossConnectionConsumer.java:163) | at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.teardownConsumer(JmsServerSessionPool.java:304) | at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.stop(JmsServerSessionPool.java:97) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.teardownSessionPool(JmsActivation.java:687) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.teardown(JmsActivation.java:375) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.stop(JmsActivation.java:255) | at org.jboss.resource.adapter.jms.JmsResourceAdapter.endpointDeactivation(JmsResourceAdapter.java:79) | at org.jboss.resource.deployers.RARDeployment.endpointDeactivation(RARDeployment.java:346) | at org.jboss.resource.deployers.RARDeployment.internalInvoke(RARDeployment.java:293) | at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:58) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.deactivate(JBossMessageEndpointFactory.java:363) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.stop(JBossMessageEndpointFactory.java:221) | at org.jboss.ejb3.mdb.MessagingContainer.stopProxies(MessagingContainer.java:338) | at org.jboss.ejb3.mdb.MessagingContainer.lockedStop(MessagingContainer.java:326) | at org.jboss.ejb3.EJBContainer.stop(EJBContainer.java:923) | 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:597) | at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) | at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) | at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) | at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) | at org.jboss.kernel.plugins.dependency.LifecycleAction.uninstallActionInternal(LifecycleAction.java:249) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.uninstallAction(InstallsAwareAction.java:157) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.uninstallAction(InstallsAwareAction.java:42) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleUninstallAction(SimpleControllerContextAction.java:79) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.uninstall(AccessControllerContextAction.java:131) | at org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58) | at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354) | at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1664) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1275) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1179) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1234) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.stop(ServiceController.java:510) | at org.jboss.system.deployers.ServiceDeployer.stop(ServiceDeployer.java:170) | at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:150) | at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalUndeploy(AbstractSimpleRealDeployer.java:69) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:196) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doUndeploy(DeployersImpl.java:1469) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1376) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1369) | at org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1331) | at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354) | at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1664) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1275) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:694) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.uninstall(ProfileDeployAction.java:95) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.uninstall(AbstractProfileAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.uninstall(AbstractProfileService.java:375) | at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354) | at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1664) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1275) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1179) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1234) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.deactivateProfile(AbstractProfileService.java:402) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deactivateProfiles(ProfileServiceBootstrap.java:388) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:345) | at org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerImpl.java:571) | at org.jboss.bootstrap.AbstractServerImpl$ShutdownHook.run(AbstractServerImpl.java:909) | 2009-10-29 17:15:07,343 WARN [org.jboss.jms.wireformat.Dispatcher] Cannot find object with id z9-va13gd1g-1-kjj1gd1g-n75q9e-75ro4c5 to register | 2009-10-29 17:15:07,343 ERROR [org.jboss.messaging.util.ExceptionUtil] SessionEndpoint[y9-u713gd1g-1-kjj1gd1g-n75q9e-75ro4c5] close [b11-zvt7gd1g-1-kjj1gd1g-n75q9e-75ro4c5] | java.lang.NullPointerException | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.localClose(ServerConsumerEndpoint.java:542) | at org.jboss.jms.server.endpoint.ServerSessionEndpoint.localClose(ServerSessionEndpoint.java:1153) | at org.jboss.jms.server.endpoint.ServerSessionEndpoint.close(ServerSessionEndpoint.java:338) | at org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advised$SessionAdvised$close$aop(SessionAdvised.java:72) | at org.jboss.jms.server.endpoint.advised.SessionAdvised$close_N4742752445160157748.invokeTarget(SessionAdvised$close_N4742752445160157748.java) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.server.endpoint.advised.SessionAdvised.close(SessionAdvised.java) | at org.jboss.jms.wireformat.CloseRequest.serverInvoke(CloseRequest.java:66) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106) | at org.jboss.remoting.Client.invoke(Client.java:1724) | at org.jboss.remoting.Client.invoke(Client.java:629) | at org.jboss.remoting.Client.invoke(Client.java:617) | at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189) | at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160) | at org.jboss.jms.client.delegate.ClientSessionDelegate.org$jboss$jms$client$delegate$ClientSessionDelegate$close$aop(ClientSessionDelegate.java:162) | at org.jboss.jms.client.delegate.ClientSessionDelegate$close_N4742752445160157748.invokeTarget(ClientSessionDelegate$close_N4742752445160157748.java) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) | at org.jboss.jms.client.container.SessionAspect.handleClose(SessionAspect.java:206) | at org.jboss.aop.advice.org.jboss.jms.client.container.SessionAspect_z_handleClose_5500140.invoke(SessionAspect_z_handleClose_5500140.java) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.client.delegate.ClientSessionDelegate.close(ClientSessionDelegate.java) | at org.jboss.jms.client.JBossConnectionConsumer.doClose(JBossConnectionConsumer.java:338) | at org.jboss.jms.client.JBossConnectionConsumer.close(JBossConnectionConsumer.java:163) | at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.teardownConsumer(JmsServerSessionPool.java:304) | at org.jboss.resource.adapter.jms.inflow.JmsServerSessionPool.stop(JmsServerSessionPool.java:97) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.teardownSessionPool(JmsActivation.java:687) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.teardown(JmsActivation.java:375) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.stop(JmsActivation.java:255) | at org.jboss.resource.adapter.jms.JmsResourceAdapter.endpointDeactivation(JmsResourceAdapter.java:79) | at org.jboss.resource.deployers.RARDeployment.endpointDeactivation(RARDeployment.java:346) | at org.jboss.resource.deployers.RARDeployment.internalInvoke(RARDeployment.java:293) | at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:58) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.deactivate(JBossMessageEndpointFactory.java:363) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.stop(JBossMessageEndpointFactory.java:221) | at org.jboss.ejb3.mdb.MessagingContainer.stopProxies(MessagingContainer.java:338) | at org.jboss.ejb3.mdb.MessagingContainer.lockedStop(MessagingContainer.java:326) | at org.jboss.ejb3.EJBContainer.stop(EJBContainer.java:923) | 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:597) | at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) | at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) | at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) | at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) | at org.jboss.kernel.plugins.dependency.LifecycleAction.uninstallActionInternal(LifecycleAction.java:249) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.uninstallAction(InstallsAwareAction.java:157) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.uninstallAction(InstallsAwareAction.java:42) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleUninstallAction(SimpleControllerContextAction.java:79) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.uninstall(AccessControllerContextAction.java:131) | at org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58) | at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354) | at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1664) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1275) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1179) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1234) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.stop(ServiceController.java:510) | at org.jboss.system.deployers.ServiceDeployer.stop(ServiceDeployer.java:170) | at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:150) | at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalUndeploy(AbstractSimpleRealDeployer.java:69) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:196) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doUndeploy(DeployersImpl.java:1469) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1376) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1369) | at org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1331) | at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354) | at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1664) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1275) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:694) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.uninstall(ProfileDeployAction.java:95) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.uninstall(AbstractProfileAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.uninstall(AbstractProfileService.java:375) | at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354) | at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1664) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1275) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1179) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1234) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.deactivateProfile(AbstractProfileService.java:402) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deactivateProfiles(ProfileServiceBootstrap.java:388) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:345) | at org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerImpl.java:571) | at org.jboss.bootstrap.AbstractServerImpl$ShutdownHook.run(AbstractServerImpl.java:909) | 2009-10-29 17:15:07,359 WARN [org.jboss.jms.wireformat.Dispatcher] Cannot find object with id z9-va13gd1g-1-kjj1gd1g-n75q9e-75ro4c5 to register | 2009-10-29 17:15:07,359 ERROR [org.jboss.messaging.util.ExceptionUtil] ConnectionEndpoint[39-e703gd1g-1-kjj1gd1g-n75q9e-75ro4c5] close [c11-fwt7gd1g-1-kjj1gd1g-n75q9e-75ro4c5] | java.lang.NullPointerException | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.localClose(ServerConsumerEndpoint.java:542) | at org.jboss.jms.server.endpoint.ServerSessionEndpoint.localClose(ServerSessionEndpoint.java:1153) | at org.jboss.jms.server.endpoint.ServerConnectionEndpoint.close(ServerConnectionEndpoint.java:388) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$close$aop(ConnectionAdvised.java:63) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised$close_N4742752445160157748.invokeTarget(ConnectionAdvised$close_N4742752445160157748.java) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) | at org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.server.endpoint.advised.ConnectionAdvised.close(ConnectionAdvised.java) | at org.jboss.jms.wireformat.CloseRequest.serverInvoke(CloseRequest.java:66) | at org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891) | at org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106) | at org.jboss.remoting.Client.invoke(Client.java:1724) | at org.jboss.remoting.Client.invoke(Client.java:629) | at org.jboss.remoting.Client.invoke(Client.java:617) | at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189) | at org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:160) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.org$jboss$jms$client$delegate$ClientConnectionDelegate$close$aop(ClientConnectionDelegate.java:153) | at org.jboss.jms.client.delegate.ClientConnectionDelegate$close_N4742752445160157748.invokeTarget(ClientConnectionDelegate$close_N4742752445160157748.java) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) | at org.jboss.jms.client.container.ConnectionAspect.handleClose(ConnectionAspect.java:171) | 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:597) | at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:122) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.client.container.FailoverValveInterceptor.invoke(FailoverValveInterceptor.java:92) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170) | at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:86) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | at org.jboss.jms.client.delegate.ClientConnectionDelegate.close(ClientConnectionDelegate.java) | at org.jboss.jms.client.JBossConnection.close(JBossConnection.java:132) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.teardownConnection(JmsActivation.java:635) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.teardown(JmsActivation.java:376) | at org.jboss.resource.adapter.jms.inflow.JmsActivation.stop(JmsActivation.java:255) | at org.jboss.resource.adapter.jms.JmsResourceAdapter.endpointDeactivation(JmsResourceAdapter.java:79) | at org.jboss.resource.deployers.RARDeployment.endpointDeactivation(RARDeployment.java:346) | at org.jboss.resource.deployers.RARDeployment.internalInvoke(RARDeployment.java:293) | at org.jboss.system.ServiceDynamicMBeanSupport.invoke(ServiceDynamicMBeanSupport.java:156) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.ejb3.JmxClientKernelAbstraction.invoke(JmxClientKernelAbstraction.java:58) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.deactivate(JBossMessageEndpointFactory.java:363) | at org.jboss.ejb3.mdb.inflow.JBossMessageEndpointFactory.stop(JBossMessageEndpointFactory.java:221) | at org.jboss.ejb3.mdb.MessagingContainer.stopProxies(MessagingContainer.java:338) | at org.jboss.ejb3.mdb.MessagingContainer.lockedStop(MessagingContainer.java:326) | at org.jboss.ejb3.EJBContainer.stop(EJBContainer.java:923) | 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:597) | at org.jboss.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59) | at org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150) | at org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241) | at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70) | at org.jboss.kernel.plugins.dependency.LifecycleAction.uninstallActionInternal(LifecycleAction.java:249) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.uninstallAction(InstallsAwareAction.java:157) | at org.jboss.kernel.plugins.dependency.InstallsAwareAction.uninstallAction(InstallsAwareAction.java:42) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleUninstallAction(SimpleControllerContextAction.java:79) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.uninstall(AccessControllerContextAction.java:131) | at org.jboss.dependency.plugins.AbstractControllerContextActions.uninstall(AbstractControllerContextActions.java:58) | at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354) | at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1664) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1275) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1179) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1234) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.stop(ServiceController.java:510) | at org.jboss.system.deployers.ServiceDeployer.stop(ServiceDeployer.java:170) | at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:150) | at org.jboss.system.deployers.ServiceDeployer.undeploy(ServiceDeployer.java:46) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalUndeploy(AbstractSimpleRealDeployer.java:69) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:196) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doUndeploy(DeployersImpl.java:1469) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1376) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1369) | at org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1331) | at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354) | at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1664) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1275) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:694) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) | at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) | at org.jboss.system.server.profileservice.repository.ProfileDeployAction.uninstall(ProfileDeployAction.java:95) | at org.jboss.system.server.profileservice.repository.AbstractProfileAction.uninstall(AbstractProfileAction.java:70) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.uninstall(AbstractProfileService.java:375) | at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:354) | at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1664) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1275) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1179) | at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1234) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:827) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.server.profileservice.repository.AbstractProfileService.deactivateProfile(AbstractProfileService.java:402) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.deactivateProfiles(ProfileServiceBootstrap.java:388) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:345) | at org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerImpl.java:571) | at org.jboss.bootstrap.AbstractServerImpl$ShutdownHook.run(AbstractServerImpl.java:909) | 2009-10-29 17:15:08,312 ERROR [org.jboss.messaging.util.ExceptionUtil] ConsumerEndpoint[ab-c553gd1g-1-kjj1gd1g-n75q9e-75ro4c5] close [f11-wmu7gd1g-1-kjj1gd1g-n75q9e-75ro4c5] | java.lang.NullPointerException | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.localClose(ServerConsumerEndpoint.java:542) | at org.jboss.jms.server.endpoint.ServerConsumerEndpoint.close(ServerConsumerEndpoint.java:388) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262924#4262924 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262924 From do-not-reply at jboss.com Thu Oct 29 07:53:10 2009 From: do-not-reply at jboss.com (amalraj.palanichamy) Date: Thu, 29 Oct 2009 07:53:10 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: JBoss5.0GA+hsql have the following exception(shutdown se Message-ID: <6691436.1256817190743.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Additional Info : I am using Null Persistence Unit for JMS (JBoss Messaging) Configuration: | | | | | | | | | | | | | | jboss.messaging:service=ServerPeer | | | | JMS post office | | | | false | | | | | | | jboss:service=TransactionManager | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262927#4262927 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262927 From do-not-reply at jboss.com Thu Oct 29 07:56:41 2009 From: do-not-reply at jboss.com (jbarrez) Date: Thu, 29 Oct 2009 07:56:41 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Using JBPM for document workflow in a Java/Flex CMS soft Message-ID: <23648388.1256817401200.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Since jBPM is a plain jar, you an do whatever you want... Also see my post http://www.jorambarrez.be/blog/2009/09/13/jbpm_architectural/ The easiest for Flex development, is wrapping jBPM into a service which translates input/output to xml... at least that was 2 years ago when I ded some Flexing ;-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262928#4262928 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262928 From do-not-reply at jboss.com Thu Oct 29 08:02:25 2009 From: do-not-reply at jboss.com (jbarrez) Date: Thu, 29 Oct 2009 08:02:25 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Conditional Task Assignment with Fork Message-ID: <8227582.1256817745985.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Relax .. if you post on Sunday you shouldn't expect people to have reacted a lot by Monday ;-) Regarding your question: No, in jBPM you cannot model 'optional'/'mandatory' tasks in the process. However, I'm guessing you can model something alike using a decision after the task, a wait state before the join and a custom activity which triggers waiting executions. But I haven't thought this through so I could be completely wrong here ... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262930#4262930 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262930 From do-not-reply at jboss.com Thu Oct 29 08:36:55 2009 From: do-not-reply at jboss.com (wesleyhales) Date: Thu, 29 Oct 2009 08:36:55 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Reference extern javascript in jboss-portal.xml Message-ID: <3007333.1256819815919.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I think the jboss-portlet.xml may add the servlet context (can't remember), but just see how your prtlet renders it locally by viewing html source. Then use that path in your other portlet, however you may need to create a top level template and ref your css and js in that. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262936#4262936 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262936 From do-not-reply at jboss.com Thu Oct 29 08:38:54 2009 From: do-not-reply at jboss.com (nilspreusker) Date: Thu, 29 Oct 2009 08:38:54 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: Logging mails in jBPM 4.0.CR1 Message-ID: <16250286.1256819934094.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi again, I knew I would come across this again:) This time I'd like to implement a custom mail producer that uses a java class (in this particular case a spring bean) to generate attachments. The way I imagine it to work is that a custom producer first checks for the presence of a certain name (or a custom attachment type in addition to the existing ones; url, resource and file). If the name or type is present, the producer generates the custom attachment and then calls the default mail producer's addAttachment method (super.addAttachment) to take care of the rest. I think this is a pretty generic requirement, so I would like to contribute it as an example to the Developers Guide (if I actually succeed in implementing it). What I know up to now is that I can extend org.jbpm.pvm.internal.email.impl.MailProducerImpl, as stated in the dev guide. I'm still not sure how I actually tell jBPM to use the custom producer. Maybe someone can point me at how to get the configuration right. The other challenge is to parse the inline mail template that defines the attachments, but looking at the source code of MailProducerImpl, extracting the relevant logic from there shouldn't be a big problem. Thanks in advanced for your help! Cheers, Nils View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262937#4262937 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262937 From do-not-reply at jboss.com Thu Oct 29 08:47:36 2009 From: do-not-reply at jboss.com (Brian13) Date: Thu, 29 Oct 2009 08:47:36 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Using FacesTrace from within Jboss Portal Message-ID: <25116332.1256820456553.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Has anyone been successful in using the FacesTrace (http://facestrace.sourceforge.net) on a JBoss Portlet Page in a JBoss Portal ? is there anything special that one needs to do to get FacesTrace to work in the Portal environment ... I installed FacesTrace on a Portlet Page according to the instructions but the Portlet Page will no longer start up instead gives the following Error: Cause: javax.portlet.PortletException: Error process faces request Message: Error process faces request StackTrace: javax.portlet.PortletException: Error process faces request .... javax.portlet.faces.BridgeException: javax.portlet.faces.BridgeException: Error processing render lifecycle .... javax.faces.FacesException: java.lang.IllegalArgumentException: Invalid URL traceResource.jsf?name=facestrace&type=js The entire Stack Trace is quite long and I have left it out from posting it here ... Thanks for any information you can provide ... -- Brian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262939#4262939 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262939 From do-not-reply at jboss.com Thu Oct 29 09:07:23 2009 From: do-not-reply at jboss.com (akhilachuthan) Date: Thu, 29 Oct 2009 09:07:23 -0400 (EDT) Subject: [jboss-user] [Security] - JBoss JAAS Authorization Exception Message-ID: <10624480.1256821643204.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> my piece of code is accessing ejb session methods that has roles defined to it. But its quite strange to see that a few of those does not allow access even when there is enough roles associated with the calling principal.. below is the log for the error. Here my session bean method is protected with a role named DEFAULT_ROLE_FOR_SERVER. The calling principal has it too, but is still denied access.. Any idea???? 2009-10-29 15:47:13,156 TRACE [org.jboss.security.audit.providers.LogAuditProvider] (Thread-51:) [Error]Source=org.jboss.security.plugins.javaee.EJBAuthorizationHelper;Exception:=Authorization Failed: null;Resource:=[org.jboss.security.authorization.resources.EJBResource:contextMap={policyRegistration=org.jboss.security.plugins.JBossPolicyRegistration at 303418}:method=public final com.test.nms.server.protocol.manager.datamodel.Snmpv2c com.test.nms.server.protocol.manager.ProtocolFacade.getProtocol(long) throws java.lang.Exception:ejbMethodInterface=Local:ejbName=ProtocolFacade:ejbPrincipal=defaultuser:MethodRoles=Roles(DEFAULT_ROLE_FOR_SERVER,):securityRoleReferences=null:callerSubject=Subject: Principal: defaultuser Principal: Roles(members:FAU_ALM_VIEW_ANNOTATE,PERF_TASK_SCHEDULE,INVENTORY_MGMT,RSTR_DATABASE_ADMIN,DEV_GROUP_ADD,LINK_VIEW,FAU_SYSLOGS_EXPORT,CONF_TEMP_SCH_START,CONF_DISC_TRIG,CONF_TEMP_MAINT,CONF_FTP_SERVER_ADD,CONF_SOFT_MAINT_MOD,CONF_SOFT_MAINT_VIEW,CONF_DISC_TRIG_DEL,FAU,FAU_ALM_SUMM,CONF_TEMP_EXEC,FAU_ALM_DETAILS,FAU_SYS_LOGS_PURGE_EDIT,FAU_ALM_EMAILPUB,GEN_MAIL_SERVER_MOD,FAU_ALM_VIEW_PRINT,SECURITY_MGR_TREE,BACKUP_DATABASE_ADMIN_SCHEDULE,FAU_ALM,FAU_ALM_PURGE_EDIT,SEC_MOD_USR_CHG_ADMIN,TOOLS_MIB,CONF_TEMP_MAINT_COPY,CONF_FTP_SERVER_VIEW,FAU_SYSPAR_VIEW_ADD,CONF_ALM_TRIG_MOD,GEN,PERF_REP_VIEW,FAU_ALM_VIEW_EXPORT,FAU_LOGS_EXPORT,CONF_TEMP_SCH_ADD,DEV_EDIT,GOOGLE_MAP_SETTINGS,DEV_VIEW_DETAILS,PERF_TASK_TEMPLATE,SEC_MOD_USER,FAU_ALM_ARCHIVE_SERVER,SEC_ADD_USER,LINK_ADD,FAU_LOGS_VIEW,FAU_SYSPAR_VIEW,MODIFY_TOPO_DIAGRAM,CONF_ALM_TRIG,FAU_LOGS_ARCHIVE_SERVER,CONF_SOFT_SCH_START,CONF_ALM_TRIG_ADD,SEC_USER_AUDIT_VIEW,FAU_SYS_LOGS_PURGE_VIEW,FAU_PAR_VIEW_MOD,DEL_TOPO_DIAGRAM,LOGIN,FAU_MANAGE,CONF_ALM_TRIG_VIEW,CONF_SOFT_MAINT,GEN_MAIL_SERVER_VIEW,SEC_VIEW_USER,FAU_ALM_VIEW_ACK,FAU_ALM_PAGERPUB_FLTR,CONF_DISC_TRIG_ASSOCIATE_FIL,CONF_SOFT_SCH_ADD,BACKUP_DATABASE_ADMIN_VIEW,CONF_TEMPLATE,FAU_ALM_PAGERPUB,CONF_ALM_TRIG_DEL,CONF_SOFT_SCH_DEL,CONF_TEMP_SCH_STOP,FAU_LOGS_PRINT,DEFAULT_ROLE_FOR_SERVER,ADMINISTRATION,PERF_TASK_SCH_DEL,FAU_LOGS_PURGE_EDIT,CONF_SOFT_MAINT_OBS,PERF_REP_SCH_VIEW,FAU_ALM_PURGE_VIEW,CONF_TEMP_SCH_MOD,PERF_TASK_SCH_VIEW,PERF_TASK_SCH_STARTSTOP,FAU_SYSLOGS_VIEW,PERF_THR_MOD,FAU_PARSER,FAU_ALM_EMAILPUB_FLTR,PERF_USER_TASK,DISC_DEL_NWK,PERF_THR_ADD,CONF_TEMP_MAINT_DEL,GEN_SNMP_MOD,CONF_FTP_SERVER_DEL,PERF_TASK_TEMP_MOD,FAU_ALM_SNMPPUB,FAU_ALM_VIEW,BACKUP_DATABASE_ADMIN_SCH_VIEW,CONF_TEMP_SCH,CONF_AUDIT_TRAILS_VIEW,SEC_USER,BACKUP_DATABASE_ADMIN_DEL,DEV_GROUP_EDIT,SEC_DEL_GRP,FAU_ALM_SNMPPUB_FLTR,CONF_SOFT_MAINT_DEL,FAU_ALM_SNMPPUB_DEL,FAU_ALM_EMAILPUB_MOD,CONF_TEMP_MAINT_VIEW,CONF_FTP_SERVER,PERF_DASHBOARD_MOD,PERF_REP_VIEW_OUTAGE_REP,CONF_TEMP_SCH_VIEW,FAU_ALM_PAGERPUB_DEL,FAU_ALM_VIEW_DEL,FAU_PAR_VIEW_DEL,LINK_DELETE,PERF_TASK_SCH_ADD,PERF,DISC_CONF_MOD,DISC_ADD_NWK,FAU_ALM_SNMPPUB_MOD,FAU_SYSPAR,FAU_ALM_ARCHIVE,FAU_SYSLOGS_PRINT,FAU_LOGS_ARCHIVE,DISC_MOD_NWK,DISC_START,FAU_ALM_PAGERPUB_ADD,CONF_FTP_SERVER_MOD,PERF_THR,FAU_PAR,GEN_SNMP_VIEW,FAU_SYSPAR_VIEW_MOD,PERF_DASHBOARD_SYS_REACH,CONF_TEMP_MAINT_IMPORT,CONF_TEMP_SCH_DEL,ADD_NEW_TOPO_DIAGRAM,CONF_AUDIT_TRAILS_EXPORT,DEV_GROUP_DELETE,CONF_AUDIT_TRAILS,TOOLS_TELNET,CONF_SOFT_MAINT_ADD,CONF_SOFT_SCH_VIEW,SEC_AUDIT_CONFIG_MOD,CONF_TEMP_MAINT_ADD,BACKUP_DATABASE_ADMIN,GEN_SEV_CLR_VIEW,SYS_CONF,CONF_DISC_TRIG_ADD,SEC_DEL_USER,DEV_GROUP_DETAILS,FAU_ALM_GEN_REP,TOPO,FAU_LOGS_PURGE_VIEW,DEV_NEREMARKS_VIEW_ADD,FAU_ALM_EMAILPUB_ADD,CONF_DISC_TRIG_MOD,CONF_TEMP_MAINT_MOD,DISC_VIEW_PROG,CONF_SOFT_SCH_STOP,SECURITY_LOGIN,PERF_REP_VIEW_HIST_STAT,PERF_TASK_TEMP_ADD,FAU_PAR_VIEW_ADD,EMS_MGMT,TOOLS,GEN_SEV_CLR_VIEW_MOD,TOPO_GOOGLE_MAP_VIEW,FAU_ALM_VIEW_OWNER,PERF_THR_VIEW,FAU_ALM_ARCHIVE_LOCAL,DEV_NEREMARKS_VIEW,FAU_ALM_EMAILPUB_DEL,SEC_GRP,LOGOFF,FAU_PAR_VIEW,PERF_DASHBOARD_VIEW,DEV_ADD,FAU_SYSPAR_VIEW_DEL,DEV_DELETE,VIEW_LINK,CONF_SOFT_SCH_MOD,BACKUP_DATABASE_FTP_REASSIGN,TOOLS_CLR,CONF_TEMP_MAINT_OBS,SEC_MOD_USR_CHG_GENERAL,DEV_POSITION,CONF_TEMP_SCH_COPY,FAU_ALM_VIEW_CLR,PERF_TASK_TEMP_DEL,CONF_DISCOVERY,SEC_KILL_USER,PERF_TASK_SCH_MOD,PERF_DASHBOARD_DEL,BACKUP_DATABASE_ADMIN_USR_TRIG,SEC_MOD_GRP,DISC_VIEW_NWK,SEC_AUDIT_CONFIG_VIEW,GOOGLE_MAP_DELETE_LOCATION,TOPO_FTP_REASSIGN,FAU_LOGS_ARCHIVE_LOCAL,PERF_DASHBOARD_ADD,PERF_TASK_TEMP_VIEW,PERF_THR_DEL,DEV_TELNET,PERF_DAT_COLL_VIEW_ADD,SEC_VIEW_GRP,FAU_SYSLOGS,CONF_SOFT_SCH,FAU_LOGS,SECURITY_MGR,PERF_DASHBOARD_PM_STATS,NETWORK_TOPO_DIAGRAM,CONF_SOFT_SCH_COPY,CONF_TEMP_MAINT_EXPORT,FAU_ALM_PAGERPUB_MOD,SEC_MAG_DEV,SEC_ADD_GRP,DISC,PERF_REP_VIEW_REAL_STAT,DEFAULT_ROLE_FOR_CLIENT,CONF_SOFTWARE,DISC_STOP,FAU_ALM_SNMPPUB_ADD,SEC_GRP_MOD_FUN_ACC,DATABASE_ADMINISTRATION,GOOGLE_MAP_SAVE_LOCATION,CONF) :callerRunAs=null:callerRunAs=null:ejbRestrictionEnforcement=false:ejbVersion=null];policyRegistration=org.jboss.security.plugins.JBossPolicyRegistration at 303418; View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262945#4262945 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262945 From do-not-reply at jboss.com Thu Oct 29 09:11:11 2009 From: do-not-reply at jboss.com (swenu) Date: Thu, 29 Oct 2009 09:11:11 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - ManyToMany problem Message-ID: <8242021.1256821871812.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi all playing around with Seam and trying to fill a manytomany join table. Following situation: A person has multiple roles (based on work, not as a role known from the security). A role could have 0..n functions (specialised education). so i tried the follwing: Role and Funtion joined on role_function (join table, for the moment only role_id and function_id, in future with a generated id) The qualification table contains person_id and role_function_id. Now the questions: 1) How to autogenerate an role_function_id on assigning a function to a role? 2) Do i have to develop a seperate bean for the qualification? Sorry if the question is clear for all. Searched for the answer and didn't find something which will helps out a newbie like me! Hope someone will clear my questions. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262947#4262947 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262947 From do-not-reply at jboss.com Thu Oct 29 09:14:26 2009 From: do-not-reply at jboss.com (nilspreusker) Date: Thu, 29 Oct 2009 09:14:26 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <12637190.1256822066096.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I just voted:) Regarding your doubts: anonymous wrote : when the process arrives at a certaion point where a node has more than one outgoing transition, the user actually needs to make a choise which transition to take. So I need to display all possible transitions to the user. | | I'm still not sure if I'm running in the wrong direction, because this seems to obvious to me... I think you are going in exactly the right direction. As I understand it (correct me if I'm wrong!), information about how the user can interact with the process instance in jBPM 4 is currently meant to be provided with task forms. A reference implementation exists for the GWT console. However, I totally agree with what Sebastian stated earlier: anonymous wrote : If you want the user to make this decision you need this information and since it is supplied by the process definition it should be accessible trough the API. For use cases where no user input - other than a decision - is required, this would provide a very nice way to create dynamic user interfaces without the need for a custom task form implementation. And while we're at it, wouldn't it also be nice to be able to query the process instance for the process variables that will be required after a transition? ...but now I'm getting ahead of myself:) Anyway, I'm glad to see this discussion here! Cheers, Nils View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262950#4262950 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262950 From do-not-reply at jboss.com Thu Oct 29 09:21:34 2009 From: do-not-reply at jboss.com (makarandk502) Date: Thu, 29 Oct 2009 09:21:34 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - jbpm 4.1 - How to stop these Debug Messages in jboss Message-ID: <12036659.1256822494343.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Jbpm 4.1 , Jboss 5.0.0 GA When I see Jboss server log (server.log) from Jboss/server/default/log, I can see lot of following JobExecutor DEBUG messages. It seems that some process is running continuosly till we shutdown the jboss. Server log size is becoming too much after some time. Can anybody tell me how to stop printing DEBUG messages related to Jobexecutor ? Your help is highly appreciated | | 18:46:33,942 DEBUG [DispatcherThread] DispatcherThread will wait for max 5000ms on org.jbpm.pvm.internal.jobexecutor.JobExecutor at 7798cd | 18:46:38,939 DEBUG [DispatcherThread] DispatcherThread woke up | 18:46:38,949 DEBUG [AcquireJobsCmd] start querying first acquirable job... | 18:46:38,949 DEBUG [AcquireJobsCmd] locking jobs [] | 18:46:38,959 DEBUG [GetNextDueDateCmd] getting next due date... | 18:46:38,959 DEBUG [GetNextDueDateCmd] next due date is null | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262952#4262952 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262952 From do-not-reply at jboss.com Thu Oct 29 09:23:00 2009 From: do-not-reply at jboss.com (manik.surtani@jboss.com) Date: Thu, 29 Oct 2009 09:23:00 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Buddy location issue Message-ID: <17946375.1256822580147.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Looks like there is no one else in your cluster? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262953#4262953 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262953 From do-not-reply at jboss.com Thu Oct 29 09:38:47 2009 From: do-not-reply at jboss.com (wesleyhales) Date: Thu, 29 Oct 2009 09:38:47 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Using FacesTrace from within Jboss Portal Message-ID: <17096849.1256823527905.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> You should look into the FacesTrace code to see if it uses HttpServlet request/response. That would be my guess. Or ping the author... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262957#4262957 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262957 From do-not-reply at jboss.com Thu Oct 29 09:54:41 2009 From: do-not-reply at jboss.com (ekobir) Date: Thu, 29 Oct 2009 09:54:41 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - 2 JBoss instance - 1. for JBoss Messaging and 2. Remote Cons Message-ID: <13907739.1256824481872.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi All I couldn't figure out how to configure 2. jboss instance to use queues deployed on the 1. jboss instance. As our application is deployed in jboss, we want to cache jms connections as explained in the article below http://www.jboss.org/community/wiki/ShouldIcacheJMSconnectionsandJMSsessions In order to use JmsXA with remote messaging provider, I changed jms-ds.xml like below | | remoteJMSProvider | org.jboss.jms.jndi.JNDIProviderAdapter | java:/XAConnectionFactory | java:/XAConnectionFactory | java:/XAConnectionFactory | | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces | java.naming.provider.url=192.168.4.107:1300 | | | | | | | JmsXA | false | | jms-ra.rar | org.jboss.resource.adapter.jms.JmsConnectionFactory | javax.jms.Topic | java:/remoteJMSProvider | 20 | JmsXARealm | jboss.messaging:service=ServerPeer | | Both JBoss version : 5.0.1.GA JBossMessaging : 1.4.1.GA Error : nested exception is javax.naming.NameNotFoundException: queue/outboundQueue org.springframework.jms.support.destination.DestinationResolutionException: Destination [/queue/outboundQueue] not found in JNDI; nested exception is javax.naming.NameNotFoundException: queue/outboundQueue There is no problem accessing this queue via XAConnectionFactory, but as you know performance is very important. Second Part: I was using hsqldb for jboss messaging for initial performance tests. it performed as we expected. Then I started using mysql db for jboss messaging(this is the only change), application became 5 times slower. Do you have any suggestion to resolve this? Thanks for your help and time. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262963#4262963 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262963 From do-not-reply at jboss.com Thu Oct 29 10:14:31 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 29 Oct 2009 10:14:31 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <29783597.1256825671585.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "nilspreusker" wrote : Hi, I just voted:) Great. :) "nilspreusker" wrote : | I think you are going in exactly the right direction. As I understand it (correct me if I'm wrong!), information about how the user can interact with the process instance in jBPM 4 is currently meant to be provided with task forms. A reference implementation exists for the GWT console. However, I totally agree with what Sebastian stated earlier: | | anonymous wrote : If you want the user to make this decision you need this information and since it is supplied by the process definition it should be accessible trough the API. | | For use cases where no user input - other than a decision - is required, this would provide a very nice way to create dynamic user interfaces without the need for a custom task form implementation. | I might even face similar use cases right now. My thoughts right now are pretty much related to dynamic user interfaces. I especially don't like the idea of creating task specific forms for simple things like decisions where just want to the user to decide between "yes" and "no", "A" and "B" etc. "nilspreusker" wrote : And while we're at it, wouldn't it also be nice to be able to query the process instance for the process variables that will be required after a transition? ...but now I'm getting ahead of myself:) | I am not sure if this possible and if this would really make sense. Maybe you can explain your thoughts a bit more here. "nilspreusker" wrote : | Anyway, I'm glad to see this discussion here! | Yes, me too. This might turn out be a discussion for the developers' forum. I'd love to hear one of the dev's on this. To me at first sight it seems as if this is a "quite simple" API extension which shouldn't break anything. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262974#4262974 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262974 From do-not-reply at jboss.com Thu Oct 29 10:53:01 2009 From: do-not-reply at jboss.com (nilspreusker) Date: Thu, 29 Oct 2009 10:53:01 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <20307514.1256827981635.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Sebastian, anonymous wrote : Me: wouldn't it also be nice to be able to query the process instance for the process variables that will be required after a transition? | | Sebastian: Maybe you can explain your thoughts a bit more here. My basic though is that the more details we can get about the process through the API at run-time, the closer we get to creating or generating a default user interface for processes. If it was possible to retrieve information about the process variables that are required in the resulting task/state/activity node of a transition, one could think of a user interface that shows a default form when a transition is invoked (i.e. default task forms), based on the type and name of the variables. These could be customized by providing task forms along with the process deployment as it is shown in the task form example. I suppose this is really turning more into a development forum discussion... Please let me know what you think! Cheers, Nils View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262988#4262988 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262988 From do-not-reply at jboss.com Thu Oct 29 10:55:20 2009 From: do-not-reply at jboss.com (markroy) Date: Thu, 29 Oct 2009 10:55:20 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: [jBPM4.1] Update hibernate-type process variables via fo Message-ID: <27107084.1256828120609.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for responding. I finally broke down are examined the source. I didn't see any code that would implement this behavior, but I could have missed it. https://jira.jboss.org/jira/browse/JBPM-2615 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262989#4262989 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262989 From do-not-reply at jboss.com Thu Oct 29 10:59:58 2009 From: do-not-reply at jboss.com (chbmxt) Date: Thu, 29 Oct 2009 10:59:58 -0400 (EDT) Subject: [jboss-user] [JMX] - activeSessions Attribute not found exception Message-ID: <28835088.1256828398789.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> We're continually getting the following error in my log file: 2009-10-19 12:48:49,893 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[Status Servlet]] (http-wsprd2%2F10.20.50.114-8080-1) Servlet.service() for servlet Status Servlet threw exception javax.management.AttributeNotFoundException: not found: activeSessions at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:335) at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:565) at org.apache.catalina.manager.StatusTransformer.writeManager(StatusTransformer.java:736) at org.apache.catalina.manager.StatusTransformer.writeContext(StatusTransformer.java:703) at org.apache.catalina.manager.StatusTransformer.writeDetailedState(StatusTransformer.java:586) at org.jboss.web.tomcat.service.StatusServlet.doGet(StatusServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 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:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) 2009-10-19 12:50:28,610 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/].[Status Servlet]] (http-wsprd2%2F10.20.50.114-8080-1) Servlet.service() for servlet Status Servlet threw exception javax.management.AttributeNotFoundException: not found: activeSessions at org.jboss.mx.server.AbstractMBeanInvoker.getAttribute(AbstractMBeanInvoker.java:335) at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:565) at org.apache.catalina.manager.StatusTransformer.writeManager(StatusTransformer.java:736) at org.apache.catalina.manager.StatusTransformer.writeContext(StatusTransformer.java:703) at org.apache.catalina.manager.StatusTransformer.writeDetailedState(StatusTransformer.java:586) at org.jboss.web.tomcat.service.StatusServlet.doGet(StatusServlet.java:265) at javax.servlet.http.HttpServlet.service(HttpServlet.java:617) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) 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:235) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) at java.lang.Thread.run(Thread.java:595) We're using JBossAS 5.1.0.GA on Linux. We don't have any idea as to what is causing this exception or how to stop it from being generated. It also seems to persist across restarting of the server. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262993#4262993 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262993 From do-not-reply at jboss.com Thu Oct 29 11:13:57 2009 From: do-not-reply at jboss.com (PeterJ) Date: Thu, 29 Oct 2009 11:13:57 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: to make jboss-5.1.0.GA stable and run for long period Message-ID: <33411126.1256829237369.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> This forum is for JBoss Portal. The questions you are asking are best asked in the Performance forum: http://www.jboss.org/index.html?module=bb&op=viewforum&f=121 I recommend that you first scan that forum because the answers to your questions are in there. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262999#4262999 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262999 From do-not-reply at jboss.com Thu Oct 29 11:19:13 2009 From: do-not-reply at jboss.com (sachten1010) Date: Thu, 29 Oct 2009 11:19:13 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Messaging - MDB reconnection issue Message-ID: <29265502.1256829553337.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> MDB running on JBOSS 4.2.0 GA ( with JBM 1.4.4 - Using remoting 2.2.3) connecting to a remote Queue on a different server (JBOSS 5.1.0GA + JBM 1.4.3) Everything works fine but when the mdb loses its connection , its not able to reconnect to the remote queue - I can make all my clients reconnect with the ExceptionListener.... Is there a way i can configure the mdb to reconnect automatically when the 510GA server comes back up ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263001#4263001 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263001 From do-not-reply at jboss.com Thu Oct 29 11:23:31 2009 From: do-not-reply at jboss.com (zour) Date: Thu, 29 Oct 2009 11:23:31 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Authentication succeeded, getCallerPrincipal()=anonymous Message-ID: <3273215.1256829811907.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> > How does your client access your secured app? FarmerBeanRemote farmerBean = UserSession.getInstance(getShell().getDisplay()).getMasterDataServices().locateFarmerBean(); | try { | farmerBean.setAnything(this.actor, id); | } catch (Exception ex) { | throw new RuntimeException(ex); | } Obtaining of RAP client's user session: public static UserSession getInstance(Display display) { | return SessionAccessRunner.getUserSession(display); | } Bean lookup: public FarmerBeanRemote locateFarmerBean() { | try { | Object objRef = getInitialContext().lookup(FARMER_BEAN); | return (FarmerBeanRemote) PortableRemoteObject.narrow(objRef, FarmerBeanRemote.class); | } catch (Exception ex) { | throw new RuntimeException("Failed to lookup FarmerBean: " + ex.getMessage(), ex); | } | } The lookup does work, as well as using methods from that bean. Yet the injected SessionContext isn't aware of the login process. > Is it a standalone application client It is a RAP-Client (Rich Ajax Platform) deployed to JBoss. Practically it's running inside a JVM on the server. But any UI elements are rendered in an internet browser (using qooxdoo Javascript-Engine). It's RCP for the web browser. > Is some servlet/website/web service called? As far as I understand, a component called ServletBridge does this: "org.eclipse.equinox.servletbridge.http: Hooks back into the servlet bridge and proxies requests through to the servlet container to provide an OSGi Http Service." > How does the client log in? Via a webpage (login.html) before the RAP-Application starts, see web.xml above. Maybe this isn't all about JBoss Security, but has something to do with how RAP handles requests, as I found here: http://dev.eclipse.org/newslists/news.eclipse.technology.equinox/msg04603.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263004#4263004 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263004 From do-not-reply at jboss.com Thu Oct 29 11:37:26 2009 From: do-not-reply at jboss.com (mbelow) Date: Thu, 29 Oct 2009 11:37:26 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <29576612.1256830646418.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello Nils, "nilspreusker" wrote : If it was possible to retrieve information about the process variables that are required in the resulting task/state/activity node of a transition, one could think of a user interface that shows a default form when a transition is invoked (i.e. default task forms), based on the type and name of the variables. These could be customized by providing task forms along with the process deployment as it is shown in the task form example. | Makes perfect sense to me! Most information stored along with the activities are also relevant for the UI. Supplying a separate view for each activity is necessary when there is a lot of user-interaction going on, but in simple cases, one should be able to rendered the UI directly from the process. Martin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263009#4263009 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263009 From do-not-reply at jboss.com Thu Oct 29 11:53:24 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Thu, 29 Oct 2009 11:53:24 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: ManyToMany problem Message-ID: <18567481.1256831604337.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I assume that you want to use EJB3/JPA for creating your entities? In this case, you don't need a role_function entity, and the server will autogenerate the database table for you. The entity "Role" will have a list of "Functions", and the "Function" will have a list of "Role", both connected by annotations. Pseudocode: | @Entity | public class Role implements Serializable | { | @ManyToMany (mappedBy="roles") | public List functions; | } | | @Entity | public class Function implements Serializable | { | @ManyToMany () | public List roles; | } | Then, your code can access the functions of a role by "myRole.functions.get(x);". The rest is the job of the server and you don't have to care much about it. Of course, there is quite a bit more to keep in mind. First of all, the two fields should have a getter and setter. More detailed information can be found here: http://www.jboss.org/community/wiki/EJB3relationships Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263012#4263012 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263012 From do-not-reply at jboss.com Thu Oct 29 12:14:06 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 29 Oct 2009 12:14:06 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - EventListener questions Message-ID: <26516502.1256832846869.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Good evening, I have got a question regarding jBPM's behaviour. Assuming I have a transition coming from a user task and I put an EventListener on this transition: When the transition fires and the EventListener is notified and executes is the task already to be found as a HistoryTask? I am asking because I would like to access the task object to retrieve some information. My second question: Is there a way to obtain a reference to the HistoryService or TaskService? Or is there a different way to access the task object? I would like to retrieve the task's creation date. Thanks for any suggestions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263016#4263016 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263016 From do-not-reply at jboss.com Thu Oct 29 13:04:05 2009 From: do-not-reply at jboss.com (newmanw10) Date: Thu, 29 Oct 2009 13:04:05 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - How to use jbossws-native Message-ID: <9985595.1256835845174.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have some problems with my legacy jax-rpc web services and I have been informed that it is probably because I need to use jbossws-native for my jax-rpc stuff. I am running 4.2.3.GA out of the box, so I assume that I need to get the jbossws-native and put it somewhere in my jboss. Anyone now exactly what I need to do? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263023#4263023 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263023 From do-not-reply at jboss.com Thu Oct 29 15:14:40 2009 From: do-not-reply at jboss.com (mawenzel) Date: Thu, 29 Oct 2009 15:14:40 -0400 (EDT) Subject: [jboss-user] [JMX] - Re: jmx-console depends on generic named ear-file Message-ID: <9945350.1256843680279.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you, jaikiran! This is the searched solution. It works. I have written a small function, placed in the run-script, which gives me the name of the dynamic-named ear-file and assigns this to a variable. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263048#4263048 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263048 From do-not-reply at jboss.com Thu Oct 29 16:33:01 2009 From: do-not-reply at jboss.com (j2ee4cxw) Date: Thu, 29 Oct 2009 16:33:01 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - JBPM Graphical Process Designer 3.2 GA is incompatible with Message-ID: <27613772.1256848381819.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I just did a fresh installation of MyEclipse Blue Edition (version 7.5), which is based on Eclipse 3.4.2 platform. Then I also installed Subclipse 1.6.x via the Help=>Software updates=>Add/Remove Software. I have a jbpm-jpdl-3.2.GA download available. I unzipped it and tried to install the GPD via the Help=>Software updates=>Add/Remove Software by pointing to designer directory: jbpm-jpdl-3.2.GA\designer The installation went smoothly without any error. However, when I tried to an existing workflow definition, it throws following error. I want to know any body has encountered this problem. Any suggestion or solution is greatly appreciated. java.lang.IndexOutOfBoundsException: Index: 0, Size: 0 at java.util.ArrayList.RangeCheck(ArrayList.java:547) at java.util.ArrayList.get(ArrayList.java:322) at org.jbpm.ui.editor.DesignerContentProvider.addGraphicalInfo(Unknown Source) at org.jbpm.ui.editor.DesignerContentProvider.addGraphicalInfo(Unknown Source) at org.jbpm.ui.editor.DesignerContentProvider.addGraphicalInfo(Unknown Source) at org.jbpm.ui.editor.DesignerContentProvider.addGraphicalInfo(Unknown Source) at org.jbpm.ui.editor.DesignerGraphicalEditorPage.initInput(Unknown Source) at org.jbpm.ui.editor.DesignerGraphicalEditorPage.init(Unknown Source) at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:213) at org.jbpm.ui.editor.DesignerEditor.addGraphPage(Unknown Source) at org.jbpm.ui.editor.DesignerEditor.createPages(Unknown Source) at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:310) at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661) at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:428) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209) at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608) at org.eclipse.ui.internal.PartStack.add(PartStack.java:499) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103) at org.eclipse.ui.internal.PartStack.add(PartStack.java:485) at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112) at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63) at org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217) at org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207) at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:779) at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:678) at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:639) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2817) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2729) at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2721) at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2673) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2652) at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2643) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:646) at org.eclipse.ui.ide.IDE.openEditor(IDE.java:605) at org.eclipse.ui.actions.OpenFileAction.openFile(OpenFileAction.java:99) at org.eclipse.ui.actions.OpenSystemEditorAction.run(OpenSystemEditorAction.java:99) at org.eclipse.ui.views.navigator.OpenActionGroup.runDefaultAction(OpenActionGroup.java:125) at org.eclipse.ui.views.navigator.MainActionGroup.runDefaultAction(MainActionGroup.java:329) at org.eclipse.ui.views.navigator.ResourceNavigator.handleOpen(ResourceNavigator.java:716) at org.eclipse.ui.views.navigator.ResourceNavigator$6.open(ResourceNavigator.java:443) at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37) at org.eclipse.core.runtime.Platform.run(Platform.java:880) at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:48) at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818) at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079) at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183) at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263) at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:257) at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:297) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 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:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263052#4263052 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263052 From do-not-reply at jboss.com Thu Oct 29 16:41:15 2009 From: do-not-reply at jboss.com (KeithHenn) Date: Thu, 29 Oct 2009 16:41:15 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Expired Sessions Question Message-ID: <16207132.1256848875744.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm migrating my application from Weblogic to Jboss, in weblogic I'm able to redirect the user to the last page he left when the session expires, is there a way to do this in Jboss? Also, where do I set the parameters to redirect the user to the index.jsp page when their session expires? I'm using jboss jboss-5.1.0.GA. thank you. Keith View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263054#4263054 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263054 From do-not-reply at jboss.com Thu Oct 29 16:51:31 2009 From: do-not-reply at jboss.com (jboss_ottawa) Date: Thu, 29 Oct 2009 16:51:31 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - jar manifest using relative classpath not working, class not Message-ID: <31866199.1256849491154.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am using jboss5.1.0GA. Here is the issue: I have a third party jar packaged in a manifest jar using relative path. After putting the manifest jar in server/lib, the server code (a custom startup class) can NOT find the classes in the third party jar. /dev/jboss/server/default/lib/myjar.jar /dev/team/third_party/jar1.jar in myjar.jar manifest: Class-Path: ../../../../team/third_party/jar1.jar So I need to walk up the chain and then come down to another path for the library. >cd /dev/jboss/server/default/lib >ls ../../../../team/third_party/jar1.jar -rw-r--r-- g900 55824 Oct 27 16:56 ../../../../team/third_party/jar1.jar it verifies that the relative path for the jar is correct! Now if I directly put the third party jar under server/lib, the classes are found during server startup and everything works fine! /jboss/server/lib/jar1.jar I need to use the manifest mechanism as there would be dozens of third party jars, defined in another dev location during install and I like to avoid the duplication by dumping all to the server lib directory. Any insights on this issue? Thanks, jboss_ottawa View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263057#4263057 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263057 From do-not-reply at jboss.com Thu Oct 29 17:25:45 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Thu, 29 Oct 2009 17:25:45 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM4: How to find leaving transitions of an execution Message-ID: <11114526.1256851545441.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I think the first requirement is a minor change since this shouldn't be much more than an extension of the API. I am saying this with my limited knowledge and of course I welcome any corrections. The second thing that Nils and Martin are proposing means a bigger change because before you can offer such an interface first of all you need to have declared process variables and you need to declare somehow that they are necessary. So this would have to be considered in connection with this issue: https://jira.jboss.org/jira/browse/JBPM-2506 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263065#4263065 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263065 From do-not-reply at jboss.com Thu Oct 29 18:34:57 2009 From: do-not-reply at jboss.com (zhangjing2000) Date: Thu, 29 Oct 2009 18:34:57 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jBPM 4 Process archive with custom classes Message-ID: <29315873.1256855697867.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have a similar requirement, can anyone give answers regarding how to use DeploymentClassLoader? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263071#4263071 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263071 From do-not-reply at jboss.com Thu Oct 29 20:01:04 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 29 Oct 2009 20:01:04 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jBPM 4 Process archive with custom classes Message-ID: <19521410.1256860864989.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> what about: it's not implemented yet... see jira View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263077#4263077 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263077 From do-not-reply at jboss.com Thu Oct 29 20:03:06 2009 From: do-not-reply at jboss.com (kukeltje) Date: Thu, 29 Oct 2009 20:03:06 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM Graphical Process Designer 3.2 GA is incompatible w Message-ID: <11831380.1256860986461.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> try 3.2.6 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263079#4263079 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263079 From do-not-reply at jboss.com Thu Oct 29 20:33:31 2009 From: do-not-reply at jboss.com (bstansberry@jboss.com) Date: Thu, 29 Oct 2009 20:33:31 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: JBoss cache / WebLogic: problem with suspend/resume tran Message-ID: <27955960.1256862811237.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> JBoss Cache doesn't suspend/resume the transaction; it's Hibernate's integration with JBC that does this. If JBC sees an active transaction it will hold a lock on data in the cache until that tx commits. There are times when it's incorrect for those locks to be held for that long, so Hibernate suspends the tx before calling into JBC. To avoid these suspensions you should: 1) Not use query caching, since the suspensions are very common with query caching operations. 2) Avoid bulk operations (executing SQL or HQL that modifies multiple entities) since that results in cache-clearing operations that involve suspending any active tx. 3) For the same reason, avoid the org.hibernate.SessionFactory evict* methods and the org.hibernate.Cache evict* methods. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263083#4263083 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263083 From do-not-reply at jboss.com Thu Oct 29 22:26:27 2009 From: do-not-reply at jboss.com (kevnlin) Date: Thu, 29 Oct 2009 22:26:27 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - when I publish large message , but show error "Could not get Message-ID: <16273478.1256869587645.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> when I publish large message ,but show error "Could not get text message: javax.jms.JMSException: Illegal property name: JMS_JBM_InputStream" public void publish(java.io.File inf) throws JMSException { try{ System.out.println("1-1"); BytesMessage message = topicSession.createBytesMessage(); System.out.println("1-2"); FileInputStream fileInputStream = new FileInputStream(inf); System.out.println("1-3"); BufferedInputStream bufferedInput = new BufferedInputStream(fileInputStream); message.setObjectProperty("JMS_JBM_InputStream", bufferedInput); //message.setObjectProperty("JMS_JBM_InputStream", bufferedInput); System.out.println("1-5"); System.out.println("1"); topicPublisher.publish(topic,message); System.out.println("2"); //TextMessage message = topicSession.c //message=topicSession. // //System.out.println("send"); //System.out.println(msg); //topicPublisher.publish(topic, message ); } catch(IOException ex1) { } catch(JMSException ex) { System.err.println("Could not get text message: " + ex); ex.printStackTrace();} } Debug error --> 2-1 2-2 Could not get text message: javax.jms.JMSException: Illegal property name: JMS_JBM_InputStream 2-3 javax.jms.JMSException: Illegal property name: JMS_JBM_InputStream 1-1 at org.jboss.mq.SpyMessage.checkProperty(SpyMessage.java:996) 1-2 at org.jboss.mq.SpyMessage.setObjectProperty(SpyMessage.java:758) 1-3 at test2.HelloPublisher.publish(HelloPublisher.java:107) at test2.Main$7.lambda(Main.fx:624) at test2.Main$7.lambda(Main.fx:624) at test2.Main$7.invoke(Main.fx:613) at test2.Main$7.invoke(Main.fx:613) at test2.Main$7.invoke(Main.fx:613) at test2.Main$7.invoke(Main.fx:613) at javafx.scene.control.Button.fire(Button.fx:50) at com.sun.javafx.scene.control.ButtonBaseBehavior.mouseRelease(ButtonBaseBehavior.fx:78) at com.sun.javafx.scene.control.caspian.AbstractButtonSkin$4.lambda(AbstractButtonSkin.fx:68) at com.sun.javafx.scene.control.caspian.AbstractButtonSkin$4.invoke(AbstractButtonSkin.fx:68) at com.sun.javafx.scene.control.caspian.AbstractButtonSkin$4.invoke(AbstractButtonSkin.fx:68) at javafx.scene.Node.impl_processMouseEvent(Node.fx:1682) at javafx.scene.Node.preprocessMouseEvent(Node.fx:1708) at javafx.scene.Scene$MouseHandler.process(Scene.fx:688) at javafx.scene.Scene$MouseHandler.process(Scene.fx:573) at javafx.scene.Scene.impl_processMouseEvent(Scene.fx:391) at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.fx:519) at com.sun.javafx.tk.swing.SwingScene$SwingScenePanel.doMouseEvent(SwingScene.java:388) at com.sun.javafx.tk.swing.SwingScene$SwingScenePanel.mouseReleased(SwingScene.java:412) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) 2-4 at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263086#4263086 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263086 From do-not-reply at jboss.com Thu Oct 29 22:53:03 2009 From: do-not-reply at jboss.com (nickboldt) Date: Thu, 29 Oct 2009 22:53:03 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - JBoss Tools 3.1.0.M4 is available Message-ID: <23172402.1256871183730.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The JBoss Tools 3.1.0 M4 release is now available! More info will follow from Max, but we fixed 200+ bugs [1] this time around. You can see the New & Noteworthy [2] and see what was fixed in the Release Notes [3]. You can download [4] this release directly or use the update site [5]. [1] https://jira.jboss.org/jira/secure/IssueNavigator.jspa?reset=true&&fixfor=12313491&pid=10020&status=5&status=6&sorter/field=issuekey&sorter/order=DESC [2] http://fisheye.jboss.org/browse/~raw,r=trunk/JBossTools/trunk/documentation/whatsnew/index.html [3] http://iweb.dl.sourceforge.net/project/jboss/JBossTools/JBoss_Tools_3.1.0.M4/zz_Release_Notes_3.1.0.M4.html [4] https://www.jboss.org/tools/download/dev.html [5] http://download.jboss.org/jbosstools/updates/JBossTools-3.1.0.M4/ Keep an eye out for more details next week when Max gets back from vacation - but congrats to everyone involved with getting this milestone ready! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263087#4263087 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263087 From do-not-reply at jboss.com Fri Oct 30 00:44:03 2009 From: do-not-reply at jboss.com (Sunay) Date: Fri, 30 Oct 2009 00:44:03 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - New Bie :: Queue Message-ID: <31792925.1256877843289.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello All, I am new to richfaces , i gone through the documentation, but not able to understand the behavior of queue. My Scenario is like this. I have one Rich datatable with datascroller, now when ever i am selecting Menu the grid is updated. I debug my code and i found that it sends multiple request. so for streamline the request i use queue. But the problem is that my view of the data table not updated after consecutive request. Please Help me out of this View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263091#4263091 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263091 From do-not-reply at jboss.com Fri Oct 30 01:36:13 2009 From: do-not-reply at jboss.com (makarandk502) Date: Fri, 30 Oct 2009 01:36:13 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 - How to stop these Debug Messages in jboss Message-ID: <6260829.1256880973233.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Anybody who can guide me in this ? OR Is this some problem ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263096#4263096 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263096 From do-not-reply at jboss.com Fri Oct 30 01:39:15 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 30 Oct 2009 01:39:15 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: New Bie :: Queue Message-ID: <1875659.1256881155471.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Maybe you already noticed but this is the jBPM forum and not the RichFaces forum. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263097#4263097 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263097 From do-not-reply at jboss.com Fri Oct 30 01:40:18 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 30 Oct 2009 01:40:18 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: jbpm 4.1 - How to stop these Debug Messages in jboss Message-ID: <7097657.1256881218511.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> This isn't a problem but a debug message. Should be configurable through the log level for jBPM AFAIK. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263098#4263098 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263098 From do-not-reply at jboss.com Fri Oct 30 03:32:22 2009 From: do-not-reply at jboss.com (swenu) Date: Fri, 30 Oct 2009 03:32:22 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: ManyToMany problem Message-ID: <24334115.1256887942098.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Wolfgang Thanks for your input. So far i got it already. The role_function is generated automaticly But now i got role_id | function_id What should i do if like a generated id within this table? Thanks a lot View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263101#4263101 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263101 From do-not-reply at jboss.com Fri Oct 30 04:17:29 2009 From: do-not-reply at jboss.com (psc00) Date: Fri, 30 Oct 2009 04:17:29 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: EAR validation? Message-ID: <25681255.1256890649452.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Did you solve this? I have the same problem. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263106#4263106 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263106 From do-not-reply at jboss.com Fri Oct 30 04:48:13 2009 From: do-not-reply at jboss.com (psc00) Date: Fri, 30 Oct 2009 04:48:13 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - context-root not working? Message-ID: <13351197.1256892493546.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I'm running Jboss AS 4.2.3.GA and cannot make a context-root (myapp) to work, the server works fine but with the war base name (biplatformwar); I get warning messages when I start Jboss, saying that application.xml and jboss-app.xml cannot be deployed, I suspect that may be the reason. application.xml: biplatformwar.war myapp jboss-app.xml: xxxtesthar.har Jboss console log: 04:39:07,040 INFO [Server] Starting JBoss (MX MicroKernel)... 04:39:07,040 INFO [Server] Release ID: JBoss [Trinity] 4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417) 04:39:07,040 INFO [Server] Home Dir: C:\jboss-4.2.3.GA 04:39:07,040 INFO [Server] Home URL: file:/C:/jboss-4.2.3.GA/ 04:39:07,040 INFO [Server] Patch URL: null 04:39:07,040 INFO [Server] Server Name: default 04:39:07,040 INFO [Server] Server Home Dir: C:\jboss-4.2.3.GA\server\default 04:39:07,040 INFO [Server] Server Home URL: file:/C:/jboss-4.2.3.GA/server/default/ 04:39:07,040 INFO [Server] Server Log Dir: C:\jboss-4.2.3.GA\server\default\log 04:39:07,040 INFO [Server] Server Temp Dir: C:\jboss-4.2.3.GA\server\default\tmp 04:39:07,040 INFO [Server] Root Deployment Filename: jboss-service.xml 04:39:07,414 INFO [ServerInfo] Java version: 1.6.0_16,Sun Microsystems Inc. 04:39:07,414 INFO [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 14.2-b01,Sun Microsystems Inc. 04:39:07,414 INFO [ServerInfo] OS-System: Windows Vista 6.0,amd64 04:39:07,773 INFO [Server] Core system initialized 04:39:09,630 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/ 04:39:09,630 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:jboss-log4j.xml 04:39:10,067 INFO [TransactionManagerService] JBossTS Transaction Service (JTA version) - JBoss Inc. 04:39:10,067 INFO [TransactionManagerService] Setting up property manager MBean and JMX layer 04:39:10,223 INFO [TransactionManagerService] Starting recovery manager 04:39:10,333 INFO [TransactionManagerService] Recovery manager started 04:39:10,333 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference 04:39:12,735 INFO [EJB3Deployer] Starting java:comp multiplexer 04:39:14,764 INFO [NativeServerConfig] JBoss Web Services - Native 04:39:14,764 INFO [NativeServerConfig] jbossws-3.0.1-native-2.0.4.GA (build=200803312044) 04:39:15,639 INFO [Embedded] Catalina naming disabled 04:39:15,763 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files (x86)/Java/jre6/bin/client;C:/Program Files (x86)/Java/jre6/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\10.0\DLLShared\;C:\Program Files\MySQL\MySQL Server 5.1\bin;C:\Program Files\Java\jdk1.6.0_16\bin;C:\Program Files (x86)\Google\Google Apps Sync\ 04:39:15,826 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080 04:39:15,841 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009 04:39:15,841 INFO [Catalina] Initialization processed in 201 ms 04:39:15,841 INFO [StandardService] Starting service jboss.web 04:39:15,841 INFO [StandardEngine] Starting Servlet Engine: JBossWeb/2.0.1.GA 04:39:15,888 INFO [Catalina] Server startup in 47 ms 04:39:15,983 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=.../deploy/jboss-web.deployer/ROOT.war/ 04:39:16,482 INFO [TomcatDeployer] deploy, ctxPath=/invoker, warUrl=.../deploy/http-invoker.sar/invoker.war/ 04:39:16,591 INFO [TomcatDeployer] deploy, ctxPath=/jbossws, warUrl=.../deploy/jbossws.sar/jbossws-context.war/ 04:39:16,685 INFO [TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=.../deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 04:39:17,527 INFO [TomcatDeployer] deploy, ctxPath=/web-console, warUrl=.../deploy/management/console-mgr.sar/web-console.war/ 04:39:17,934 INFO [MailService] Mail Service bound to java:/Mail 04:39:18,090 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-local-jdbc.rar 04:39:18,121 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-ha-xa-jdbc.rar 04:39:18,152 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-local-jdbc.rar 04:39:18,183 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jboss-xa-jdbc.rar 04:39:18,293 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/jms/jms-ra.rar 04:39:18,324 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/mail-ra.rar 04:39:18,371 INFO [RARDeployment] Required license terms exist, view META-INF/ra.xml in .../deploy/quartz-ra.rar 04:39:18,371 INFO [QuartzResourceAdapter] start quartz!!! 04:39:18,449 INFO [SimpleThreadPool] Job execution threads will use class loader of thread: main 04:39:18,464 INFO [QuartzScheduler] Quartz Scheduler v.1.5.2 created. 04:39:18,464 INFO [RAMJobStore] RAMJobStore initialized. 04:39:18,464 INFO [StdSchedulerFactory] Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 04:39:18,464 INFO [StdSchedulerFactory] Quartz scheduler version: 1.5.2 04:39:18,464 INFO [QuartzScheduler] Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 04:39:18,979 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI name 'java:DefaultDS' 04:39:19,183 INFO [A] Bound to JNDI name: queue/A 04:39:19,198 INFO [B] Bound to JNDI name: queue/B 04:39:19,198 INFO [C] Bound to JNDI name: queue/C 04:39:19,198 INFO [D] Bound to JNDI name: queue/D 04:39:19,198 INFO [ex] Bound to JNDI name: queue/ex 04:39:19,214 INFO [testTopic] Bound to JNDI name: topic/testTopic 04:39:19,214 INFO [securedTopic] Bound to JNDI name: topic/securedTopic 04:39:19,214 INFO [testDurableTopic] Bound to JNDI name: topic/testDurableTopic 04:39:19,214 INFO [testQueue] Bound to JNDI name: queue/testQueue 04:39:19,261 INFO [UILServerILService] JBossMQ UIL service available at : /127.0.0.1:8093 04:39:19,276 INFO [DLQ] Bound to JNDI name: queue/DLQ 04:39:19,448 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name 'java:JmsXA' 04:39:19,542 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=MySqlDB' to JNDI name 'java:MySqlDB' 04:39:19,604 INFO [Environment] Hibernate 3.2.4.sp1 04:39:19,604 INFO [Environment] hibernate.properties not found 04:39:19,604 INFO [Environment] Bytecode provider name : javassist 04:39:19,604 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling 04:39:19,666 INFO [Configuration] Reading mappings from file: C:\xxx\apps\biplatform\biplatformear.ear\biplatformhar.har\AdminDataDownload.hbm.xml 04:39:19,822 INFO [HbmBinder] Mapping class: industry.AdminDataDownload -> admin_data_download 04:39:19,838 INFO [Configuration] Reading mappings from file: C:\xxx\apps\biplatform\biplatformear.ear\biplatformhar.har\FdicChangeCode.hbm.xml 04:39:19,869 INFO [HbmBinder] Mapping class: industry.FdicChangeCode -> vbk_ind_fdicid_change_codes 04:39:19,885 INFO [Configuration] Reading mappings from file: C:\xxx\apps\biplatform\biplatformear.ear\biplatformhar.har\FedDistrict.hbm.xml 04:39:19,916 INFO [HbmBinder] Mapping class: industry.FedDistrict -> vbk_ind_fed_districts 04:39:19,916 INFO [Configuration] Reading mappings from file: C:\xxx\apps\biplatform\biplatformear.ear\biplatformhar.har\FedTreasuryRates.hbm.xml 04:39:19,963 INFO [HbmBinder] Mapping class: industry.FedTreasuryRate -> vbk_ind_fed_treasury_rates 04:39:20,035 INFO [NamingHelper] JNDI InitialContext properties:{} 04:39:20,037 INFO [DatasourceConnectionProvider] Using datasource: java:/MySqlDB 04:39:20,338 INFO [SettingsFactory] RDBMS: MySQL, version: 5.1.38-community 04:39:20,338 INFO [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, version: mysql-connector-java-5.1.7 ( Revision: ${svn.Revision} ) 04:39:20,353 INFO [Dialect] Using dialect: org.hibernate.dialect.MySQLDialect 04:39:20,353 INFO [TransactionFactoryFactory] Transaction strategy: org.hibernate.transaction.JTATransactionFactory 04:39:20,353 INFO [NamingHelper] JNDI InitialContext properties:{} 04:39:20,353 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup 04:39:20,416 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup 04:39:20,416 INFO [TransactionManagerLookupFactory] instantiating TransactionManagerLookup: org.hibernate.transaction.JBossTransactionManagerLookup 04:39:20,416 INFO [TransactionManagerLookupFactory] instantiated TransactionManagerLookup 04:39:20,416 INFO [SettingsFactory] Automatic flush during beforeCompletion(): enabled 04:39:20,416 INFO [SettingsFactory] Automatic session close at end of transaction: enabled 04:39:20,416 INFO [SettingsFactory] JDBC batch size: 15 04:39:20,416 INFO [SettingsFactory] JDBC batch updates for versioned data: disabled 04:39:20,416 INFO [SettingsFactory] Scrollable result sets: enabled 04:39:20,416 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled 04:39:20,416 INFO [SettingsFactory] Connection release mode: after_statement 04:39:20,416 INFO [SettingsFactory] Maximum outer join fetch depth: 2 04:39:20,416 INFO [SettingsFactory] Default batch fetch size: 1 04:39:20,416 INFO [SettingsFactory] Generate SQL with comments: disabled 04:39:20,416 INFO [SettingsFactory] Order SQL updates by primary key: disabled 04:39:20,416 INFO [SettingsFactory] Order SQL inserts for batching: disabled 04:39:20,416 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory 04:39:20,416 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory 04:39:20,416 INFO [SettingsFactory] Query language substitutions: {} 04:39:20,416 INFO [SettingsFactory] JPA-QL strict compliance: disabled 04:39:20,416 INFO [SettingsFactory] Second-level cache: enabled 04:39:20,416 INFO [SettingsFactory] Query cache: disabled 04:39:20,416 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider 04:39:20,416 INFO [SettingsFactory] Optimize cache for minimal puts: disabled 04:39:20,416 INFO [SettingsFactory] Structured second-level cache entries: disabled 04:39:20,431 INFO [SettingsFactory] Statistics: disabled 04:39:20,431 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled 04:39:20,431 INFO [SettingsFactory] Default entity-mode: pojo 04:39:20,431 INFO [SettingsFactory] Named query checking : enabled 04:39:20,463 INFO [SessionFactoryImpl] building session factory 04:39:20,790 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured 04:39:20,790 INFO [NamingHelper] JNDI InitialContext properties:{} 04:39:20,790 INFO [Hibernate] SessionFactory successfully built and bound into JNDI [java:/hibernate/HibernateSessionFactory] 04:39:20,821 INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/ 04:39:21,024 INFO [TomcatDeployer] deploy, ctxPath=/biplatformwar, warUrl=file:/C:/xxx/apps/biplatform/biplatformear.ear/biplatformwar.war/ 04:39:21,072 WARN [config] Unable to process deployment descriptor for context '/biplatformwar' 04:39:22,090 ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- Packages waiting for a deployer --- org.jboss.deployment.DeploymentInfo at a59454b { url=file:/C:/xxx/apps/biplatform/biplatformear.ear/META-INF/application.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/xxx/apps/biplatform/biplatformear.ear/META-INF/application.xml altDD: null lastDeployed: 1256891962074 lastModified: 1256891962074 mbeans: org.jboss.deployment.DeploymentInfo at ae166666 { url=file:/C:/xxx/apps/biplatform/biplatformear.ear/META-INF/jboss-app.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/xxx/apps/biplatform/biplatformear.ear/META-INF/jboss-app.xml altDD: null lastDeployed: 1256891962074 lastModified: 1256891962074 mbeans: --- Incompletely deployed packages --- org.jboss.deployment.DeploymentInfo at a59454b { url=file:/C:/xxx/apps/biplatform/biplatformear.ear/META-INF/application.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/xxx/apps/biplatform/biplatformear.ear/META-INF/application.xml altDD: null lastDeployed: 1256891962074 lastModified: 1256891962074 mbeans: org.jboss.deployment.DeploymentInfo at ae166666 { url=file:/C:/xxx/apps/biplatform/biplatformear.ear/META-INF/jboss-app.xml } deployer: null status: null state: INIT_WAITING_DEPLOYER watch: file:/C:/xxx/apps/biplatform/biplatformear.ear/META-INF/jboss-app.xml altDD: null lastDeployed: 1256891962074 lastModified: 1256891962074 mbeans: 04:39:22,215 INFO [Http11Protocol] Starting Coyote HTTP/1.1 on http-127.0.0.1-8080 04:39:22,246 INFO [AjpProtocol] Starting Coyote AJP/1.3 on ajp-127.0.0.1-8009 04:39:22,246 INFO [Server] JBoss (MX MicroKernel) [4.2.3.GA (build: SVNTag=JBoss_4_2_3_GA date=200807181417)] Started in 15s:206ms View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263108#4263108 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263108 From do-not-reply at jboss.com Fri Oct 30 04:53:13 2009 From: do-not-reply at jboss.com (psc00) Date: Fri, 30 Oct 2009 04:53:13 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: context-root not working? Message-ID: <23377264.1256892793058.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> the application.xml and jboss-app.xml were pasted incorrectly, these are the correct contents: | | | | biplatformwar.war | myapp | | | | | | | | xxxtesthar.har | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263110#4263110 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263110 From do-not-reply at jboss.com Fri Oct 30 05:46:52 2009 From: do-not-reply at jboss.com (Sunay) Date: Fri, 30 Oct 2009 05:46:52 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: New Bie :: Queue Message-ID: <12912099.1256896012481.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> sorry i have posted it back to richfaces forum View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263123#4263123 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263123 From do-not-reply at jboss.com Fri Oct 30 05:56:51 2009 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 30 Oct 2009 05:56:51 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: context-root not working? Message-ID: <14324243.1256896611951.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> C:/xxx/apps/biplatform/ Are you deploying this app outside the JBoss directory structure? If yes, please post the configuration you have used to do this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263131#4263131 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263131 From do-not-reply at jboss.com Fri Oct 30 06:22:09 2009 From: do-not-reply at jboss.com (sebjau) Date: Fri, 30 Oct 2009 06:22:09 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - AOP, pointcut on jboss portal - portlet identity Message-ID: <1326520.1256898129209.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I would know if it is possible (and how) use aop for make a poincut around a method execution in jboss portal. I would intercept the modification of the profil in identity portlet (when a user change and submit his profil), in order case to modif minimum of code in this module. I had test the UserProfileChangeEvent but it's fire on every property of the profile and i would execute some code after the submit of the profil form (method editProfile on the class org.jboss.portal.core.identity.ui.actions.EditProfileAction or perhaps in the method updateProfile of the class org.jboss.portal.core.identity.ui.common.IdentityUserBean wich is call by the precedent method) ? Thank a lot, Sebastien View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263134#4263134 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263134 From do-not-reply at jboss.com Fri Oct 30 06:23:33 2009 From: do-not-reply at jboss.com (sebjau) Date: Fri, 30 Oct 2009 06:23:33 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: AOP, pointcut on jboss portal - portlet identity Message-ID: <25292774.1256898213983.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> My version is Jboss portal 2.7.1 bundle Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263135#4263135 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263135 From do-not-reply at jboss.com Fri Oct 30 06:25:34 2009 From: do-not-reply at jboss.com (sebjau) Date: Fri, 30 Oct 2009 06:25:34 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - question about role refresh for user connected Message-ID: <10603328.1256898334027.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, i've a question about role. I've modified the identity porlet which has a new tab for personnalized profile datas wich is only accessible with a personnalized role. But when i apply this role for a user wich is connected, the modification of the user roles (with request.isUserInRole("xxx") in identity porlet is only made when the user logout and login. It is normal ? or it's an error in my code ? How change this (perhaps the user and role are cached ) ? Thanks and sorry for my poor english... Environment : Jboss portal 2.7.1 bundle View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263136#4263136 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263136 From do-not-reply at jboss.com Fri Oct 30 06:34:58 2009 From: do-not-reply at jboss.com (ad-rocha) Date: Fri, 30 Oct 2009 06:34:58 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - slf4j configurarion Message-ID: <7208329.1256898898752.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, Now that slf4j is used in Hibernate and placed in JBoss commons lib, how do I configure slf4j/logback properly in my application? I've tried to pack the libs and logback.xml in my EAR, but nothing happens. The application uses JBoss slf4j configuration. Any ideas? Thanks in advance, Andre View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263138#4263138 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263138 From do-not-reply at jboss.com Fri Oct 30 07:37:52 2009 From: do-not-reply at jboss.com (pawel.doctor) Date: Fri, 30 Oct 2009 07:37:52 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Service from ejb2 to ejb3 Message-ID: <31787863.1256902672255.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, I'm trying to "upgrade" JBoss service to ejb3. But I have a problem with node "attribute" from jboss-service.xml. MBean node looks like this: | ....some dependencies here.... | 3013 | "class" and "name" has correct values. Previously someValue was set by JBoss using getter from service "class". The question is where to put this "someValue" in ejb3? Is there any annotation which allows to set service attribute? Also, is there any place where all JBoss annotations are described? Thanks in advance for help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263149#4263149 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263149 From do-not-reply at jboss.com Fri Oct 30 07:41:40 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Fri, 30 Oct 2009 07:41:40 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Authentication succeeded, getCallerPrincipal()=anonymous Message-ID: <26199366.1256902900429.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, thanks for the detailed answers to ALL my questions ;-). That's good forum style! I hope my questions are not too silly, but I know only JBoss security a bit, but not RAP etc. So the RAP AJAX part is running in the same JBoss as the web pages and the EJBs? Are the AJAX servlets secured the same way as your web pages (included in the "web-resource-collection" of the "security-constraint" in web.xml)? I hope that the AJAX call contains the session id so that the server uses the same session? Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263151#4263151 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263151 From do-not-reply at jboss.com Fri Oct 30 07:46:20 2009 From: do-not-reply at jboss.com (adam.laczynski) Date: Fri, 30 Oct 2009 07:46:20 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: JBoss cache / WebLogic: problem with suspend/resume tran Message-ID: <6312319.1256903180869.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "bstansberry at jboss.com" wrote : JBoss Cache doesn't suspend/resume the transaction; it's Hibernate's integration with JBC that does this. If JBC sees an active transaction it will hold a lock on data in the cache until that tx commits. There are times when it's incorrect for those locks to be held for that long, so Hibernate suspends the tx before calling into JBC. Suspend/resume is invoked from org.jboss.cache.interceptors.InvocationContextInterceptor#handleAll while optionOverride.isFailSilently() returns true. It comes from org.jboss.cache.invocation.CacheInvocationDelegate#putForExternalRead. Maybe you meant that suspent/resume is invoked by Hibernate which invoked JBC methods with appropriate parameters. As regards your suggestions: 1) I don't use query cache 2) Problem occures in read only transaction 3) Any evict on org.hibernate.SesssionFactory and org.hibernate.cache.CacheConcurrencyStrategy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263152#4263152 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263152 From do-not-reply at jboss.com Fri Oct 30 07:55:02 2009 From: do-not-reply at jboss.com (Wolfgang Knauf) Date: Fri, 30 Oct 2009 07:55:02 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: ManyToMany problem Message-ID: <10023142.1256903702495.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, basically, you don't need a generated ID for the mapping table because the pair "role_id/function_id" is already a valid primary key. If you need a id column anyway, you have to build a mapping entity with a generated ID property and two @OneToMany relationship fields to Role and Function. So your code for mapping a function to a role could be: | RoleToFunction role2FunctionNew = new RoleToFunction(); | role2FunctionNew.setFunction(...); | role2FunctionNew.setRole(...); | | role.getFunctionmappings().add (role2FunctionNew); | Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263154#4263154 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263154 From do-not-reply at jboss.com Fri Oct 30 08:01:05 2009 From: do-not-reply at jboss.com (jaikiran) Date: Fri, 30 Oct 2009 08:01:05 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Service from ejb2 to ejb3 Message-ID: <24511564.1256904065643.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Maybe use for the @Service? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263157#4263157 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263157 From do-not-reply at jboss.com Fri Oct 30 08:02:57 2009 From: do-not-reply at jboss.com (j2ee4cxw) Date: Fri, 30 Oct 2009 08:02:57 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM Graphical Process Designer 3.2 GA is incompatible w Message-ID: <26456887.1256904177436.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks for your reply. Where you can get The jPDL Suite as a zip, Sourceforge does not give the option of downloading the zip after 3.2.GA View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263158#4263158 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263158 From do-not-reply at jboss.com Fri Oct 30 08:04:40 2009 From: do-not-reply at jboss.com (scarton) Date: Fri, 30 Oct 2009 08:04:40 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: JBoss 5, Java 6, and DocumentBuilderFactory ClassCastExc Message-ID: <3660878.1256904280526.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi hwa, I tried this solution but didn't work for me, could you tell me exactly where I need to change in pom.xml? It'll be very helpfull if you show me your code. I get these exceptions when I try to access the index page. | 10:03:00,407 WARN [ClassLoaderManager] Unexpected error during load of:org.w3c.dom.Document | java.lang.OutOfMemoryError | at java.util.zip.Inflater.init(Native Method) | at java.util.zip.Inflater.(Unknown Source) | at java.util.zip.ZipFile.getInflater(Unknown Source) | at java.util.zip.ZipFile.getInputStream(Unknown Source) | at java.util.zip.ZipFile.getInputStream(Unknown Source) | at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.openStream(ZipFileWrapper.java:214) | at org.jboss.virtual.plugins.context.zip.ZipEntryContext.openStream(ZipEntryContext.java:1082) | at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.openStream(ZipEntryHandler.java:153) | at org.jboss.virtual.VirtualFile.openStream(VirtualFile.java:230) | at org.jboss.classloading.spi.vfs.policy.VFSClassLoaderPolicy.getResourceAsStream(VFSClassLoaderPolicy.java:483) | at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:534) | at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:532) | at java.security.AccessController.doPrivileged(Native Method) | at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:530) | at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:507) | at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134) | at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131) | at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452) | at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:251) | at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:150) | at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:265) | at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1119) | at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:798) | at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441) | at java.lang.ClassLoader.loadClass(Unknown Source) | at java.lang.ClassLoader.loadClassInternal(Unknown Source) | at org.ajax4jsf.context.ResponseWriterContentHandler.(ResponseWriterContentHandler.java:49) | at org.ajax4jsf.context.ViewResources$HeadResponseWriter.(ViewResources.java:259) | at org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:444) | at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:193) | at org.openfaces.ajax.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:62) | at org.openfaces.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:412) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) | at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) | at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at com.goPoints.web.Filter.SecurityFilter.doFilter(SecurityFilter.java:46) | 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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310) | at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:316) | at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:244) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Unknown Source) | 10:03:00,547 ERROR [BaseXMLFilter] Exception in the filter chain | javax.servlet.ServletException: Servlet execution threw an exception | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:313) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) | at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) | at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at com.goPoints.web.Filter.SecurityFilter.doFilter(SecurityFilter.java:46) | 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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638) | at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:444) | at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:382) | at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:310) | at org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:316) | at org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:244) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Unknown Source) | Caused by: java.lang.NoClassDefFoundError: org/w3c/dom/Document | at org.ajax4jsf.context.ResponseWriterContentHandler.(ResponseWriterContentHandler.java:49) | at org.ajax4jsf.context.ViewResources$HeadResponseWriter.(ViewResources.java:259) | at org.ajax4jsf.context.ViewResources.processHeadResources(ViewResources.java:444) | at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:193) | at org.openfaces.ajax.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:62) | at org.openfaces.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:412) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | ... 29 more | Caused by: java.lang.ClassNotFoundException: Unexpected error during load of: org.w3c.dom.Document, msg=null | at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:165) | at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:265) | at org.jboss.classloader.spi.base.BaseClassLoaderDomain.loadClass(BaseClassLoaderDomain.java:1119) | at org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:798) | at org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:441) | at java.lang.ClassLoader.loadClass(Unknown Source) | at java.lang.ClassLoader.loadClassInternal(Unknown Source) | ... 40 more | Caused by: java.lang.OutOfMemoryError | at java.util.zip.Inflater.init(Native Method) | at java.util.zip.Inflater.(Unknown Source) | at java.util.zip.ZipFile.getInflater(Unknown Source) | at java.util.zip.ZipFile.getInputStream(Unknown Source) | at java.util.zip.ZipFile.getInputStream(Unknown Source) | at org.jboss.virtual.plugins.context.zip.ZipFileWrapper.openStream(ZipFileWrapper.java:214) | at org.jboss.virtual.plugins.context.zip.ZipEntryContext.openStream(ZipEntryContext.java:1082) | at org.jboss.virtual.plugins.context.zip.ZipEntryHandler.openStream(ZipEntryHandler.java:153) | at org.jboss.virtual.VirtualFile.openStream(VirtualFile.java:230) | at org.jboss.classloading.spi.vfs.policy.VFSClassLoaderPolicy.getResourceAsStream(VFSClassLoaderPolicy.java:483) | at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:534) | at org.jboss.classloader.spi.base.BaseClassLoader$2.run(BaseClassLoader.java:532) | at java.security.AccessController.doPrivileged(Native Method) | at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:530) | at org.jboss.classloader.spi.base.BaseClassLoader.loadClassLocally(BaseClassLoader.java:507) | at org.jboss.classloader.spi.base.BaseDelegateLoader.loadClass(BaseDelegateLoader.java:134) | at org.jboss.classloader.spi.filter.FilteredDelegateLoader.loadClass(FilteredDelegateLoader.java:131) | at org.jboss.classloader.spi.base.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:452) | at org.jboss.classloader.spi.base.ClassLoaderManager.nextTask(ClassLoaderManager.java:251) | at org.jboss.classloader.spi.base.ClassLoaderManager.process(ClassLoaderManager.java:150) | ... 46 more Can you help me? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263160#4263160 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263160 From do-not-reply at jboss.com Fri Oct 30 08:06:14 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 30 Oct 2009 08:06:14 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM Graphical Process Designer 3.2 GA is incompatible w Message-ID: <6304702.1256904374837.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The GPD should be bundled with the runtime download. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263161#4263161 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263161 From do-not-reply at jboss.com Fri Oct 30 08:09:21 2009 From: do-not-reply at jboss.com (magicduncan) Date: Fri, 30 Oct 2009 08:09:21 -0400 (EDT) Subject: [jboss-user] [JCA] - Fungal RADeployer not handling empty ra.xml property values Message-ID: <26360753.1256904561413.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi guys, I was just having a play with the 1.0.0-ALPHA release of the JCA container. Im particularly interested in running an embedded container inside a Java application, so was having a go at getting this up and running. All went well, until I tried to deploy (for example) a jms-rar.rar that I had plundered from a jboss 4 app server. After resolving all the missing jars, it eventually failed when the fungal RADeployer was calling the Injection.inject method for each of the config-properties in the resource adapter's ra.xml. As it turned out, this ra.xml had empty values for such fileds as UserName, Password, ClientID. Fungal's Injection.inject method really didnt like the empty values coming through, tho I would have thought these were entirely valid for ra.xml? Hacking the ra.xml to provide some non empty values got me past the issue, but clearly this is not ideal. Is this a bug? Otherwise this project looks really cool. Will definitley be investigating it further. Cheers, Ross View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263162#4263162 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263162 From do-not-reply at jboss.com Fri Oct 30 08:22:12 2009 From: do-not-reply at jboss.com (chtimi2) Date: Fri, 30 Oct 2009 08:22:12 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - CacheLoader saves but rollbacks Message-ID: <26991822.1256905332308.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I'm testing cache persistence with Core3.2 and Pojo3.0. I use a JdbcCacheLoader, which hits HSQLDB. The test starts the cache, attaches the "table" component, and modifies its state within a JTA transaction. --> As soon as the attached componenent is modified HSQLDB is written to (lines appear in jbosscache.log), which is fine; then the process terminates. --> In the HSQLDB .log file i can see inserts and stuff that involves the FQN of my component. At the end of the script though there is a rollback, so my data is never saved (the JBOSSCACHE table is empty) I added a cache loader interceptor, and i can see node events, but no TransactionRegisteredEvent. Maybe that is related? My cache config: I'm testing cache persistence with Core3.2 and Pojo3.0. I use a JdbcCacheLoader, which hits HSQLDB. | | The test starts the cache, attaches the "table" component, and modifies its state within a JTA transaction. | --> As soon as the attached componenent is modified HSQLDB is written to (lines appear in jbosscache.log), which is fine; then the process terminates. | --> In the HSQLDB .log file i can see inserts and stuff that involves the FQN of my component. At the end of the script though there is a rollback, so my data is never saved | | I added a cache loader interceptor, and i can see node events, but no TransactionRegisteredEvent. Maybe that is related? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263166#4263166 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263166 From do-not-reply at jboss.com Fri Oct 30 08:35:15 2009 From: do-not-reply at jboss.com (chtimi2) Date: Fri, 30 Oct 2009 08:35:15 -0400 (EDT) Subject: [jboss-user] [JBoss Cache Users] - Re: Is this a lazy loading issue? (not CacheLoader) Message-ID: <32663018.1256906115006.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In case someone has the same issue, i no longer have this problem. I think it has been resolved when i started using the new (for JBC3) format of replSync-service instead of using JBC3 with a replSync-service "a la JBC 2" (mbeans) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263168#4263168 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263168 From do-not-reply at jboss.com Fri Oct 30 08:45:58 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 30 Oct 2009 08:45:58 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JBPM Graphical Process Designer 3.2 GA is incompatible w Message-ID: <7090162.1256906758116.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> In that last 3.2.x releases an installer was used. In four this kind of changed back. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263169#4263169 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263169 From do-not-reply at jboss.com Fri Oct 30 09:00:47 2009 From: do-not-reply at jboss.com (zour) Date: Fri, 30 Oct 2009 09:00:47 -0400 (EDT) Subject: [jboss-user] [Security] - Re: Authentication succeeded, getCallerPrincipal()=anonymous Message-ID: <26484133.1256907647809.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> RAP is running in the same JBoss and the access is restricted through: | | myapplication | /test/* | | | * | | The RAP part work's fine. It seems I've found a solution to my problem: http://msikora.typepad.com/michael_sikora_on_java_ee/2009/03/converting-to-jboss500ga-ejb3-security.html I need to test this on a server so I can access from different client computers. For now, the authentication works. The SessionContext.getCallerPrincipal().getUsername() returns what I put in. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263172#4263172 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263172 From do-not-reply at jboss.com Fri Oct 30 09:09:39 2009 From: do-not-reply at jboss.com (joelmatt) Date: Fri, 30 Oct 2009 09:09:39 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: NullPointerException in JobExecutorMessageSession.send w Message-ID: <17976873.1256908179458.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ${task.name} | | | | | | ${task.name} | | | | | | | | | | | | | | | | | | | | | | | | The above configuration worked. I was missing tag in and I have upgraded to jbpm 4.1 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263174#4263174 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263174 From do-not-reply at jboss.com Fri Oct 30 09:11:49 2009 From: do-not-reply at jboss.com (joelmatt) Date: Fri, 30 Oct 2009 09:11:49 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: NullPointerException in JobExecutorMessageSession.send w Message-ID: <13025405.1256908309197.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> was missing in . View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263175#4263175 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263175 From do-not-reply at jboss.com Fri Oct 30 09:24:49 2009 From: do-not-reply at jboss.com (pawel.doctor) Date: Fri, 30 Oct 2009 09:24:49 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Service from ejb2 to ejb3 Message-ID: <8013941.1256909089367.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> But where to use , in jboss-service? If so, then can I use annotation and jboss-service.xml at the same time? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263180#4263180 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263180 From do-not-reply at jboss.com Fri Oct 30 10:24:30 2009 From: do-not-reply at jboss.com (psc00) Date: Fri, 30 Oct 2009 10:24:30 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: context-root not working? Message-ID: <4555510.1256912670393.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> This is the configuration in jboss-service.xml: | | deploy/,file:/C:/xxx/apps/biplatform/biplatformear.ear/ | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263186#4263186 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263186 From do-not-reply at jboss.com Fri Oct 30 10:38:13 2009 From: do-not-reply at jboss.com (Brian13) Date: Fri, 30 Oct 2009 10:38:13 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Using FacesTrace from within Jboss Portal Message-ID: <2073784.1256913493741.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks -- Besides, are there any other good debugging/Trace tools that work well with JBoss Portal/Portlets composed of RichFaces components ? -- Brian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263187#4263187 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263187 From do-not-reply at jboss.com Fri Oct 30 10:44:17 2009 From: do-not-reply at jboss.com (bwestrich) Date: Fri, 30 Oct 2009 10:44:17 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List Message-ID: <16766545.1256913857982.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> awesome! Thanks for the heads up on this upcoming improvement. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263188#4263188 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263188 From do-not-reply at jboss.com Fri Oct 30 11:18:41 2009 From: do-not-reply at jboss.com (jesper.pedersen) Date: Fri, 30 Oct 2009 11:18:41 -0400 (EDT) Subject: [jboss-user] [JCA] - Re: Fungal RADeployer not handling empty ra.xml property val Message-ID: <6959197.1256915921946.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thank you for the report ! It was actually JBJCA-204, JBJCA-205 and JBJCA-206 that made the deployment fail. These issues are now fixed. Something for our deployment verifier once we get started on that task (JBJCA-201). I will invite you to get involved in the embedded scenario. Currently the setup allows to do unit testing easy, but the whole area needs more work: * Distribution Can we do a split of JAR files - one for the application classloader; and the rest for a classloader in the application where the container is embedded * Documentation Provide complete documentation on how to setup the embedded environment including a full code example with build scripts. * Use-cases What are the real-world use-cases for the embedded distribution, can we do something to make it easier to integrate So feel free to speak up on these matters - or even contribute patches :) Hope to see you in the JCA Developer forum ! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263193#4263193 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263193 From do-not-reply at jboss.com Fri Oct 30 11:19:42 2009 From: do-not-reply at jboss.com (fagnermoura) Date: Fri, 30 Oct 2009 11:19:42 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Server was unable to process request. ---> Object reference Message-ID: <23138297.1256915982831.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> im using jboss 4.2.3 with Native stack for jbossws. calling the web service, im receiving this exception: javax.xml.ws.soap.SOAPFaultException: Server was unable to process request. ---> Object reference not set to an instance of an object. ############## Method being called ############## @WebMethod(operationName = "InsertOrder", action = "http://tempuri.org/InsertOrder") @WebResult(name = "InsertOrderResult", targetNamespace = "http://tempuri.org/") @RequestWrapper(localName = "InsertOrder", targetNamespace = "http://tempuri.org/", className = "org.tempuri.InsertOrder") @ResponseWrapper(localName = "InsertOrderResponse", targetNamespace = "http://tempuri.org/", className = "org.tempuri.InsertOrderResponse") public RETPEDIDO insertOrder(@WebParam(name = "_pedido", targetNamespace = "http://tempuri.org/") PedidoItens pedido); Other services works fine, but this method that return complexType not. I just try with soap 1.1 and soap 1.2, but dont work. Through my swing client, i can to call it. (i include the client dir, from jboss, in the classpath) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263194#4263194 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263194 From do-not-reply at jboss.com Fri Oct 30 11:37:10 2009 From: do-not-reply at jboss.com (clerum) Date: Fri, 30 Oct 2009 11:37:10 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Richfaces Tooling Property/Value Pairs Message-ID: <22504469.1256917030905.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Guys I've been seeing an issue for the last couple 3.1(M2,M3,M4) where when you are editing a .xhtml file and you are focused on a richfaces tag (say rich:spacer) the properties window in eclipse always shows the same property/value pairs for all rich tags. Other librarys seem fine like the seam or jsf they show different values depending on the type of tag your in but all rich tags show the same options rich:spacer shows ajaxSingle for example right now I'm running eclipse Galalio and Tools 3.1M4 but I saw the same issue on M3 and also M2 I beleive richfaces 3.3.2.SR1 in a seam 2.2.0GA project I seee in the richfaces-ui.jar there is a rich.tld which defines the tag for rich:spacer for example and ajaxSingle isn't an option View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263197#4263197 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263197 From do-not-reply at jboss.com Fri Oct 30 11:37:29 2009 From: do-not-reply at jboss.com (gohiljigar15) Date: Fri, 30 Oct 2009 11:37:29 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Urgent.....EJB3/Hibernate.... Message-ID: <8235161.1256917049873.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanx Wolfgang... Obviosly...bad things can happen, if anyone mix Hibernate and a JPA provider of another vendor.... :) Today...I successfully...implemented and ran my first EJB3 Application with Struts 2 framework... & JBOSS 4.2.3GA as AS :) Although I developed it with very basic features of EJB3,struts2...it has raised few more questions in my mind... 1) Dependency Injection didn't work in struts Action...why...? 2) U said....The Application will require the JPA Provider bundled with application server... I didn't configure any Persistence provider in my Persistence.xml file...still the application worked...how..? Regards... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263198#4263198 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263198 From do-not-reply at jboss.com Fri Oct 30 11:42:47 2009 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 30 Oct 2009 11:42:47 -0400 (EDT) Subject: [jboss-user] [JBoss Messaging Users] - Re: when I publish large message , but show error Message-ID: <14452600.1256917367878.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> anonymous wrote : I publish large messageanonymous wrote : | | How big? 1KB? 1MB? 1GB? 1TB? 1PB? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263199#4263199 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263199 From do-not-reply at jboss.com Fri Oct 30 11:45:25 2009 From: do-not-reply at jboss.com (newmanw10) Date: Fri, 30 Oct 2009 11:45:25 -0400 (EDT) Subject: [jboss-user] =?utf-8?q?=5BJBoss_Web_Services_Users=5D_-_custom_fa?= =?utf-8?b?dWx0IG1hcHBpbmcgd2l0aCBqYXgtcnBjw6LCgMKP?= Message-ID: <24975826.1256917525417.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry posted this in the CXF forum, this is probably a better place. Not sure how to remove the CXF post on this subject. I am currently working on an old legacy system that is using jax-rpc. I would like to add in some custom faults such that I can inform clients better. I.E. I can throw custom exceptions/faults such that the user can catch them to determine the best course of action. However using JBoss I have not been able to get this to work. The main problem is that in the SOAP message that comes back there is no tag. This tag is how the exception would get deserialized on the client, so without that tag the client will have no idea what exception/fault was thrown. Has anyone every gotten a custom fault to work with JBoss? My guess is no as I have not been able to find out anything on this problem. I am running 4.2.3.GA and out of the box is has jbossws-native-3.0.1, I also installed jbossws-native-3.1.1.GA to see if it fixed the problem but I was still out of luck. Please help I am all out of ideas! Below are some code snippets to show what I am talking about. If you need more please let me know. I took a simple example jax-rpc HelloWord service from the java tutorial section and added a fault to the wsdl. Here is a snippet: | | | | | | | | I generated the jax-rpc classes: Here is the fault/exception generated: | public class SayHelloException extends java.lang.Exception { | private java.lang.String message; | | | public SayHelloException(java.lang.String message) { | super(message); | this.message = message; | } | | public java.lang.String getMessage() { | return message; | } | } | Here is the endpoint interface: | public interface HelloIF extends java.rmi.Remote { | public java.lang.String sayHello(boolean string_1) throws | samples.webservices.jaxrpc.simple.SayHelloException, java.rmi.RemoteException; | } | I also creating the jax-rpc mapping file and deployed with the war in the web-inf directory as well as my webservices.xml and web.xml. At this point I am not sure why jboss is not creating the tag in the SOAP message that gets sent back to the server. Here is how I throw the custom exception on the server: | throw new SayHelloException("Throwing custom exception/fault from WS"); | Here is my client: | try { | Stub stub = (Stub) port; | stub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY, "http://localhost:8080/hello/simple"); | String result = port.sayHello(true); | System.out.println(result); | } catch (SayHelloException ex) { | System.out.println("PASS! caught a custom exception"); | } catch (RemoteException ex) { | } catch (Exception ex) { | System.out.println("FAIL! caught a Exception"); | } | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263201#4263201 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263201 From do-not-reply at jboss.com Fri Oct 30 11:55:01 2009 From: do-not-reply at jboss.com (PeterJ) Date: Fri, 30 Oct 2009 11:55:01 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: context-root not working? Message-ID: <2007845.1256918101794.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Try changing it to: | deploy/,file:/C:/xxx/apps/biplatform/biplatformear.ear | Notice that I removed the trailing '/'. With the trailing '/', JBoss AS assumes that you are specifying a directory that must be scanned for apps to deploy. Without it, JBoss AS assumes that the path is to the app itself. Oh wait, I think that without the trailing slash, the path must reference an archive file, not a directory. So try this instead: | deploy/,file:/C:/xxx/apps/biplatform/ | Now it will scan the C:/xxx/apps/biplatform/ directory and deploy the biplatformear.ear app. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263202#4263202 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263202 From do-not-reply at jboss.com Fri Oct 30 12:07:40 2009 From: do-not-reply at jboss.com (steven7846) Date: Fri, 30 Oct 2009 12:07:40 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - How to diplay a portlet in a popup? Message-ID: <7949479.1256918860098.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi I have a portlet wich contains a dataTable, for each row i want to open a popup portlet. Can someone explain to me in details what should i do? I saw this post http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4056163, but there isn't anwer. For now i added a layout: | itcorePopup | /theme/itcore-popup-layout.jsp | /theme/itcore-popup-layout.jsp?maximized=true | | | | i added a page: | | | popup | | PopupAlarmPortletWindow | PopupAlarmPortletInstance | left | 0 | | | | Obviously i added declaration for the portlet and portlet instance. Honestly, i don't know if i am on the right way. So now how can i call the page "popup" declared in my default portal. Do i have to do a window.open()? how can i get the URL? Need help thx View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263206#4263206 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263206 From do-not-reply at jboss.com Fri Oct 30 12:09:30 2009 From: do-not-reply at jboss.com (kliu@tieroneoss.com) Date: Fri, 30 Oct 2009 12:09:30 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - EJB3.0 MDB example Message-ID: <20266194.1256918970902.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello all, I'm trying to understand the Message driven bean example here: http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/Message_Driven_Beans.html I have the example working correctly but I do not understand why I need the file queue-example-service.xml. The tutorial states " The queue-example-service.xml file defines the queues for this tutorial". Why aren't these queued defined when you define the Message Driven Bean? Is there a way to use annotations to define the queues instead of using this xml file? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263207#4263207 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263207 From do-not-reply at jboss.com Fri Oct 30 13:14:01 2009 From: do-not-reply at jboss.com (warren_big) Date: Fri, 30 Oct 2009 13:14:01 -0400 (EDT) Subject: [jboss-user] [Tomcat Integration] - Intermittent mime type loss Message-ID: <24521556.1256922841118.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, The app has an instance of Apache (2.2.13) load-balancing a 2-instance cluster of JBoss EAP 4.3.0.GA_CP06 running a web application. Apache and JBoss are connected via mod_proxy_ajp. Intermittently, the web server will return an html page with a mime type of text/plain, causing it to display as source (in Firefox; IE seems immune). Also, and I believe these are related to the first problem: intermittently, the web server will fail to redirect the browser, resulting in a blank page, and sometimes images will fail to display (these are not browser-specific). Any ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263216#4263216 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263216 From do-not-reply at jboss.com Fri Oct 30 13:30:30 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 30 Oct 2009 13:30:30 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List Message-ID: <21053126.1256923830233.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I am facing a similiar problem but I can't identify the cause. I am trying to deploy a process definition and the exception is thrown. The prior exception identified is | deploy.seminar: | [jbpm-deploy] java.util.zip.ZipException: error in opening zip file | [jbpm-deploy] at java.util.zip.ZipFile.open(Native Method) | [jbpm-deploy] at java.util.zip.ZipFile.(ZipFile.java:114) | [jbpm-deploy] at java.util.zip.ZipFile.(ZipFile.java:131) | [jbpm-deploy] at org.apache.tools.ant.AntClassLoader.getResourceURL(AntClassLoa | der.java:1028) | [jbpm-deploy] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration.findNe | xtResource(AntClassLoader.java:147) | [jbpm-deploy] at org.apache.tools.ant.AntClassLoader$ResourceEnumeration. | (AntClassLoader.java:109) | [jbpm-deploy] at org.apache.tools.ant.AntClassLoader.findResources(AntClassLoad | er.java:975) | [jbpm-deploy] at java.lang.ClassLoader.getResources(ClassLoader.java:1016) | [jbpm-deploy] at org.apache.commons.logging.LogFactory$4.run(LogFactory.java:13 | 17) | [jbpm-deploy] at java.security.AccessController.doPrivileged(Native Method) | [jbpm-deploy] at org.apache.commons.logging.LogFactory.getResources(LogFactory. | java:1336) | [jbpm-deploy] at org.apache.commons.logging.LogFactory.getConfigurationFile(Log | Factory.java:1398) | | .. much longer | So what's wrong with ant or my *.jar or *.bar file?? I am not understading the problem since the classpath should be fine with the *.jar created correctly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263219#4263219 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263219 From do-not-reply at jboss.com Fri Oct 30 13:31:55 2009 From: do-not-reply at jboss.com (dgolovin) Date: Fri, 30 Oct 2009 13:31:55 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Richfaces Tooling Property/Value Pairs Message-ID: <30828033.1256923915235.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Clerum, ajaxSingle can be used in any component to tell "JSF to advance directly to the component that was activated, process events from that component, and re-encode it as if it were the only component on the page". there are several attributes like this: reRender status for targetId panelId dragIndicator process similarityGroupingId reRenderAfterComplete attachTo disableDefault ignoreDupResponses limitToList bypassUpdates ajaxSingle limitToList View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263221#4263221 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263221 From do-not-reply at jboss.com Fri Oct 30 13:34:06 2009 From: do-not-reply at jboss.com (clerum) Date: Fri, 30 Oct 2009 13:34:06 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Richfaces Tooling Property/Value Pairs Message-ID: <12340003.1256924046303.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> OK- A better example would be to focus on a switchType should be an option on there and it is missing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263223#4263223 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263223 From do-not-reply at jboss.com Fri Oct 30 13:40:05 2009 From: do-not-reply at jboss.com (kukeltje) Date: Fri, 30 Oct 2009 13:40:05 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List Message-ID: <12503446.1256924405359.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> could be that the zip is being copied there and opened before it is finished copying View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263224#4263224 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263224 From do-not-reply at jboss.com Fri Oct 30 13:56:32 2009 From: do-not-reply at jboss.com (psc00) Date: Fri, 30 Oct 2009 13:56:32 -0400 (EDT) Subject: [jboss-user] [Installation, Configuration & Deployment] - Re: context-root not working? Message-ID: <29017000.1256925392541.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Thanks, it worked perfectly with deploy/,file:/C:/xxx/apps/biplatform/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263228#4263228 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263228 From do-not-reply at jboss.com Fri Oct 30 13:59:34 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 30 Oct 2009 13:59:34 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List Message-ID: <19784600.1256925574903.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> https://jira.jboss.org/jira/browse/JBPM-2281 It's basically the same problem as stated in the new comment here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263229#4263229 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263229 From do-not-reply at jboss.com Fri Oct 30 14:31:55 2009 From: do-not-reply at jboss.com (amjad277) Date: Fri, 30 Oct 2009 14:31:55 -0400 (EDT) Subject: [jboss-user] [EJB] - Beans not bound after one week Message-ID: <10376781.1256927515005.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I use jboss 4.0.5 GA which installed on Virtual machine and Oracle Database which installed on another Virtual machine. I deployed ear file which has all beans (EJB3) in the jboss server, all the beans are bounded and every things work fine. But after 2 weeks, and suddenly, the following exception shown and nothing work more: "Exception: Bean not bound". I tried to restart jboss but the problem remains! The only solution to get every thing work, as before: Restarting the vertual machines (Oracle VM and Jboss VM) then Jboss. Please help!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263234#4263234 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263234 From do-not-reply at jboss.com Fri Oct 30 14:33:06 2009 From: do-not-reply at jboss.com (amjad277) Date: Fri, 30 Oct 2009 14:33:06 -0400 (EDT) Subject: [jboss-user] [EJB] - Re: Beans not bound after one two weeks Message-ID: <15629765.1256927586950.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "amjad277" wrote : I use jboss 4.0.5 GA which installed on Virtual machine and Oracle Database which installed on another Virtual machine. | I deployed ear file which has all beans (EJB3) in the jboss server, all the beans are bounded and every things work fine. | But after 2 weeks, and suddenly, the following exception shown and nothing work more: "Exception: Bean not bound". I tried to restart jboss but the problem remains! | The only solution to get every thing work, as before: | Restarting the vertual machines (Oracle VM and Jboss VM) then Jboss. | | Please help!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263235#4263235 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263235 From do-not-reply at jboss.com Fri Oct 30 14:33:38 2009 From: do-not-reply at jboss.com (amjad277) Date: Fri, 30 Oct 2009 14:33:38 -0400 (EDT) Subject: [jboss-user] [EJB] - Re: Beans not bound after one two weeks Message-ID: <3625073.1256927618242.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "amjad277" wrote : I use jboss 4.0.5 GA which installed on Virtual machine and Oracle Database which installed on another Virtual machine. | I deployed ear file which has all beans (EJB3) in the jboss server, all the beans are bounded and every things work fine. | But after 2 weeks, and suddenly, the following exception shown and nothing work more: "Exception: Bean not bound". I tried to restart jboss but the problem remains! | The only solution to get every thing work, as before: | Restarting the vertual machines (Oracle VM and Jboss VM) then Jboss. | | Please help! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263236#4263236 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263236 From do-not-reply at jboss.com Fri Oct 30 14:34:52 2009 From: do-not-reply at jboss.com (dgolovin) Date: Fri, 30 Oct 2009 14:34:52 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Richfaces Tooling Property/Value Pairs Message-ID: <7598303.1256927692818.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> works for me. If you already have switchType in tag it is filtered from content assist proposals. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263237#4263237 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263237 From do-not-reply at jboss.com Fri Oct 30 14:39:18 2009 From: do-not-reply at jboss.com (amjad277) Date: Fri, 30 Oct 2009 14:39:18 -0400 (EDT) Subject: [jboss-user] [EJB] - Re: Beans not bound after one two weeks Message-ID: <25756387.1256927958661.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry I wrote the text 3 Times!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263240#4263240 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263240 From do-not-reply at jboss.com Fri Oct 30 15:10:22 2009 From: do-not-reply at jboss.com (clerum) Date: Fri, 30 Oct 2009 15:10:22 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Richfaces Tooling Property/Value Pairs Message-ID: <26745403.1256929822151.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What versions are you running? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263246#4263246 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263246 From do-not-reply at jboss.com Fri Oct 30 15:25:18 2009 From: do-not-reply at jboss.com (sschmidt) Date: Fri, 30 Oct 2009 15:25:18 -0400 (EDT) Subject: [jboss-user] [Security] - Re: SSO on JBOSS with Kerberos Message-ID: <31715263.1256930718633.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Glad you asked - I'm sure the module works but the documentation has been lacking in the troubleshooting. I have been unable to get through the 'Secured' portion of the toolkit. The log shows the user has been authenticated but I get a 403 response or a blank page depending on the browser. I'm still trying but its a bit frustrating. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263248#4263248 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263248 From do-not-reply at jboss.com Fri Oct 30 15:37:10 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Fri, 30 Oct 2009 15:37:10 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List Message-ID: <21111949.1256931430076.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have created a unit test and I am facing the same problem when trying to deploy so it's not the ant task's fault. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263251#4263251 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263251 From do-not-reply at jboss.com Fri Oct 30 15:41:41 2009 From: do-not-reply at jboss.com (dgolovin) Date: Fri, 30 Oct 2009 15:41:41 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Richfaces Tooling Property/Value Pairs Message-ID: <19487037.1256931701341.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> last one from JBoss Tools Development Milestone Update Site - http://downloads.jboss.org/jbosstools/updates/development[/url] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263253#4263253 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263253 From do-not-reply at jboss.com Fri Oct 30 16:07:13 2009 From: do-not-reply at jboss.com (akazakov) Date: Fri, 30 Oct 2009 16:07:13 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Richfaces Tooling Property/Value Pairs Message-ID: <32494529.1256933233365.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> This issue could exist in JBT before M3. But in M3 we have refactored Code Assist and now it uses TLD and Facelets libs from classpath. See http://www.jboss.org/community/wiki/NewKBplug-inandCodeAssistinJBossTools310M3 And it works for me too. See http://screencast.com/t/eJIXIAR5 Are you sure you installed M4 correctly? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263256#4263256 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263256 From do-not-reply at jboss.com Fri Oct 30 16:47:53 2009 From: do-not-reply at jboss.com (traviskds) Date: Fri, 30 Oct 2009 16:47:53 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Why no forum for Resteasy Message-ID: <18354752.1256935673670.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, Resteasy does not still have a forum of its own which is quite surprising since it has already released its first GA version. Is Redhat/JBoss looking at using another implemention of the JAX-RS spec instead of Resteasy or will Resteasy form the core of the Resful services stack of JBoss. (which was BTW my understanding) If so, why no forum and even the http://www.jboss.org/resteasy/ wiki is thin on information. Cheers Travis View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263259#4263259 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263259 From do-not-reply at jboss.com Fri Oct 30 17:22:43 2009 From: do-not-reply at jboss.com (clerum) Date: Fri, 30 Oct 2009 17:22:43 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Richfaces Tooling Property/Value Pairs Message-ID: <24544023.1256937763012.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> OK I blew away my eclipse and reinstalled and now it seems to be working. I do however see something new if I do something like #{organization.} clerum: it suggests all the vars on that component but if I hit "a" to narrow it down say I'm looking for "active" it just dispalys <> a and <> abbr before it would just show my components that started with "a" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263260#4263260 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263260 From do-not-reply at jboss.com Fri Oct 30 17:57:38 2009 From: do-not-reply at jboss.com (akazakov) Date: Fri, 30 Oct 2009 17:57:38 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Richfaces Tooling Property/Value Pairs Message-ID: <4876987.1256939858855.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Looks like a bug. Please report this to JIRA. Thank you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263263#4263263 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263263 From do-not-reply at jboss.com Fri Oct 30 18:02:38 2009 From: do-not-reply at jboss.com (clerum) Date: Fri, 30 Oct 2009 18:02:38 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: Richfaces Tooling Property/Value Pairs Message-ID: <485662.1256940158473.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> https://jira.jboss.org/jira/browse/JBIDE-5125 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263265#4263265 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263265 From do-not-reply at jboss.com Fri Oct 30 20:19:13 2009 From: do-not-reply at jboss.com (ipolevoy) Date: Fri, 30 Oct 2009 20:19:13 -0400 (EDT) Subject: [jboss-user] [Javassist Users] - Javassist can't seem to instrument static method Message-ID: <19525732.1256948353965.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I stumbled upon a Javassist problem, when it fails to add code with insertBefore(). If someone can help, I would really appreciate this. | package test; | public class TheAddress extends TheModel { | static{ | foo("The address!!!"); | } | } | | package test; | public class TheModel { | public static void foo(String param){ | System.out.println("Inside foo, param: " + param); | } | } | package test; | import javassist.*; | public class JavassistTest { | | public static void main(String[] args) throws Exception { | | ClassPool pool = ClassPool.getDefault(); | CtClass clazz = pool.get("test.TheAddress"); | CtMethod foo = getMethod("foo", clazz); | | foo.insertBefore("{ System.out.println(\"inserted before foo!\");}"); | | clazz.writeFile(); | clazz.toClass().newInstance(); | } | | static CtMethod getMethod(String name, CtClass target){ | for (CtMethod method : target.getMethods()) { | if (name.equals(method.getName())) return method; | } | return null; | } | } cheers! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263278#4263278 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263278 From do-not-reply at jboss.com Fri Oct 30 21:04:17 2009 From: do-not-reply at jboss.com (jkonieczny) Date: Fri, 30 Oct 2009 21:04:17 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Clustered Session Beans with additional HTTP Remote Proxies Message-ID: <10774296.1256951057366.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Bumped into the following issue, not sure if I'm doing something silly, or if I've wandered into an interesting pothole... We have a number of stateless session beans that we're using two remote proxies for, one RMI and one HTTPS. They deploy initially just fine and work as expected. When we attempt to redeploy them, the redeploy fails on a NameAlreadyBoundException on the HTTPS bind point. Narrowed it to a simplified test case and the problem seems to be the combination of clustering and the HTTP or HTTPS remoting proxy. Test case is a single EJB with no meaningful logic (echo method that round-trips a String) packaged in a jar packaged in an ear. Server is 5.1.0.GA The jboss.xml for the jar is: | | | | | TestBean | | TestBean/remote | | | TestBean/remotehttps | | https://${public.firewall.address}/servlet-invoker/SSLServerInvokerServlet | | | true | | | | Granted clustering doesn't add anything to the HTTP remoting (fail-over and load balancing are performed upstream), but we do need it for the RMI proxies. Remove the clustered annotation and you can deploy/undeploy/redeploy till the cows come home. Ditto with leaving the clustered but taking out the https binding. Is there a way to have the clustering only apply to certain remote bindings, or alternatively to have the same bean listed multiple times in the jboss.xml file (other than to transparently subclass the bean implementing the same interfaces)? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263280#4263280 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263280 From do-not-reply at jboss.com Fri Oct 30 21:10:48 2009 From: do-not-reply at jboss.com (kkoster) Date: Fri, 30 Oct 2009 21:10:48 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: lookupLocaly failing Message-ID: <15996345.1256951448597.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I have copied all to a different name and am running that. I don't like to touch the baseline configurations so I have something to compare to if something goes wrong. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263281#4263281 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263281 From do-not-reply at jboss.com Fri Oct 30 21:14:04 2009 From: do-not-reply at jboss.com (kkoster) Date: Fri, 30 Oct 2009 21:14:04 -0400 (EDT) Subject: [jboss-user] [JNDI and Naming] - Re: lookupLocaly failing Message-ID: <19451283.1256951644769.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The entire stack trace of the exception thrown is the next to last code posting and starts with | 2009-10-27 19:11:51,787 TRACE [org.jboss.ha.jndi.HAJNDI] (RMI TCP Connection(3)-192.168.11.3) lookup | Locally failed, name=ProxyFactory/risk-server/UserContextManagementBean/kdr/remote/UserContextManage | ment/KDR | javax.naming.NameNotFoundException: ProxyFactory not bound | I have additional TRACE level logging coming from the server but is larger than 1MB by the the JNDI lookup fails. I can send it, but I believe it will be too large to post. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263282#4263282 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263282 From do-not-reply at jboss.com Sat Oct 31 03:04:51 2009 From: do-not-reply at jboss.com (pepelara) Date: Sat, 31 Oct 2009 03:04:51 -0400 (EDT) Subject: [jboss-user] [EJB 3.0 Users] - Re: Simple hibernate web app Message-ID: <28724534.1256972691628.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello Wolfgang, It is a wrong design of the project. I import a folder where there are some hibernate jars and the hibernate.cfg.xml file. The hibernatedaoaccess.jar file already imports that folder. But it does not exist in the jar. I mean the folder exists in the configuration of every project but when you jar those projects the folder does not include into them. That is the reason Jboss does not find the hibernate.cfg.xml file. I am better going to talk to the expert who wrote the tutorial for the right configuration of both hibernate and the projects I fell in it today, while writing this email. Thanks a lot, Jose View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263291#4263291 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263291 From do-not-reply at jboss.com Sat Oct 31 03:36:19 2009 From: do-not-reply at jboss.com (polliard) Date: Sat, 31 Oct 2009 03:36:19 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Please give this back to Hibernate or focus on the hibernate Message-ID: <26541786.1256974579105.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> The hibernate tools used to be difficult to get installed pre JBOSS but when you did get them installed. It worked. Now a days I have to rely on ant scripts to do all the work since the tools almost NEVER work. JBOSS please spend a little more time if your going to own the hibernate tools and eclipse plugin making sure that it works or else give the ownership back to hibernate. Case In Point: Using Eclipse - Galileo (base J2EE Install) Milestone Build of the tools when creating a hbm.xml file (Unhandled event loop exception Java.lan.StackOverflowError) Nightly Build of the tools when creating a hbm.xml file (Unhandled event loop exception Java.lan.StackOverflowError) Sorry if this seems rude, I'm just tired of having to rely on Ant to do what your toolset is supposed to do for me. Before some Fan Boys comment back. Yes I have worked with Ganymede and the tools are just as broken after a base installation there using the "STABLE" tools. Thomas View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263293#4263293 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263293 From samk at twinix.com Wed Oct 28 03:39:42 2009 From: samk at twinix.com (samk at twinix.com) Date: Wed, 28 Oct 2009 02:39:42 -0500 (CDT) Subject: [jboss-user] Problem with the installer for JBPM beta2 - java.lang.Abstra Message-ID: <10836179.01256715583568.JavaMail.SYSTEM@larkin> See Thread at: http://www.techienuggets.com/Detail?tx=87016 Posted on behalf of a User May be appropriate Ant version need, according to jbpm userguide that is 1.7+. I've faced with the same problem with ant <1.7. In Response To: Hi All, I am running c:\jbpm-4.0.0.Beta2\jboss>ant demo.setup and it is failing with the following error BUILD FAILED C:\jbpm-4.0.0.Beta2\jboss\build.xml:54: The following err or occurred while executing this line: java.lang.AbstractMethodError: org.apache.xerces.dom.ElementNSImpl.setUserData(L java/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Obje ct; Total time: 2 minutes 3 seconds I am using java version "1.5.0_07". Any suggestions. I have downloaded jboss-5.0.0.GA.zip and eclipse-jee-ganymede-SR2-win32.zip into the downloads directory - C:\jbpm-4.0.0.Beta2\downloads thanks Neal From do-not-reply at jboss.com Sat Oct 31 05:12:48 2009 From: do-not-reply at jboss.com (prudvi.vk) Date: Sat, 31 Oct 2009 05:12:48 -0400 (EDT) Subject: [jboss-user] [Clustering] - when main node down no other nodes serving the requests Message-ID: <22041850.1256980368203.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi I have created 4 nodes to form a cluster using jboss 5.1GA in the same machine and it works fine . But gives me error "Service Temporarily Unavailable" when main node is down. I've used mod_jk as load balancer. Any help would be appreciated . Thanks in advance.. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263295#4263295 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263295 From do-not-reply at jboss.com Sat Oct 31 05:43:53 2009 From: do-not-reply at jboss.com (sebastian.s) Date: Sat, 31 Oct 2009 05:43:53 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: JpdlProcessDefinition cannot be cast to java.util.List Message-ID: <20188846.1256982233515.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> I managed to get rid of the problem. There was a classpath / buildpath problem and a wrong spelled package name when referencing a class in the process definition. I'm glad about the change to a more meaningful error message because I basically had 2 different problems but this wasn't clear to me so I searched at wrong place. Deployment using the unit tests now works. On Monday I will have to see if it also works with ant deployment task. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263296#4263296 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263296 From do-not-reply at jboss.com Sat Oct 31 08:59:48 2009 From: do-not-reply at jboss.com (Juergen.Zimmermann) Date: Sat, 31 Oct 2009 08:59:48 -0400 (EDT) Subject: [jboss-user] [JBoss Tools Users] - Re: JBoss Tools 3.1.0.M4 is available Message-ID: <25432784.1256993988505.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> What will happen to issues that are targeted at 3.1.0.M4, but are unresolved. See https://jira.jboss.com/jira/secure/IssueNavigator.jspa?reset=true&pid=10020&fixfor=12313491 . E.g. "XML catalog not complete for JBossAS 5.1" https://jira.jboss.org/jira/browse/JBIDE-5030 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263302#4263302 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263302 From do-not-reply at jboss.com Sat Oct 31 12:21:40 2009 From: do-not-reply at jboss.com (larani) Date: Sat, 31 Oct 2009 12:21:40 -0400 (EDT) Subject: [jboss-user] [JBoss Web Services Users] - Re: JBossWS 3.2.0.GA released Message-ID: <7898886.1257006100141.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi, how can i build right samples in jbossws-native-bin-dist (jbossws-native-3.2.0.GA.zip). i have built already ant. but it hasn't installed samples, they were not shown in jmx console. are samples in other zip? or what ant target i must run? thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263313#4263313 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263313 From do-not-reply at jboss.com Sat Oct 31 12:31:05 2009 From: do-not-reply at jboss.com (Fuchs) Date: Sat, 31 Oct 2009 12:31:05 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Writing a log4j email service Message-ID: <23979086.1257006665485.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hello, i am using the jboss-portal-2.7.2 bundle and i like to know, how i could write an email service, to be informed, if the server throws any ERRORs. what i know is that i have to edit the jboss-log4j.xml: | | | | | | | | | | | | | | | | | | | do i have to edit the jboss-service.xml in the jboss-portal.sar also? have i something missed? Thanks for helping! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263314#4263314 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263314 From do-not-reply at jboss.com Sat Oct 31 13:22:50 2009 From: do-not-reply at jboss.com (PeterJ) Date: Sat, 31 Oct 2009 13:22:50 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Writing a log4j email service Message-ID: <10475761.1257009770178.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Defining an SMTPAppender should be all that you need. But you must ensure that the SMTP info you provide leads to an SMTP server. Is there one running on your system (your config has 'localhost' as the SMTPHost)? When I tried this a while back I used the SMTP host provided by by ISP and that worked. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263317#4263317 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263317 From do-not-reply at jboss.com Sat Oct 31 15:25:47 2009 From: do-not-reply at jboss.com (swenu) Date: Sat, 31 Oct 2009 15:25:47 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: ManyToMany problem Message-ID: <24837330.1257017147268.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Hi Wolfgang Thanks for your input. I need the generated id to reference to this pair (role - function). I tried to do it as it is described here: http://en.wikibooks.org/wiki/Java_Persistence/ManyToMany#Additional_columns_in_join_table. for the moment it doesn't work. I'll keep going on this way. Perhaps i will return a few hours later again with more questions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263319#4263319 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263319 From do-not-reply at jboss.com Sat Oct 31 16:54:48 2009 From: do-not-reply at jboss.com (swenu) Date: Sat, 31 Oct 2009 16:54:48 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: ManyToMany problem Message-ID: <20286511.1257022488996.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> Sorry :) I just stuck here and have no idea what the problem is. Hope someone got input for me! Here my classes: package ch.emtm.entity; | | import java.io.Serializable; | import java.util.List; | | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import javax.persistence.Id; | import javax.persistence.JoinColumn; | import javax.persistence.OneToMany; | import javax.persistence.OneToOne; | import javax.persistence.Version; | | import org.hibernate.validator.Length; | import org.hibernate.validator.NotNull; | import org.jboss.seam.annotations.Name; | | @Entity | @Name("role") | public class Role implements Serializable | { | /** | * | */ | private static final long serialVersionUID = 1L; | | @Id | @GeneratedValue | private Long id; | @Version | private Integer version; | @Length(max=64) | @NotNull | private String name; | @OneToMany(mappedBy="role") | private List functions; | @NotNull | @OneToOne | @JoinColumn(name = "status") | private RecordStatus recordStatus = new RecordStatus(); | | /** | * @return the id | */ | public Long getId() { | return id; | } | /** | * @param id the id to set | */ | public void setId(Long id) { | this.id = id; | } | /** | * @return the version | */ | public Integer getVersion() { | return version; | } | /** | * @param version the version to set | */ | public void setVersion(Integer version) { | this.version = version; | } | /** | * @return the name | */ | public String getName() { | return name; | } | /** | * @param name the name to set | */ | public void setName(String name) { | this.name = name; | } | /** | * @return the functions | */ | public List getFunctions() { | return functions; | } | /** | * @param functions the functions to set | */ | public void setFunctions(List functions) { | this.functions = functions; | } | /** | * @return the recordStatus | */ | public RecordStatus getRecordStatus() { | return recordStatus; | } | /** | * @param recordStatus the recordStatus to set | */ | public void setRecordStatus(RecordStatus recordStatus) { | this.recordStatus = recordStatus; | } | | } | package ch.emtm.entity; | | import java.io.Serializable; | import java.util.ArrayList; | import java.util.List; | | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import javax.persistence.Id; | import javax.persistence.JoinColumn; | import javax.persistence.OneToMany; | import javax.persistence.OneToOne; | import javax.persistence.Version; | | import org.hibernate.validator.Length; | import org.hibernate.validator.NotNull; | import org.jboss.seam.annotations.Name; | | @Entity | @Name("function") | public class Function implements Serializable | { | /** | * | */ | private static final long serialVersionUID = 1L; | | @Id | @GeneratedValue | private Long id; | @Version | private Integer version; | @Length(max = 64) | @NotNull | private String name; | @OneToMany(mappedBy="function") | private List roles = new ArrayList(); | @NotNull | @OneToOne | @JoinColumn(name = "status") | private RecordStatus recordStatus = new RecordStatus(); | | public Long getId() { | return id; | } | | public void setId(Long id) { | this.id = id; | } | | public Integer getVersion() { | return version; | } | | @SuppressWarnings("unused") | private void setVersion(Integer version) { | this.version = version; | } | | public String getName() { | return name; | } | | public void setName(String name) { | this.name = name; | } | | /** | * @return the roles | */ | public List getRoles() { | return roles; | } | | /** | * @param roles the roles to set | */ | public void setRoles(List roles) { | this.roles = roles; | } | | /** | * @return the recordStatus | */ | public RecordStatus getRecordStatus() { | return recordStatus; | } | | /** | * @param recordStatus the recordStatus to set | */ | public void setRecordStatus(RecordStatus recordStatus) { | this.recordStatus = recordStatus; | } | | } | package ch.emtm.entity; | | import java.io.Serializable; | | import javax.persistence.Entity; | import javax.persistence.GeneratedValue; | import javax.persistence.Id; | import javax.persistence.ManyToOne; | import javax.persistence.PrimaryKeyJoinColumn; | | import org.jboss.seam.annotations.Name; | | @Entity | @Name("rolefunction") | public class RoleFunction implements Serializable | { | /** | * | */ | private static final long serialVersionUID = 1L; | | @Id | @GeneratedValue | private Long id; | @ManyToOne() | @PrimaryKeyJoinColumn(name = "function", referencedColumnName = "id") | private Function function = new Function(); | @ManyToOne() | @PrimaryKeyJoinColumn(name = "role", referencedColumnName = "id") | private Role role = new Role(); | // @OneToMany(mappedBy="roleFunction") | // private List qualifications = new ArrayList(); | | /** | * @return the id | */ | public Long getId() { | return id; | } | /** | * @param id the id to set | */ | public void setId(Long id) { | this.id = id; | } | /** | * @return the roleId | */ | public Role getRole() { | return role; | } | /** | * @param roleId the roleId to set | */ | public void setRole(Role role) { | this.role = role; | } | /** | * @return the functionId | */ | public Function getFunction() { | return function; | } | /** | * @param functionId the functionId to set | */ | public void setFunction(Function function) { | this.function = function; | } | // /** | // * @return the qualifications | // */ | // public List getQualifications() { | // return qualifications; | // } | // /** | // * @param qualifications the qualifications to set | // */ | // public void setQualifications(List qualifications) { | // this.qualifications = qualifications; | // } | | } | So i get an error: | 21:20:01,733 SEVERE [application] java.lang.NullPointerException | javax.faces.el.EvaluationException: java.lang.NullPointerException | at javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:102) | at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102) | at javax.faces.component.UICommand.broadcast(UICommand.java:387) | at org.ajax4jsf.component.AjaxViewRoot.processEvents(AjaxViewRoot.java:321) | at org.ajax4jsf.component.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:296) | at org.ajax4jsf.component.AjaxViewRoot.processPhase(AjaxViewRoot.java:253) | at org.ajax4jsf.component.AjaxViewRoot.processApplication(AjaxViewRoot.java:466) | at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:82) | at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:510) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | 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.IdentityFilter.doFilter(IdentityFilter.java:40) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:90) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) | at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) | at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:368) | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:495) | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:56) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.HotDeployFilter.doFilter(HotDeployFilter.java:53) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) | 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:235) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126) | at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:619) | Caused by: java.lang.NullPointerException | at ch.emtm.session.RoleHome.update(RoleHome.java:62) | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263321#4263321 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263321 From do-not-reply at jboss.com Sat Oct 31 17:46:28 2009 From: do-not-reply at jboss.com (Fuchs) Date: Sat, 31 Oct 2009 17:46:28 -0400 (EDT) Subject: [jboss-user] [JBoss Portal Users] - Re: Writing a log4j email service Message-ID: <4480497.1257025588808.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> thanks for your fast response. but still it doesnt work. whats about the "from" field? Must this address: nobody at myhost.domain.com be a valid address ? do i have to define a category, like : | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263322#4263322 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263322 From do-not-reply at jboss.com Sat Oct 31 17:49:57 2009 From: do-not-reply at jboss.com (kassec) Date: Sat, 31 Oct 2009 17:49:57 -0400 (EDT) Subject: [jboss-user] [jBPM Users] - Re: how to differentiate different ends ? Message-ID: <1119496.1257025797066.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> "jbarrez" wrote : Imo, this should be accessible through the API. You mean, up to now, nobody needs to retrieve the end activity of processes ? I just spent two hours trying to find out how one could do this "cleanly". I was not willing to think that direct query to DB was the best answer! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263323#4263323 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263323 From do-not-reply at jboss.com Sat Oct 31 18:38:58 2009 From: do-not-reply at jboss.com (swenu) Date: Sat, 31 Oct 2009 18:38:58 -0400 (EDT) Subject: [jboss-user] [Beginner's Corner] - Re: ManyToMany problem Message-ID: <16977524.1257028738059.JavaMail.jboss@nukes01.app.mwc.hst.phx2.redhat.com> one step closer :D i got the problem - at least i think i'm close to! on roleList.xhtml i got: | | Function | | | | and when i save i receive the following error: 23:33:05,776 SEVERE [application] java.lang.ClassCastException: ch.emtm.entity.Function cannot be cast to ch.emtm.entity.RoleFunction i understood the problem, but for the moment i have no idea how to solve. i think your code posted above with the new rolefunction() will solve - but i couldn't get. Do you have a hint for me ;) Thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4263326#4263326 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4263326